summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-23 09:25:09 +0000
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-23 09:25:09 +0000
commit282aab31ebdb831725fa8192b985a1e8b0e63403 (patch)
tree61a2a777ec5aec57541a05c2a4da71f801b683f0 /src/ipcpd
parent2a270c017e51f041997da666c1d9bea2ab189380 (diff)
parentd0d329cbde5ea67f1ab16481b4e93c873ed9b19c (diff)
downloadouroboros-282aab31ebdb831725fa8192b985a1e8b0e63403.tar.gz
ouroboros-282aab31ebdb831725fa8192b985a1e8b0e63403.zip
Merged in dstaesse/ouroboros/be-fix-build (pull request #271)
ipcpd: Fix unused variable
Diffstat (limited to 'src/ipcpd')
-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);