mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 15:11:18 +02:00
Remove dummyret definition
This hasn't been used in a while (last use removed by50d22de932
, and before that84b6d5f359
), 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
This commit is contained in:
parent
c855872074
commit
585d0cd944
@ -333,16 +333,6 @@
|
|||||||
_61,_62,_63, N, ...) \
|
_61,_62,_63, N, ...) \
|
||||||
(N)
|
(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
|
* 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
|
* necessary to cast a function pointer to a seemingly incompatible function
|
||||||
|
Loading…
Reference in New Issue
Block a user