mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
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.
This commit is contained in:
parent
db72302b0a
commit
b0c5da615e
@ -865,7 +865,7 @@ CheckSCRAMAuth(Port *port, char *shadow_pass, char **logdetail)
|
||||
StringInfoData sasl_mechs;
|
||||
int mtype;
|
||||
StringInfoData buf;
|
||||
void *scram_opaq;
|
||||
void *scram_opaq = NULL;
|
||||
char *output = NULL;
|
||||
int outputlen = 0;
|
||||
char *input;
|
||||
|
Loading…
x
Reference in New Issue
Block a user