From c065d883d995700b6cb5a00bd027232afded7ae5 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 2 Oct 2017 14:29:08 -0400 Subject: Remove extraneous ;s Bug: pdfium:912 Change-Id: Iea61260ccc972627950b470a44ab21dbd2b4045b Reviewed-on: https://pdfium-review.googlesource.com/15170 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- core/fxcrt/fx_system.h | 2 +- third_party/base/numerics/safe_conversions_impl.h | 2 +- third_party/base/numerics/safe_math.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/fxcrt/fx_system.h b/core/fxcrt/fx_system.h index aa9b8490f9..8e2957bc98 100644 --- a/core/fxcrt/fx_system.h +++ b/core/fxcrt/fx_system.h @@ -213,7 +213,7 @@ const char* FXSYS_i64toa(int64_t value, char* str, int radix); int FXSYS_round(float f); #define FXSYS_sqrt2(a, b) (float)sqrt((a) * (a) + (b) * (b)) #ifdef __cplusplus -}; // extern C +} // extern C #endif // __cplusplus // To print a size_t value in a portable way: diff --git a/third_party/base/numerics/safe_conversions_impl.h b/third_party/base/numerics/safe_conversions_impl.h index 2a7ce146e3..2735c1ea72 100644 --- a/third_party/base/numerics/safe_conversions_impl.h +++ b/third_party/base/numerics/safe_conversions_impl.h @@ -725,7 +725,7 @@ constexpr bool SafeCompare(const L lhs, const R rhs) { static_cast(static_cast(rhs))) // Let the template functions figure it out for mixed types. : C::Test(lhs, rhs); -}; +} } // namespace internal } // namespace base diff --git a/third_party/base/numerics/safe_math.h b/third_party/base/numerics/safe_math.h index a0c41a467b..8574fdd595 100644 --- a/third_party/base/numerics/safe_math.h +++ b/third_party/base/numerics/safe_math.h @@ -419,7 +419,7 @@ ChkMathOp(const L lhs, const R rhs, const Args... args) { auto tmp = ChkMathOp(lhs, rhs); return tmp.IsValid() ? ChkMathOp(tmp, args...) : decltype(ChkMathOp(tmp, args...))(tmp); -}; +} // The following macros are just boilerplate for the standard arithmetic // operator overloads and variadic function templates. A macro isn't the nicest -- cgit v1.2.3