diff --git a/presto-native-execution/presto_cpp/main/PeriodicTaskManager.cpp b/presto-native-execution/presto_cpp/main/PeriodicTaskManager.cpp index 83c6939c77161..c27cb5f44f8ae 100644 --- a/presto-native-execution/presto_cpp/main/PeriodicTaskManager.cpp +++ b/presto-native-execution/presto_cpp/main/PeriodicTaskManager.cpp @@ -32,11 +32,11 @@ #include namespace { -#define REPORT_IF_NOT_ZERO(name, counter) \ - do { \ - if ((counter) != 0) { \ +#define REPORT_IF_NOT_ZERO(name, counter) \ + do { \ + if ((counter) != 0) { \ RECORD_METRIC_VALUE((name), (counter)); \ - } \ + } \ } while (0) } // namespace