]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: fix assert warning
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 16 Feb 2016 18:50:15 +0000 (19:50 +0100)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 23 Sep 2016 16:12:16 +0000 (12:12 -0400)
commit6d24eb2b752354d91e518419f3f5ed421cf06f21
tree1f489f13025b88654c2e74810b6ea5aab1fb23ba
parent711ff0ba94d29f059dde90f3c24db307e0d92d4c
isisd: fix assert warning

icc (the Intel C Compiler) "knows" that assert() can be disabled by
setting specific optimisation flags, and therefore emits a warning about
missing a return value after an "always-error" assert.

Workaround by returning a value - this probably needs discussion and a
better fix (for all places where the code needs to abort due to internal
errors).

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
isisd/isis_redist.c