You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2019/03/18 12:25:48 UTC
svn commit: r1855755 - /httpd/httpd/trunk/server/util.c
Author: covener
Date: Mon Mar 18 12:25:48 2019
New Revision: 1855755
URL: http://svn.apache.org/viewvc?rev=1855755&view=rev
Log:
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]
Modified:
httpd/httpd/trunk/server/util.c
Modified: httpd/httpd/trunk/server/util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util.c?rev=1855755&r1=1855754&r2=1855755&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util.c (original)
+++ httpd/httpd/trunk/server/util.c Mon Mar 18 12:25:48 2019
@@ -573,7 +573,7 @@ AP_DECLARE(void) ap_no2slash_ex(char *na
char *d, *s;
- if (!name || !*name) {
+ if (!*name) {
return;
}