aboutsummaryrefslogtreecommitdiffstats
path: root/ast_expr.y
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-08 14:41:49 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-08 14:41:49 +0000
commit48fd1776457a4e45a9b022dccc0f6d1f98be9d68 (patch)
tree7c7467dfb58c88e0050b7d2fc681d92946817621 /ast_expr.y
parent2608709483303f5eb8f3ee514cdb7c56d88a7f7e (diff)
remove unnecessary 'if'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4402 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'ast_expr.y')
-rwxr-xr-xast_expr.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/ast_expr.y b/ast_expr.y
index 71546f1b0..43385ae8f 100755
--- a/ast_expr.y
+++ b/ast_expr.y
@@ -215,8 +215,7 @@ struct val *vp;
}
if (vp->type == string || vp->type == numeric_string)
free (vp->u.s);
- if (vp)
- free (vp);
+ free (vp);
}