From c855e8401fba8e0a7525dfc94a6e16c20a22f94f Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Mon, 24 Nov 2014 16:08:47 +0300 Subject: [PATCH] db: pass "INTERNAL" to caller_info callbacks I want to know if the database knows how a function is called. The return_states call backs already pass INTERNAL. Signed-off-by: Dan Carpenter --- smatch_db.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/smatch_db.c b/smatch_db.c index 2a8a96d2..a668a675 100644 --- a/smatch_db.c +++ b/smatch_db.c @@ -590,8 +590,6 @@ static int caller_info_callback(void *unused, int argc, char **argv, char **azCo prev_func_id = func_id; } - if (type == INTERNAL) - return 0; if (param >= 0 && !get_param(param, &name, &sym)) return 0; -- 2.11.4.GIT