summaryrefslogtreecommitdiff
path: root/lib/libalpm/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/list.c')
-rw-r--r--lib/libalpm/list.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libalpm/list.c b/lib/libalpm/list.c
index 61a87113..b6797073 100644
--- a/lib/libalpm/list.c
+++ b/lib/libalpm/list.c
@@ -23,7 +23,6 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
-#include <assert.h>
/* pacman */
#include "list.h"
#include "util.h"
@@ -307,8 +306,6 @@ pmlist_t *_alpm_list_last(pmlist_t *list)
return(NULL);
}
- assert(list->last != NULL);
-
return(list->last);
}