From: Victor Julien Date: Thu, 3 Oct 2013 07:48:32 +0000 (+0200) Subject: Coverity 1100842: add missing return statement X-Git-Tag: suricata-2.0beta2~243 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57abba2e64dabfacec76ec4c8f0ba4a1cba26758;p=thirdparty%2Fsuricata.git Coverity 1100842: add missing return statement --- diff --git a/src/respond-reject-libnet11.c b/src/respond-reject-libnet11.c index 914c1b494b..b27b74e9d9 100644 --- a/src/respond-reject-libnet11.c +++ b/src/respond-reject-libnet11.c @@ -499,6 +499,7 @@ int RejectSendLibnet11L3IPv6ICMP(ThreadVars *tv, Packet *p, void *data, int dir) SCLogError(SC_ERR_LIBNET_NOT_ENABLED, "Libnet ICMPv6 based rejects are disabled." "Usually this means that you don't have a patched libnet installed," " or configure couldn't find it."); + return 0; } #endif /* HAVE_LIBNET_ICMPV6_UNREACH */