diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-23 10:48:30 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-23 10:48:30 +0200 |
commit | b0bdf3b54c5af73af450b35b1a9473ab1ee9a4a4 (patch) | |
tree | eb5cf976bde66b736d8bab726281296ee18f247a /src | |
parent | 4bb18901fa222dc686886e7736e9935cfa1a4672 (diff) | |
download | ouroboros-b0bdf3b54c5af73af450b35b1a9473ab1ee9a4a4.tar.gz ouroboros-b0bdf3b54c5af73af450b35b1a9473ab1ee9a4a4.zip |
ipcpd: Fix unused variable
Diffstat (limited to 'src')
-rw-r--r-- | src/ipcpd/local/main.c | 5 |
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); |