summaryrefslogtreecommitdiff
path: root/lib/workqueue.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-05-13 12:44:50 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-08 15:03:13 -0400
commitdc1b72dca39ffa190c9cbc853a5d899f57386f0a (patch)
treed035c6a43b0841369795e66f6488f96e15c40a65 /lib/workqueue.c
parent9b6710b406ff7ba6e6b6d356a678edb746066424 (diff)
lib: assert(0) still needs a return
assert(0) is not guaranteed to not return since assert() in general can be optimised out when building without debug / with optimisation. This breaks the build in clang, which warns/errors about the missing return. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit f1fc327c7eb00634d2c2b08c2a6f6e44a626ef04)
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions