From 96895d9e471716f4a449589fefa9f80a0564755a Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 26 Apr 2010 11:43:14 +0200 Subject: bugfix(minor): status variable was uninitialized However, this would have caused harm only if NO parser modules at all were loaded, which would lead to a defunctional configuration at all. And, even more important, this is impossible as two parser modules are built-in and thus can not be "not loaded", so we always have a minimum of two. --- runtime/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/parser.c') diff --git a/runtime/parser.c b/runtime/parser.c index ca20a11e..cacbe065 100644 --- a/runtime/parser.c +++ b/runtime/parser.c @@ -448,7 +448,7 @@ ParsePRI(msg_t *pMsg) static rsRetVal ParseMsg(msg_t *pMsg) { - rsRetVal localRet; + rsRetVal localRet = RS_RET_ERR; parserList_t *pParserList; parser_t *pParser; bool bIsSanitized; -- cgit v1.2.3