[lsan] Remove semicolon after do {} while (0)
authorTom de Vries <vries@codesourcery.com>
Mon, 13 Nov 2017 20:59:26 +0000 (20:59 +0000)
committerTom de Vries <vries@codesourcery.com>
Mon, 13 Nov 2017 20:59:26 +0000 (20:59 +0000)
Remove semicolon after "do {} while (0)" in LOG_POINTERS and LOG_THREADS.

Reviewed by: kcc

llvm-svn: 318085

compiler-rt/lib/lsan/lsan_common.cc

index 651bbe1..69ffda5 100644 (file)
@@ -57,12 +57,12 @@ void RegisterLsanFlags(FlagParser *parser, Flags *f) {
 #define LOG_POINTERS(...)                           \
   do {                                              \
     if (flags()->log_pointers) Report(__VA_ARGS__); \
-  } while (0);
+  } while (0)
 
 #define LOG_THREADS(...)                           \
   do {                                             \
     if (flags()->log_threads) Report(__VA_ARGS__); \
-  } while (0);
+  } while (0)
 
 ALIGNED(64) static char suppression_placeholder[sizeof(SuppressionContext)];
 static SuppressionContext *suppression_ctx = nullptr;