From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | recent compiler warnings |
Date: | 2016-08-24 02:54:39 |
Message-ID: | CAMkU=1zC86xKxqN6gK0+AyqkdL9OOvaMXeZ3TGKsG7yFdSTvGg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Sorry for starting a new thread, I can't find the correct one to reply to.
Using: gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux)
commit ed0097e4f9e6b1 has introduced two compiler warnings:
gistutil.c: In function 'gistproperty':
gistutil.c:855:16: warning: variable 'rd_index' set but not used
[-Wunused-but-set-variable]
Form_pg_index rd_index;
^
amutils.c: In function 'test_indoption':
amutils.c:118:16: warning: variable 'rd_index' set but not used
[-Wunused-but-set-variable]
Form_pg_index rd_index;
^
commit ed0097e4f9e6b1227935e01fa67f12a238b66064
Author: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Date: Sat Aug 13 18:31:14 2016 -0400
Add SQL-accessible functions for inspecting index AM properties.
I don't know if this compiler is a too clever by half, or not clever enough.
Cheers,
Jeff
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2016-08-24 03:01:55 | Re: recent compiler warnings |
Previous Message | Tsunakawa, Takayuki | 2016-08-24 02:35:40 | Re: [RFC] Change the default of update_process_title to off |