From 4afea39c562671f07d648fc6474d707bf8b93a44 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 11 Aug 2005 16:23:54 +0000 Subject: Fix where "!" operator used in Bitwise operation. In IBM we have an internal source code scanner called BEAM. We have run it against Xen and here are some of the results. Signed-off-by: Jerone Young --- xen/tools/symbols.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xen/tools') diff --git a/xen/tools/symbols.c b/xen/tools/symbols.c index 7bc141e210..3eca4cae1b 100644 --- a/xen/tools/symbols.c +++ b/xen/tools/symbols.c @@ -311,7 +311,7 @@ write_src(void) off = 0; for (i = 0; i < cnt; i++) { - if (!table[i].flags & SYM_FLAG_VALID) + if (!(table[i].flags & SYM_FLAG_VALID)) continue; if ((valid & 0xFF) == 0) -- cgit v1.2.3