From 95d379d7f7191323ff53adb0a7861edc231b2442 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 11 Nov 2016 12:58:41 -0500 Subject: [PATCH] tree-wide: make invocations of extract_first_word more uniform (#4627) extract_first_words deals fine with the string being NULL, so drop the upfront check for that. --- src/basic/extract-word.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/extract-word.c b/src/basic/extract-word.c index bace3c183..609f5dc22 100644 --- a/src/basic/extract-word.c +++ b/src/basic/extract-word.c @@ -48,7 +48,7 @@ int extract_first_word(const char **p, char **ret, const char *separators, Extra /* Bail early if called after last value or with no input */ if (!*p) - goto finish_force_terminate; + goto finish; c = **p; if (!separators) -- 2.30.2