]> granicus.if.org Git - icu/commitdiff
ICU-21776 Update double conversion
authorShane Carr <shane@unicode.org>
Wed, 20 Oct 2021 20:54:13 +0000 (13:54 -0700)
committerShane F. Carr <shane@unicode.org>
Thu, 21 Oct 2021 01:20:50 +0000 (18:20 -0700)
icu4c/source/i18n/double-conversion-utils.h
vendor/double-conversion/upstream/double-conversion/utils.h

index 97f583424dfdc38d68af933e74d5e4daf1f25df8..7f23e0a8250d2bb07a4ac231e72d7c805ec94a68 100644 (file)
@@ -44,7 +44,7 @@
 #include "uassert.h"
 #ifndef DOUBLE_CONVERSION_ASSERT
 #define DOUBLE_CONVERSION_ASSERT(condition)         \
-    U_ASSERT(condition);
+    U_ASSERT(condition)
 #endif
 #ifndef DOUBLE_CONVERSION_UNIMPLEMENTED
 #define DOUBLE_CONVERSION_UNIMPLEMENTED() (abort())
index c84c0fa56be50294c3e11ac7cae5e5253edc3be8..b279f4bcd2a5860876337faff77d5beb21889bd3 100644 (file)
@@ -34,7 +34,7 @@
 #include <cassert>
 #ifndef DOUBLE_CONVERSION_ASSERT
 #define DOUBLE_CONVERSION_ASSERT(condition)         \
-    assert(condition);
+    assert(condition)
 #endif
 #ifndef DOUBLE_CONVERSION_UNIMPLEMENTED
 #define DOUBLE_CONVERSION_UNIMPLEMENTED() (abort())