summaryrefslogtreecommitdiff
path: root/poptparse.c
diff options
context:
space:
mode:
authorrse <rse>2007-06-14 08:04:38 +0000
committerrse <rse>2007-06-14 08:04:38 +0000
commit9cac3e62da0c27040d56a80273604f32ac41fe83 (patch)
treebbf6ec95747fe11d84bb37f8c061a3876e026ece /poptparse.c
parent261385af6e8a2c43d13de1489e4f4d905a186141 (diff)
downloadlibpopt-9cac3e62da0c27040d56a80273604f32ac41fe83.tar.gz
remove an unused line numbering variable
Diffstat (limited to 'poptparse.c')
-rw-r--r--poptparse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/poptparse.c b/poptparse.c
index f7190c4..98ad37c 100644
--- a/poptparse.c
+++ b/poptparse.c
@@ -138,7 +138,6 @@ int poptConfigFileToString(FILE *fp, char ** argstrp, /*@unused@*/ int flags)
size_t maxlinelen = sizeof(line);
size_t linelen;
size_t maxargvlen = (size_t)480;
- int linenum = 0;
*argstrp = NULL;
@@ -153,7 +152,6 @@ int poptConfigFileToString(FILE *fp, char ** argstrp, /*@unused@*/ int flags)
if (argstr == NULL) return POPT_ERROR_MALLOC;
while (fgets(line, (int)maxlinelen, fp) != NULL) {
- linenum++;
p = line;
/* loop until first non-space char or EOL */