From: Eric Covener Date: Mon, 18 Mar 2019 12:25:48 +0000 (+0000) Subject: remove null check X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf4dcc9f77c2450e14497582f3f8e61a405ae948;p=apache remove null check fails in maintainer mode w/ __attribute__(nonnull)) util.c:576:10: error: nonnull parameter 'name' will evaluate to 'true' on first encounter [-Werror,-Wpointer-bool-conversion] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1855755 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util.c b/server/util.c index 8633c6294a..a4e4265667 100644 --- a/server/util.c +++ b/server/util.c @@ -573,7 +573,7 @@ AP_DECLARE(void) ap_no2slash_ex(char *name, int is_fs_path) char *d, *s; - if (!name || !*name) { + if (!*name) { return; }