popt/fix-permit-reading-aliases-remove-left-over-goto-exi.patch
2020-07-25 17:32:52 +08:00

26 lines
740 B
Diff

From 2529204650351a6fb521aab72565a08c1665d8e2 Mon Sep 17 00:00:00 2001
From: jbj <jbj>
Date: Wed, 3 Jul 2013 19:44:37 +0000
Subject: [PATCH 135/157] - fix: permit reading aliases, remove left over "goto
exit" replacing by assert.
---
src/poptconfig.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/poptconfig.c b/src/poptconfig.c
index f780974..73d44e5 100644
--- a/src/poptconfig.c
+++ b/src/poptconfig.c
@@ -293,7 +293,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;
--
2.19.1