diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-04-11 22:28:45 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-04-11 22:28:45 +0300 |
commit | 5caa3479c2efd31fca1b271db687e5e57c7de2d4 (patch) | |
tree | ad862f1b6620a5a376a67b4a320f23c212b45ef4 /src/interfaces/libpq/fe-auth.c | |
parent | 3c381a55b0fa1c4ca328211e39df8e1a715129cb (diff) | |
download | postgresql-5caa3479c2efd31fca1b271db687e5e57c7de2d4.tar.gz postgresql-5caa3479c2efd31fca1b271db687e5e57c7de2d4.zip |
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.
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
-rw-r--r-- | src/interfaces/libpq/fe-auth.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c index 45e39e08e30..6f1a163a100 100644 --- a/src/interfaces/libpq/fe-auth.c +++ b/src/interfaces/libpq/fe-auth.c @@ -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); |