popt/fix-permit-reading-aliases-remove-left-over-goto-exi.patch
openeuler-basic 8b1a691179 init
2019-12-31 23:16:12 +08:00

26 lines
716 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.
---
poptconfig.c | 1 -
1 file changed, 1 deletion(-)
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;
--
2.19.1