summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-21 18:11:17 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-09-21 18:11:17 +0200
commit20c88510ff304106a637326894e48c98eedd7498 (patch)
tree9500a8a332a6a8bbc43f158b58b1125bbcfbd291 /src/ipcpd/normal
parente2c95ad273d3afa46ee3c67fff3304f6eb21dab3 (diff)
downloadouroboros-20c88510ff304106a637326894e48c98eedd7498.tar.gz
ouroboros-20c88510ff304106a637326894e48c98eedd7498.zip
ipcpd: Mark len parameter as unused in simple_pff
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r--src/ipcpd/normal/pol/simple_pff.c4
1 files changed, 4 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;