summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ipcpd/normal/pol/simple_pff.c4
-rw-r--r--src/lib/hashtable.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ipcpd/normal/pol/simple_pff.c b/src/ipcpd/normal/pol/simple_pff.c
index 7af4663c..bb2fb098 100644
--- a/src/ipcpd/normal/pol/simple_pff.c
+++ b/src/ipcpd/normal/pol/simple_pff.c
@@ -103,6 +103,8 @@ int simple_pff_add(struct pff_i * pff_i,
assert(pff_i);
assert(len > 0);
+ (void) len;
+
val = malloc(sizeof(*val));
if (val == NULL)
return -ENOMEM;
@@ -127,6 +129,8 @@ int simple_pff_update(struct pff_i * pff_i,
assert(pff_i);
assert(len > 0);
+ (void) len;
+
val = malloc(sizeof(*val));
if (val == NULL)
return -ENOMEM;
diff --git a/src/lib/hashtable.c b/src/lib/hashtable.c
index d0d46598..16de8bc9 100644
--- a/src/lib/hashtable.c
+++ b/src/lib/hashtable.c
@@ -26,6 +26,7 @@
#include <ouroboros/hash.h>
#include <assert.h>
+#include <string.h>
struct htable_entry {
struct list_head next;