From 1b69c89d075a1527e2b042a69d58c362495095d0 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Thu, 11 Jan 2018 16:21:56 +0300 Subject: [PATCH] helper: change some nonsense values to other nonsense values It sort of helps with debugging if these values are different. Signed-off-by: Dan Carpenter --- smatch_helper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/smatch_helper.c b/smatch_helper.c index 4c960c32..dff8ba7c 100644 --- a/smatch_helper.c +++ b/smatch_helper.c @@ -457,11 +457,11 @@ int get_complication_score(struct expression *expr) */ if (!expr) - return 999; + return 990; switch (expr->type) { case EXPR_CALL: - return 999; + return 991; case EXPR_COMPARE: case EXPR_BINOP: score += get_complication_score(expr->left); @@ -474,13 +474,13 @@ int get_complication_score(struct expression *expr) case EXPR_PREOP: if (expr->op == '*') return score + get_complication_score(expr->unop); - return 999; + return 993; case EXPR_DEREF: return score + get_complication_score(expr->deref); case EXPR_VALUE: return 0; default: - return 999; + return 994; } } -- 2.11.4.GIT