summaryrefslogtreecommitdiff
path: root/poptconfig.c
diff options
context:
space:
mode:
authorjbj <jbj>2001-12-08 17:22:23 +0000
committerjbj <jbj>2001-12-08 17:22:23 +0000
commit4b6acdc4870024c9f638fe7ec0dba1d3a60056c7 (patch)
treedef71f22c1e750a9e8a6df2375d454d80c096e2c /poptconfig.c
parent83d013dde6a89980dfe0f3d46568305097e6fb6a (diff)
downloadlibpopt-4b6acdc4870024c9f638fe7ec0dba1d3a60056c7.tar.gz
- lclint-3.0.0.19 fiddles.
Diffstat (limited to 'poptconfig.c')
-rw-r--r--poptconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/poptconfig.c b/poptconfig.c
index 0c70471..7f80ff0 100644
--- a/poptconfig.c
+++ b/poptconfig.c
@@ -44,10 +44,12 @@ static void configLine(poptContext con, char * line)
while (*line != '\0' && isspace(*line)) line++;
if (*line == '\0') return;
+ /*@-temptrans@*/ /* FIX: line alias is saved */
if (opt[0] == '-' && opt[1] == '-')
item->option.longName = opt + 2;
else if (opt[0] == '-' && opt[2] == '\0')
item->option.shortName = opt[1];
+ /*@=temptrans@*/
if (poptParseArgvString(line, &item->argc, &item->argv)) return;
@@ -77,7 +79,6 @@ static void configLine(poptContext con, char * line)
item->argv[j] = NULL;
item->argc = j;
}
-
/*@=modobserver@*/
if (!strcmp(entryType, "alias"))