We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e5c7c4 commit d54f703Copy full SHA for d54f703
Firestore/third_party/abseil-cpp/absl/base/macros.h
@@ -192,11 +192,11 @@ enum LinkerInitialized {
192
// This macro is inspired by
193
// https://akrzemi1.wordpress.com/2017/05/18/asserts-in-constexpr-functions/
194
#if defined(NDEBUG)
195
-#define ABSL_ASSERT(expr) (false ? (void)(expr) : (void)0)
+#define ABSL_ASSERT(expr) (void) (false ? (void)(expr) : (void)0)
196
#else
197
#define ABSL_ASSERT(expr) \
198
- (ABSL_PREDICT_TRUE((expr)) ? (void)0 \
199
- : [] { assert(false && #expr); }()) // NOLINT
+ (void) (ABSL_PREDICT_TRUE((expr)) ? (void)0 \
+ : [] { assert(false && #expr); }()) // NOLINT
200
#endif
201
202
#ifdef ABSL_HAVE_EXCEPTIONS
0 commit comments