postgresql/contrib/sepgsql
Joe Conway af8a94d18d Silence uninitialized variable compiler warning in sepgsql
At -Og optimization gcc warns that variable tclass may be used
uninitialized when relkind == RELKIND_INDEX. Actually that can't
happen due to an early return, but quiet the compiler by initializing
tclass to 0.

In passing, use uint16_t consistently for the declaration of tclass.

Complaint and initial patch by Mike Palmiotto. Editorializing by me.
Probably not worth backpatching given that it is cosmetic, so apply
to development head only.

Discussion: https://postgr.es/m/flat/623bcaae-112e-ced0-8c22-a84f75ae0c53%40joeconway.com
2017-04-06 14:28:19 -07:00
..
expected Blindly attempt to fix sepgsql tests #2. 2017-03-25 20:54:23 -07:00
sql Fix typos in comments. 2017-02-06 11:33:58 +02:00
.gitignore Minor sepgsql regression test fixes. 2011-02-02 23:46:51 -05:00
Makefile Add file version information to most installed Windows binaries. 2014-07-14 14:07:52 -04:00
database.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
dml.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
hooks.c Try to fix breakage of sepgsql hooks by ENR patch. 2017-04-01 00:10:12 -05:00
label.c Silence compiler warning in sepgsql 2017-04-06 14:24:29 -07:00
launcher Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
proc.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
relation.c Silence uninitialized variable compiler warning in sepgsql 2017-04-06 14:28:19 -07:00
schema.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
selinux.c Fix typos in comments. 2017-02-06 11:33:58 +02:00
sepgsql-regtest.te Fix sepgsql regression tests. 2015-08-30 11:09:05 -07:00
sepgsql.h Remove unnecessary prototypes in loadable modules 2017-01-17 12:35:11 -05:00
sepgsql.sql.in sepgsql_setcon(). 2012-03-15 16:08:40 -04:00
test_sepgsql Fix omission of -X (--no-psqlrc) in some psql invocations. 2015-12-28 11:46:43 -05:00
uavc.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00