Fix a compiler warning
authorTakuma Hoshiai <takuma.hoshiai@gmail.com>
Thu, 21 Mar 2024 00:00:33 +0000 (09:00 +0900)
committerTakuma Hoshiai <takuma.hoshiai@gmail.com>
Thu, 21 Mar 2024 00:00:33 +0000 (09:00 +0900)
Fix warning introduced in the previous commit.

src/config/pool_config.l

index c25b2e53205302d4e85be827eef1e147ba973279..3be304beaf4e181e900bb8c92963f91b6d5c2539 100644 (file)
@@ -335,7 +335,7 @@ ParseConfigFile(const char *config_file, const char *calling_file,
        FILE *fd;
        YY_BUFFER_STATE lex_buffer;
        int token;
-       char *key;
+       char *key = NULL;
        char *val;
        ConfigVariable *item;
        char buf[POOLMAXPATHLEN + 1];