aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-11-24 10:03:11 +0900
committerMichael Paquier <michael@paquier.xyz>2022-11-24 10:03:11 +0900
commitd5566fbfeb6a1e05151a1cdc409465e2a3d3a6c6 (patch)
treece566bbd48a28efc8e564474a1b2339b38cad1e5
parentefc981627a723d91e86865fb363d793282e473d1 (diff)
downloadpostgresql-d5566fbfeb6a1e05151a1cdc409465e2a3d3a6c6.tar.gz
postgresql-d5566fbfeb6a1e05151a1cdc409465e2a3d3a6c6.zip
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
-rw-r--r--src/backend/libpq/hba.c2
1 files changed, 1 insertions, 1 deletions
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);