summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-09-11 09:10:45 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-09-11 09:10:45 +0000
commitdee95717d729f136f8e6bb577927e2645bdf07dc (patch)
treef580c0691755794abb81647fc8e7e4620592806e /omfwd.c
parente79199816d67fe2e8a93aedf84dc0b8f7652521b (diff)
downloadrsyslog-dee95717d729f136f8e6bb577927e2645bdf07dc.tar.gz
rsyslog-dee95717d729f136f8e6bb577927e2645bdf07dc.tar.xz
rsyslog-dee95717d729f136f8e6bb577927e2645bdf07dc.zip
cleaned up compiler warnings
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/omfwd.c b/omfwd.c
index 3bfd9cc7..b7a7b025 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -569,6 +569,11 @@ static rsRetVal doTryResume(instanceData *pData)
iRet = RS_RET_SUSPENDED;
}
break;
+ case eDestFORW:
+ /* rgerhards, 2007-09-11: this can not happen, but I've included it to
+ * a) make the compiler happy, b) detect any logic errors */
+ assert(0);
+ break;
}
return iRet;