summaryrefslogtreecommitdiffstats
path: root/tools/pmrfc3164.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-04-23 17:31:26 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-04-23 17:31:26 +0200
commit9ec02e670a5fec3d42d567ec593f618dfc9cacb8 (patch)
tree5f804dc30342b60b240d0d3a23e02c0c8670573b /tools/pmrfc3164.c
parentf949f5c037d0b22fd650ab002f195ae58b1d0989 (diff)
downloadrsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.zip
rsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.tar.gz
rsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.tar.xz
cleanup: removed unused but set parameters
Diffstat (limited to 'tools/pmrfc3164.c')
-rw-r--r--tools/pmrfc3164.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/pmrfc3164.c b/tools/pmrfc3164.c
index 6d2d22b..2657780 100644
--- a/tools/pmrfc3164.c
+++ b/tools/pmrfc3164.c
@@ -75,7 +75,6 @@ ENDisCompatibleWithFeature
BEGINparse
uchar *p2parse;
int lenMsg;
- int bTAGCharDetected;
int i; /* general index for parsing */
uchar bufParseTAG[CONF_TAG_MAXSIZE];
uchar bufParseHOSTNAME[CONF_HOSTNAME_MAXSIZE];
@@ -137,7 +136,6 @@ CODESTARTparse
* rgerhards, 2009-06-23: and I now have extended this logic to every character
* that is not a valid hostname.
*/
- bTAGCharDetected = 0;
if(lenMsg > 0 && pMsg->msgFlags & PARSE_HOSTNAME) {
i = 0;
while(i < lenMsg && (isalnum(p2parse[i]) || p2parse[i] == '.' || p2parse[i] == '.'