summaryrefslogtreecommitdiffhomepage
path: root/ir/adt
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-13 10:15:27 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-13 17:32:04 +0100
commitd582c836a6c27c978d3336d466e9426e6b887f49 (patch)
tree7fa69b856d1e1166f38e878acfa1cb0cedd0d27e /ir/adt
parentc2da6631426f44c023d3a0ee0cdbf4083aa94a84 (diff)
debug: Clean up panic messages.
* No \n at end; panic() adds one * No punctuation mark at end * Lowercase first letter
Diffstat (limited to 'ir/adt')
-rw-r--r--ir/adt/hungarian.c2
-rw-r--r--ir/adt/pqueue.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ir/adt/hungarian.c b/ir/adt/hungarian.c
index dce7af5..884233c 100644
--- a/ir/adt/hungarian.c
+++ b/ir/adt/hungarian.c
@@ -125,7 +125,7 @@ void hungarian_prepare_cost_matrix(hungarian_problem_t *p,
} else if (mode == HUNGARIAN_MODE_MINIMIZE_COST) {
/* nothing to do */
} else {
- panic("Unknown hungarian problem mode");
+ panic("unknown hungarian problem mode");
}
}
diff --git a/ir/adt/pqueue.c b/ir/adt/pqueue.c
index 185f3fd..a4ca024 100644
--- a/ir/adt/pqueue.c
+++ b/ir/adt/pqueue.c
@@ -115,7 +115,7 @@ void *pqueue_pop_front(pqueue_t *q)
{
switch (ARR_LEN(q->elems)) {
case 0:
- panic("Attempt to retrieve element from empty priority queue.");
+ panic("attempt to retrieve element from empty priority queue");
case 1:
ARR_SHRINKLEN(q->elems, 0);
return q->elems[0].data;