Skip to content

Commit 585d0cd

Browse files
committed
Remove dummyret definition
This hasn't been used in a while (last use removed by 50d22de, and before that 84b6d5f), and since we are now preferring inline functions over complex macros, it's unlikely to be needed again. Reviewed-by: Daniel Gustafsson <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/7110ab37-8ddd-437f-905c-6aa6205c6185%40enterprisedb.com
1 parent c855872 commit 585d0cd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/include/c.h

-10
Original file line numberDiff line numberDiff line change
@@ -333,16 +333,6 @@
333333
_61,_62,_63, N, ...) \
334334
(N)
335335

336-
/*
337-
* dummyret is used to set return values in macros that use ?: to make
338-
* assignments. gcc wants these to be void, other compilers like char
339-
*/
340-
#ifdef __GNUC__ /* GNU cc */
341-
#define dummyret void
342-
#else
343-
#define dummyret char
344-
#endif
345-
346336
/*
347337
* Generic function pointer. This can be used in the rare cases where it's
348338
* necessary to cast a function pointer to a seemingly incompatible function

0 commit comments

Comments
 (0)