summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-10-23 10:48:30 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-10-23 10:48:30 +0200
commitb0bdf3b54c5af73af450b35b1a9473ab1ee9a4a4 (patch)
treeeb5cf976bde66b736d8bab726281296ee18f247a
parent4bb18901fa222dc686886e7736e9935cfa1a4672 (diff)
downloadouroboros-b0bdf3b54c5af73af450b35b1a9473ab1ee9a4a4.tar.gz
ouroboros-b0bdf3b54c5af73af450b35b1a9473ab1ee9a4a4.zip
ipcpd: Fix unused variable
-rw-r--r--src/ipcpd/local/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c
index c9ad0ae6..f6fe4ec1 100644
--- a/src/ipcpd/local/main.c
+++ b/src/ipcpd/local/main.c
@@ -147,7 +147,10 @@ void ipcp_sig_handler(int sig, siginfo_t * info, void * c)
static int ipcp_local_bootstrap(struct dif_config * conf)
{
- assert (conf->type == THIS_TYPE);
+ assert(conf);
+ assert(conf->type == THIS_TYPE);
+
+ (void) conf;
pthread_rwlock_wrlock(&ipcpi.state_lock);