From: Eric Covener Date: Sun, 8 Nov 2020 22:23:16 +0000 (+0000) Subject: -Werror=maybe-uninitialized issue X-Git-Tag: 2.5.0-alpha2-ci-test-only~1154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0081a34d1fcf0ff4b92ae845506551f6aabd791f;p=thirdparty%2Fapache%2Fhttpd.git -Werror=maybe-uninitialized issue git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1883214 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_allowmethods.c b/modules/aaa/mod_allowmethods.c index 7e490593c64..2d0a823bc13 100644 --- a/modules/aaa/mod_allowmethods.c +++ b/modules/aaa/mod_allowmethods.c @@ -143,7 +143,7 @@ static const char *am_allowmethods(cmd_parms *cmd, void *d, int argc, int merge = 0; int first = 1; char *method; - char action; + char action = '\0'; if (argc == 0) { return "AllowMethods: No method or 'reset' keyword given";