Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
upload-pack: generalize commit date cutoff
[gitweb.git]
/
prio-queue.c
diff --git
a/prio-queue.c
b/prio-queue.c
index 126d09672738533b6ecc6b94b7405dff888bbaf6..a07845187233e429e00138cce7ade42e97a40d4b 100644
(file)
--- a/
prio-queue.c
+++ b/
prio-queue.c
@@
-20,7
+20,7
@@
void prio_queue_reverse(struct prio_queue *queue)
int i, j;
if (queue->compare != NULL)
-
die("BUG:
prio_queue_reverse() on non-LIFO queue");
+
BUG("
prio_queue_reverse() on non-LIFO queue");
for (i = 0; i < (j = (queue->nr - 1) - i); i++)
swap(queue, i, j);
}