diff options
author | Damjan Marion <damarion@cisco.com> | 2020-12-13 23:26:56 +0100 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-12-14 12:14:21 +0000 |
commit | f0ca1e8d92114582ec9142bd15a40f1eb0102793 (patch) | |
tree | aba56d88d909387605ba7fdaf7fc0fd5d3ff565c /src/vlib/node_format.c | |
parent | b2c31b685fd2cf28436ca32bc93e23eb24c74878 (diff) |
misc: refactor clib_bitmap_foreach macro
Type: refactor
Change-Id: I077110e1a422722e20aa546a6f3224c06ab0cde5
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/node_format.c')
-rw-r--r-- | src/vlib/node_format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/node_format.c b/src/vlib/node_format.c index 19ebfc15b74..822a8f64e1a 100644 --- a/src/vlib/node_format.c +++ b/src/vlib/node_format.c @@ -74,11 +74,11 @@ format_vlib_node_graph (u8 * s, va_list * va) j = 0; /* *INDENT-OFF* */ - clib_bitmap_foreach (i, n->prev_node_bitmap, ({ + clib_bitmap_foreach (i, n->prev_node_bitmap) { vec_validate_init_empty (tmps, j, empty); tmps[j].prev_node = i; j++; - })); + } /* *INDENT-ON* */ for (i = 0; i < vec_len (tmps); i++) |