Content-Length: 257927 | pFad | http://github.com/postgrespro/postgres_cluster/commit/7ed1db3f4625c4cb873a21c380913433820d50ce

0C Suppress uninitialized-variable warning in new SCRAM code. · postgrespro/postgres_cluster@7ed1db3 · GitHub
Skip to content

Commit 7ed1db3

Browse files
committed
Suppress uninitialized-variable warning in new SCRAM code.
While we generally don't sweat too much about "may be used uninitialized" warnings from older compilers, I noticed that there's a fair number of buildfarm animals that are producing such a warning *only* for this variable. So it seems worth silencing.
1 parent 5b4555f commit 7ed1db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/libpq/auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ CheckSCRAMAuth(Port *port, char *shadow_pass, char **logdetail)
865865
StringInfoData sasl_mechs;
866866
int mtype;
867867
StringInfoData buf;
868-
void *scram_opaq;
868+
void *scram_opaq = NULL;
869869
char *output = NULL;
870870
int outputlen = 0;
871871
char *input;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/7ed1db3f4625c4cb873a21c380913433820d50ce

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy