From b01465c5e8a2a68c45c7247faf072cf1c1929706 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Sun, 31 May 2009 19:49:16 +0300 Subject: [PATCH] smatch_implied: only print the nr_children message once. Signed-off-by: Dan Carpenter --- smatch_implied.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_implied.c b/smatch_implied.c index e189b1bd..f318291b 100644 --- a/smatch_implied.c +++ b/smatch_implied.c @@ -210,7 +210,7 @@ static void separate_pools(struct sm_state *sm_state, int comparison, struct ran false positives and don't affect actual bugs. */ if (sm_state->nr_children > 5000) { - if (!print_once) { + if (!print_once++) { smatch_msg("debug: seperate_pools %s nr_children %d", sm_state->name, sm_state->nr_children); } -- 2.11.4.GIT