summaryrefslogtreecommitdiff
path: root/src/queue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue.cpp')
-rw-r--r--src/queue.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/queue.cpp b/src/queue.cpp
index d84efb1ba..50ce7d289 100644
--- a/src/queue.cpp
+++ b/src/queue.cpp
@@ -34,7 +34,6 @@ static bool InsSort_Push(Queue *q, void *item, int priority)
{
InsSortNode *newnode = MallocT<InsSortNode>(1);
- if (newnode == NULL) return false;
newnode->item = item;
newnode->priority = priority;
if (q->data.inssort.first == NULL ||