commit | 8b3ab1f1c8172ff7c77b382b6636c8e8314d7ebc | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Tue Feb 16 19:50:15 2016 +0100 |
committer | Paul Jakma <paul@quagga.net> | Wed Jul 20 12:58:32 2016 +0100 |
tree | 853af8245024d9e72b94ccd25a77414a4460751b | |
parent | d869dbd03b4d75d512552d07ed8fbe0807272a9c [diff] |
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>