postgresql/src/backend
Tom Lane 51940f9760 Cast to void in StaticAssertExpr, not its callers.
Seems a bit silly that many (in fact all, as of today) uses of
StaticAssertExpr would need to cast it to void to avoid warnings from
pickier compilers.  Let's just do the cast right in the macro, instead.

In passing, change StaticAssertExpr to StaticAssertStmt in one
place where that seems more apropos.

Discussion: https://postgr.es/m/16161.1518715186@sss.pgh.pa.us
2018-02-15 13:41:30 -05:00
..
access Silence assorted "variable may be used uninitialized" warnings. 2018-02-14 16:06:49 -05:00
bootstrap Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
catalog Silence assorted "variable may be used uninitialized" warnings. 2018-02-14 16:06:49 -05:00
commands Avoid premature free of pass-by-reference CALL arguments. 2018-02-10 13:37:12 -05:00
executor Make plpgsql use its DTYPE_REC code paths for composite-type variables. 2018-02-13 18:52:21 -05:00
foreign Update copyright for 2018 2018-01-02 23:30:12 -05:00
lib Update copyright for 2018 2018-01-02 23:30:12 -05:00
libpq Fix up references to scram-sha-256 2018-01-30 16:50:30 -05:00
main Update copyright for 2018 2018-01-02 23:30:12 -05:00
nodes Support all SQL:2011 options for window frame clauses. 2018-02-07 00:06:56 -05:00
optimizer Fix parallel index builds for dynamic_shared_memory_type=none. 2018-02-12 12:55:12 -05:00
parser get_relid_attribute_name is dead, long live get_attname 2018-02-12 19:33:15 -03:00
po Translation updates 2017-08-07 13:55:34 -04:00
port Support huge pages on Windows 2018-01-21 15:40:46 +01:00
postmaster Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
regex Update copyright for 2018 2018-01-02 23:30:12 -05:00
replication Fix typo 2018-02-12 22:39:52 -05:00
rewrite Fix application of identity values in some cases 2018-02-02 14:39:10 -05:00
snowball Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
statistics Update copyright for 2018 2018-01-02 23:30:12 -05:00
storage Cast to void in StaticAssertExpr, not its callers. 2018-02-15 13:41:30 -05:00
tcop Clear stmt_timeout_active if we disable_all_timeouts. 2018-02-09 15:48:18 -05:00
tsearch Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
utils Silence assorted "variable may be used uninitialized" warnings. 2018-02-14 16:06:49 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Update copyright for 2018 2018-01-02 23:30:12 -05:00
common.mk Add ICU_CFLAGS to global CPPFLAGS 2017-06-12 15:57:22 -04:00
nls.mk Translation updates 2017-05-15 12:19:54 -04:00