Snort mailing list archives

"no return statement in function returning non-void" warnings when building snort


From: Jim Garrison <jhg () jhmg net>
Date: Thu, 23 Oct 2014 13:56:10 -0700

I get lots of these warnings when building snort, mentioning the
following functions

    ScSetInternalLogLevel
    ScRestoreInternalLogLevel

As in

In file included from parser.h:38,
                 from tag.c:43:
snort.h: In function ‘ScSetInternalLogLevel’:
snort.h:1231: warning: no return statement in function returning non-void
snort.h: In function ‘ScRestoreInternalLogLevel’:
snort.h:1236: warning: no return statement in function returning non-void

Is this something to be worried about?

-- 
Jim Garrison (jhg () acm org)
PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88

------------------------------------------------------------------------------
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: