summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <jbj>2013-07-03 19:44:37 +0000
committerjbj <jbj>2013-07-03 19:44:37 +0000
commit579c0cc28ee9d0362b4b6b69d5a813fdd3a73945 (patch)
tree70d2cec2e193a4e4aef1d1ef3555fda5a5d6a7d8
parent70656498743092d19519228646cb91aac92f4db3 (diff)
downloadlibpopt-579c0cc28ee9d0362b4b6b69d5a813fdd3a73945.tar.gz
- fix: permit reading aliases, remove left over "goto exit" replacing by assert.
-rw-r--r--poptconfig.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/poptconfig.c b/poptconfig.c
index fad03c5..b8e1da6 100644
--- a/poptconfig.c
+++ b/poptconfig.c
@@ -339,7 +339,6 @@ static int poptConfigLine(poptContext con, char * line)
else
longName = fn;
assert(longName != NULL); /* XXX can't happen. */
- goto exit;
/* Single character basenames are treated as short options. */
if (longName[1] != '\0')
item->option.longName = longName;