aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeProjectSet.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-10-17 08:38:39 +0200
committerPeter Eisentraut <peter@eisentraut.org>2020-11-11 11:00:27 +0100
commitc617aea6acdd9057a14d91ff294905b1b5509348 (patch)
tree9745f24103d647ebb7924e3dbdfa6e71b7c5421c /src/backend/executor/nodeProjectSet.c
parentc77f6f50e4187bed38d1d36ae16b0c248e286d15 (diff)
downloadpostgresql-c617aea6acdd9057a14d91ff294905b1b5509348.tar.gz
postgresql-c617aea6acdd9057a14d91ff294905b1b5509348.zip
Add pg_nodiscard function declaration specifier
pg_nodiscard means the compiler should warn if the result of a function call is ignored. The name "nodiscard" is chosen in alignment with (possibly future) C and C++ standards. It maps to the GCC attribute warn_unused_result. Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://www.postgresql.org/message-id/flat/e3753562-99cd-b65f-5aca-687dfd1ec2fc@2ndquadrant.com
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions