]> git.ipfire.org Git - people/ms/suricata.git/commit
cleaning: fix warning when building with clang.
authorEric Leblond <eric@regit.org>
Tue, 12 Jun 2012 05:47:03 +0000 (07:47 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 29 Jun 2012 11:10:02 +0000 (13:10 +0200)
commit0227a87fcb9e0b4746d3b53f6bce7519c5fe4353
tree4d4348cfcd7ae9985bbcba0eef30a18772eb887f
parent6efd37a388d73eadcdf48c65c6e553c61abc8ec5
cleaning: fix warning when building with clang.

clang was issuing some warnings related to unused return in function.
This patch adds some needed error treatment and ignore the rest of the
warnings by adding a cast to void.
23 files changed:
src/counters.c
src/detect-engine-tag.c
src/detect-tag.c
src/flow-hash.c
src/flow-manager.c
src/flow-util.c
src/flow-util.h
src/flow.c
src/host.c
src/log-filestore.c
src/runmode-af-packet.c
src/runmode-pcap.c
src/runmode-pfring.c
src/source-af-packet.c
src/source-pcap.c
src/source-pfring.c
src/stream-tcp-reassemble.c
src/stream-tcp.c
src/suricata.c
src/tm-threads.c
src/tmqh-flow.c
src/util-profiling.c
src/util-ringbuffer.c