aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayutils.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-05-10 11:36:26 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-05-10 11:40:03 +0200
commitfa8fbadb934b4727a7aeff074995e799f4685a75 (patch)
tree88e4c6eed7b4d368379f4aa7638c4d298f4d404c /src/backend/utils/adt/arrayutils.c
parent3c554100307f4e57c0881e205dbdbc173bb84d56 (diff)
downloadpostgresql-fa8fbadb934b4727a7aeff074995e799f4685a75.tar.gz
postgresql-fa8fbadb934b4727a7aeff074995e799f4685a75.zip
Emit dummy statements for probes.d probes when disabled
When building without --enable-dtrace, emit dummy do {} while (0) statements for the stubbed-out TRACE_POSTGRESQL_foo() macros instead of empty macros that totally elide the original probe statement. This fixes the warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] introduced by b94409a02f. Author: Craig Ringer <craig.ringer@2ndquadrant.com> Discussion: https://www.postgresql.org/message-id/flat/20210504221531.cfvpmmdfsou6eitb%40alap3.anarazel.de
Diffstat (limited to 'src/backend/utils/adt/arrayutils.c')
0 files changed, 0 insertions, 0 deletions