Skip to content

Commit

Permalink
compiler.h: _O___CTASSERT: avoid unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
marckleinebudde committed Dec 15, 2022
1 parent baf2723 commit 343714f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
typedef char __assert_line_ ## y [(x) ? 1 : -1]; \
__assert_line_ ## y _x; \
_x[0] = '\0'; \
(void)_x; \
}

#define BUILD_BUG() do { CTASSERT(0); } while (0)
Expand Down

0 comments on commit 343714f

Please sign in to comment.