summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);