diff options
author | Peter Eisentraut | 2022-08-20 18:48:47 +0000 |
---|---|---|
committer | Peter Eisentraut | 2022-08-20 18:52:24 +0000 |
commit | 585d0cd944d952f08f7649d02f1d6b6644e93611 (patch) | |
tree | 02c108062fa8c4575cf5e1f74988d4c2e5f2e534 | |
parent | c855872074b5bf44ecea033674d22fac831cfc31 (diff) |
Remove dummyret definition
This hasn't been used in a while (last use removed by 50d22de932, and
before that 84b6d5f359), and since we are now preferring inline
functions over complex macros, it's unlikely to be needed again.
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/7110ab37-8ddd-437f-905c-6aa6205c6185%40enterprisedb.com
-rw-r--r-- | src/include/c.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/include/c.h b/src/include/c.h index 65e91a6b899..dfc366b026f 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -334,16 +334,6 @@ (N) /* - * dummyret is used to set return values in macros that use ?: to make - * assignments. gcc wants these to be void, other compilers like char - */ -#ifdef __GNUC__ /* GNU cc */ -#define dummyret void -#else -#define dummyret char -#endif - -/* * Generic function pointer. This can be used in the rare cases where it's * necessary to cast a function pointer to a seemingly incompatible function * pointer type while avoiding gcc's -Wcast-function-type warnings. |