summaryrefslogtreecommitdiffstats
path: root/template.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 /template.c
parentf949f5c037d0b22fd650ab002f195ae58b1d0989 (diff)
downloadrsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.zip
rsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.tar.gz
rsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.tar.xz
cleanup: removed unused but set parameters
Diffstat (limited to 'template.c')
-rw-r--r--template.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/template.c b/template.c
index c687845..252ed09 100644
--- a/template.c
+++ b/template.c
@@ -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++;