mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Clean up most -Wunused-but-set-variable warnings from gcc 4.6
This warning is new in gcc 4.6 and part of -Wall. This patch cleans up most of the noise, but there are some still warnings that are trickier to remove.
This commit is contained in:
@ -320,14 +320,13 @@ static void
|
||||
pg_GSS_error_int(PQExpBuffer str, const char *mprefix,
|
||||
OM_uint32 stat, int type)
|
||||
{
|
||||
OM_uint32 lmaj_s,
|
||||
lmin_s;
|
||||
OM_uint32 lmin_s;
|
||||
gss_buffer_desc lmsg;
|
||||
OM_uint32 msg_ctx = 0;
|
||||
|
||||
do
|
||||
{
|
||||
lmaj_s = gss_display_status(&lmin_s, stat, type,
|
||||
gss_display_status(&lmin_s, stat, type,
|
||||
GSS_C_NO_OID, &msg_ctx, &lmsg);
|
||||
appendPQExpBuffer(str, "%s: %s\n", mprefix, (char *) lmsg.value);
|
||||
gss_release_buffer(&lmin_s, &lmsg);
|
||||
|
Reference in New Issue
Block a user