kerberos related warning

From: Joe Conway <mail(at)joeconway(dot)com>
To: "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org>
Subject: kerberos related warning
Date: 2006-07-04 17:40:30
Message-ID: 44AAA80E.9050500@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

I just noticed this warning:

gcc -O -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g
-pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fpic
-DFRONTEND -I. -I../../../src/include -D_GNU_SOURCE -I/usr/include/et
-I../../../src/port -c -o fe-auth.o fe-auth.c -MMD
fe-auth.c: In function 'pg_fe_getauthname':
fe-auth.c:573: warning: passing argument 1 of 'free' discards qualifiers
from pointer target type

I think the attached is the appropriate fix. Any objections?

Joe

Attachment Content-Type Size
current.pgsql.diff text/x-patch 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2006-07-04 21:15:57 passing parameters to CREATE INDEX
Previous Message Tom Lane 2006-07-04 13:31:46 Re: system info functions

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-07-04 22:35:11 Draft patch for bug: ALTER TYPE ... USING(NULL) / NOT NULL violation
Previous Message Tom Lane 2006-07-04 13:49:27 Re: CREATE TRIGGER locking