diff options
author | Tom Lane | 2021-03-21 15:50:43 +0000 |
---|---|---|
committer | Tom Lane | 2021-03-21 15:50:43 +0000 |
commit | 9fb9691a88ae8df9bc30e0f0f72de7c96e73e125 (patch) | |
tree | 0d198d8dc41536978c38d76fbcac184cb8e56b31 /src/include/access/toast_compression.h | |
parent | 96ae658e6238c5e69819fb1557c2c14a555506d8 (diff) |
Suppress various new compiler warnings.
Compilers that don't understand that elog(ERROR) doesn't return
issued warnings here. In the cases in libpq_pipeline.c, we were
not exactly helping things by failing to mark pg_fatal() as noreturn.
Per buildfarm.
Diffstat (limited to 'src/include/access/toast_compression.h')
-rw-r--r-- | src/include/access/toast_compression.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/access/toast_compression.h b/src/include/access/toast_compression.h index 514df0bed18..5c9220c1710 100644 --- a/src/include/access/toast_compression.h +++ b/src/include/access/toast_compression.h @@ -69,6 +69,7 @@ GetCompressionMethodName(char method) return "lz4"; default: elog(ERROR, "invalid compression method %c", method); + return NULL; /* keep compiler quiet */ } } |