Skip to content

Commit c43ae3a

Browse files
committed
Change internal macros so they don't warn about unused value
1 parent e1518d4 commit c43ae3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cext/include/internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#define LIKELY(x) RB_LIKELY(x)
55
#define UNLIKELY(x) RB_UNLIKELY(x)
66

7-
#define RHASH_ST_TABLE(hash) (hash, false)
8-
#define RHASH_TBL_RAW(hash) (hash, false)
7+
#define RHASH_ST_TABLE(hash) (hash)
8+
#define RHASH_TBL_RAW(hash) (hash)
99

1010
#define STR_EMBED_P(str) (str, false)
1111
#define STR_SHARED_P(str) (str, false)

0 commit comments

Comments
 (0)