diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-02-15 13:41:30 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-02-15 13:41:30 -0500 |
commit | 51940f97607b7cb4d03bdd99e43abb1a1c6a0c47 (patch) | |
tree | 9d2036f02f567435830c38eee5b49fb343ba6f0b /src/backend/executor/nodeWindowAgg.c | |
parent | 03c5a00ea3867f5736da6cedce73b1eea88a98af (diff) | |
download | postgresql-51940f97607b7cb4d03bdd99e43abb1a1c6a0c47.tar.gz postgresql-51940f97607b7cb4d03bdd99e43abb1a1c6a0c47.zip |
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
Diffstat (limited to 'src/backend/executor/nodeWindowAgg.c')
0 files changed, 0 insertions, 0 deletions