aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-01-27 18:46:30 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-01-27 18:46:30 -0500
commit4589c6a2a30faba53d0655a8e3a29b54d28bb6f6 (patch)
treee7de20dcf10ecef6e3b4eb795ddd53db06566e19 /src/backend/access/gist/gistxlog.c
parent73ce2a03f30b52d6bfb26bc28f1e3e1aa1637577 (diff)
downloadpostgresql-4589c6a2a30faba53d0655a8e3a29b54d28bb6f6.tar.gz
postgresql-4589c6a2a30faba53d0655a8e3a29b54d28bb6f6.zip
Apply project best practices to switches over enum values.
In the wake of 1f3a02173, assorted buildfarm members were warning about "control reaches end of non-void function" or the like. Do what we've done elsewhere: in place of a "default" switch case that will prevent the compiler from warning about unhandled enum values, put a catchall elog() after the switch. And return a dummy value to satisfy compilers that don't know elog() doesn't return.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions