diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-04-23 17:31:26 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-04-23 17:31:26 +0200 |
commit | 9ec02e670a5fec3d42d567ec593f618dfc9cacb8 (patch) | |
tree | 5f804dc30342b60b240d0d3a23e02c0c8670573b /template.c | |
parent | f949f5c037d0b22fd650ab002f195ae58b1d0989 (diff) | |
download | rsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.tar.gz rsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.tar.xz rsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.zip |
cleanup: removed unused but set parameters
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -922,14 +922,13 @@ static int do_Parameter(unsigned char **pp, struct template *pTpl) static rsRetVal tplAddTplMod(struct template *pTpl, uchar** ppRestOfConfLine) { - uchar *pSrc, *pDst; + uchar *pSrc; uchar szMod[2048]; unsigned lenMod; strgen_t *pStrgen; DEFiRet; pSrc = *ppRestOfConfLine; - pDst = szMod; lenMod = 0; while(*pSrc && !isspace(*pSrc) && lenMod < sizeof(szMod) - 1) { szMod[lenMod] = *pSrc++; |