Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitddcb807

Browse files
peterepull[bot]
authored andcommitted
Remove dummyret definition
This hasn't been used in a while (last use removed by50d22de, andbefore that84b6d5f), and since we are now preferring inlinefunctions 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 parentc4dd4b1 commitddcb807

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-
#definedummyretvoid
342-
#else
343-
#definedummyretchar
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)

[8]ページ先頭

©2009-2025 Movatter.jp