From 38a6905a498b06497c47e83c130fdad330ed234a Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Mon, 25 May 2009 18:51:28 +0300 Subject: [PATCH] Improve debugging. Don't overwrite sm->line. The line where the clone happened is probably more helpful than the line where the state was originally set. This is only used for debugging. Signed-off-by: Dan Carpenter --- smatch_slist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/smatch_slist.c b/smatch_slist.c index e69943aa..e4b045b0 100644 --- a/smatch_slist.c +++ b/smatch_slist.c @@ -217,7 +217,6 @@ struct sm_state *clone_state(struct sm_state *s) struct sm_state *ret; ret = alloc_state_no_name(s->name, s->owner, s->sym, s->state); - ret->line = s->line; ret->merged = s->merged; ret->implied = s->implied; /* clone_state() doesn't copy the my_pools. Each state needs to have -- 2.11.4.GIT