]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
-Werror=maybe-uninitialized issue
authorEric Covener <covener@apache.org>
Sun, 8 Nov 2020 22:23:16 +0000 (22:23 +0000)
committerEric Covener <covener@apache.org>
Sun, 8 Nov 2020 22:23:16 +0000 (22:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1883214 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_allowmethods.c

index 7e490593c6457923f9c78c3ac4f9a165e062782f..2d0a823bc13e4fcb60d67a3242db01e5f5006c10 100644 (file)
@@ -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";