Skip to content

Commit d54f703

Browse files
committed
Re-apply -Wcomma fix
1 parent 7e5c7c4 commit d54f703

File tree

1 file changed

+3
-3
lines changed
  • Firestore/third_party/abseil-cpp/absl/base

1 file changed

+3
-3
lines changed

Firestore/third_party/abseil-cpp/absl/base/macros.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,11 @@ enum LinkerInitialized {
192192
// This macro is inspired by
193193
// https://akrzemi1.wordpress.com/2017/05/18/asserts-in-constexpr-functions/
194194
#if defined(NDEBUG)
195-
#define ABSL_ASSERT(expr) (false ? (void)(expr) : (void)0)
195+
#define ABSL_ASSERT(expr) (void) (false ? (void)(expr) : (void)0)
196196
#else
197197
#define ABSL_ASSERT(expr) \
198-
(ABSL_PREDICT_TRUE((expr)) ? (void)0 \
199-
: [] { assert(false && #expr); }()) // NOLINT
198+
(void) (ABSL_PREDICT_TRUE((expr)) ? (void)0 \
199+
: [] { assert(false && #expr); }()) // NOLINT
200200
#endif
201201

202202
#ifdef ABSL_HAVE_EXCEPTIONS

0 commit comments

Comments
 (0)