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 <daniel@yesql.se> 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

Lines changed: 0 additions & 10 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy