postgres.git / summary / log / commit / refs
commit d5566fbfeb6a1e05151a1cdc409465e2a3d3a6c6
Author: Michael Paquier <michael@paquier.xyz>
Date: Thu Nov 24 01:03:11 2022 +0000
Add missing initialization in tokenize_expand_file() for output list
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/Y324HvGKiWxW2yxe@paquier.xyz
src/backend/libpq/hba.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c
index 432fbeeb1cd..d6254d820fb 100644
--- a/src/backend/libpq/hba.c
+++ b/src/backend/libpq/hba.c
@@ -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);
[parent: efc981627a72]