Skip to content

Commit b29b23c

Browse files
committed
[UMF] Fix -Wempty-body warning
1 parent 764ecf2 commit b29b23c

File tree

1 file changed

+2
-3
lines changed
  • source/common/unified_malloc_framework/src/utils

1 file changed

+2
-3
lines changed

source/common/unified_malloc_framework/src/utils/utils.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ static inline void *Zalloc(size_t s) {
7373
}
7474

7575
#define NOFUNCTION \
76-
do \
77-
; \
78-
while (0)
76+
do { \
77+
} while (0)
7978
#define VALGRIND_ANNOTATE_NEW_MEMORY(p, s) NOFUNCTION
8079
#define VALGRIND_HG_DRD_DISABLE_CHECKING(p, s) NOFUNCTION
8180

0 commit comments

Comments
 (0)