Localize the timeout variable within the W message macro. 85/4985/4
authorJon Loeliger <jdl@netgate.com>
Tue, 31 Jan 2017 21:27:19 +0000 (15:27 -0600)
committerDave Barach <openvpp@barachs.net>
Thu, 2 Feb 2017 17:32:03 +0000 (17:32 +0000)
commit1f9191f6efa5f2e0284c194f920093201b27ef81
treef55bd27e2b6d4e25101f650c009c43805d36fd32
parent7bc770ceb62ede18414b7bb5788692e32477e373
Localize the timeout variable within the W message macro.

Rather than rely on an unbound variable, explicitly introduce
the timeout variable within the 'do { ... } while (0)' construct
as a block-local variable.

Change-Id: I6e78635290f9b5ab3f56b7f116c5fa762c88c9e9
Signed-off-by: Jon Loeliger <jdl@netgate.com>
12 files changed:
build-root/emacs-lisp/plugin-test-skel.el
src/plugins/acl/acl_test.c
src/plugins/flowperpkt/flowperpkt_test.c
src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_test.c
src/plugins/ioam/export/ioam_export_test.c
src/plugins/ioam/lib-pot/pot_test.c
src/plugins/ioam/lib-trace/trace_test.c
src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_test.c
src/plugins/lb/lb_test.c
src/plugins/snat/snat_test.c
src/vat/api_format.c
src/vlibapi/vat_helper_macros.h