diff options
author | rse <rse> | 2007-06-14 08:04:38 +0000 |
---|---|---|
committer | rse <rse> | 2007-06-14 08:04:38 +0000 |
commit | 9cac3e62da0c27040d56a80273604f32ac41fe83 (patch) | |
tree | bbf6ec95747fe11d84bb37f8c061a3876e026ece /poptparse.c | |
parent | 261385af6e8a2c43d13de1489e4f4d905a186141 (diff) | |
download | libpopt-9cac3e62da0c27040d56a80273604f32ac41fe83.tar.gz |
remove an unused line numbering variable
Diffstat (limited to 'poptparse.c')
-rw-r--r-- | poptparse.c | 2 |
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 */ |