cfgparser: fix dereference before assert
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 12:38:22 +0000 (14:38 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 12:49:41 +0000 (14:49 +0200)
commitc69e1579ad75e8c39f5fe4abab36798849639186
treedcaadeb79af6f5de7f313b1da2c418c1487a0994
parentb859cecf7ceded380eeba38596e3268301e75b0f
cfgparser: fix dereference before assert

Coverity:
CID 739688 (#1 of 1): Dereference before null check (REVERSE_INULL)
Null-checking "in->cnf" suggests that it may be null, but it has already
been dereferenced on all paths leading to the check.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/cfgparser/olsrd_conf.c