Add missing initialization in tokenize_expand_file() for output list
authorMichael Paquier <[email protected]>
Thu, 24 Nov 2022 01:03:11 +0000 (10:03 +0900)
committerMichael Paquier <[email protected]>
Thu, 24 Nov 2022 01:03:11 +0000 (10:03 +0900)
This should have been added in efc9816, but it looks like I have found a
way to mess up a bit a patch split.  This should have no consequence in
practice, but let's be clean.

Discussion: https://postgr.es/m/[email protected]

src/backend/libpq/hba.c

index 432fbeeb1cdd7dac278787745233cfa979ec4a73..d6254d820fbd7a5021adec1f497e4b798ff7a302 100644 (file)
@@ -489,7 +489,7 @@ tokenize_expand_file(List *tokens,
 {
    char       *inc_fullname;
    FILE       *inc_file;
-   List       *inc_lines;
+   List       *inc_lines = NIL;
    ListCell   *inc_line;
 
    inc_fullname = AbsoluteConfigLocation(inc_filename, outer_filename);