From: Roy Marples Date: Mon, 9 Mar 2020 10:34:14 +0000 (+0000) Subject: Remove empty brace from prior X-Git-Tag: v9.0.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08a1f547c0428efe5f95ef3c2f3b38f9379dd412;p=thirdparty%2Fdhcpcd.git Remove empty brace from prior --- diff --git a/src/if-options.c b/src/if-options.c index afc6c07a..46df50ca 100644 --- a/src/if-options.c +++ b/src/if-options.c @@ -2047,7 +2047,7 @@ err_sla: logerr("realm_len"); goto invalid_token; } - if (s) { + if (s != 0) { token->realm_len = (size_t)s; token->realm = malloc(token->realm_len); if (token->realm == NULL) { @@ -2056,7 +2056,6 @@ err_sla: } parse_string((char *)token->realm, token->realm_len, arg); - } else { } arg = fp; fp = strend(arg);