summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_pool_iterate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/test_pool_iterate.c')
-rw-r--r--src/vppinfra/test_pool_iterate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vppinfra/test_pool_iterate.c b/src/vppinfra/test_pool_iterate.c
index 4e8e2dfa15f..bcbd235ba71 100644
--- a/src/vppinfra/test_pool_iterate.c
+++ b/src/vppinfra/test_pool_iterate.c
@@ -78,8 +78,8 @@ main (int argc, char *argv[])
while (next != ~0);
/* *INDENT-OFF* */
- pool_foreach (junk, tp,
- ({
+ pool_foreach (junk, tp)
+ {
int is_free;
is_free = pool_is_free_index (tp, junk - tp);
@@ -93,7 +93,7 @@ main (int argc, char *argv[])
if (i != 1 && i != 65)
clib_warning ("oops, busy index %d reported free", i);
}
- }));
+ }
/* *INDENT-ON* */
return 0;