diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-22 15:53:45 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-22 15:53:45 +0100 |
commit | ea892d6cf041bd253d543570c1aac0ed171d2207 (patch) | |
tree | e0862d346bcc0175619d789f84e104648b6557fd | |
parent | 148910c285161097b44cd5df165c3bd19e21ae33 (diff) | |
download | rsyslog-ea892d6cf041bd253d543570c1aac0ed171d2207.tar.gz rsyslog-ea892d6cf041bd253d543570c1aac0ed171d2207.tar.xz rsyslog-ea892d6cf041bd253d543570c1aac0ed171d2207.zip |
cleanup: removed no longer needed variable
Most importantly, this keeps the thread debugger output clean.
-rw-r--r-- | tcps_sess.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tcps_sess.c b/tcps_sess.c index 8d307380..dec14b5a 100644 --- a/tcps_sess.c +++ b/tcps_sess.c @@ -59,8 +59,6 @@ DEFobjCurrIf(datetime) static int iMaxLine; /* maximum size of a single message */ -static int iNbrTimeUsed = 0; /* how often has previous time been used so far? */ - /* forward definitions */ static rsRetVal Close(tcps_sess_t *pThis); @@ -475,7 +473,6 @@ DataRcvd(tcps_sess_t *pThis, char *pData, size_t iLen) /* We now copy the message to the session buffer. */ pEnd = pData + iLen; /* this is one off, which is intensional */ - iNbrTimeUsed = 0; /* full time query */ while(pData < pEnd) { CHKiRet(processDataRcvd(pThis, *pData++, &stTime, ttGenTime, &multiSub)); } |