From 8bb9c3af350024d6c1784e51ba1011006adb97ba Mon Sep 17 00:00:00 2001 From: Last G Date: Thu, 13 Sep 2012 00:04:45 +0600 Subject: [PATCH] Added return value to non-void function with "forever"-loop to fit Eclipse static code analysis --- src/source-erf-file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/source-erf-file.c b/src/source-erf-file.c index eb4ae4b9de..8896414d83 100644 --- a/src/source-erf-file.c +++ b/src/source-erf-file.c @@ -148,6 +148,7 @@ TmEcode ReceiveErfFileLoop(ThreadVars *tv, void *data, void *slot) SCReturnInt(TM_ECODE_FAILED); } } + SCReturnInt(TM_ECODE_FAILED); } static inline TmEcode ReadErfRecord(ThreadVars *tv, Packet *p, void *data)