Content-Length: 258446 | pFad | http://github.com/postgrespro/postgres_cluster/commit/b0c5da615ec45bcd24b97a1d55b1f489b9830a4b

6A Suppress uninitialized-variable warning in new SCRAM code. · postgrespro/postgres_cluster@b0c5da6 · GitHub
Skip to content

Commit b0c5da6

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 db72302 commit b0c5da6

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/b0c5da615ec45bcd24b97a1d55b1f489b9830a4b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy