mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 12:20:15 +01: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…
Reference in New Issue
Block a user