fixes a few redundant conditions

(issue #15269)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@203444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David Vossel
2009-06-25 21:45:32 +00:00
parent 3930f83be6
commit a6426cdf9d
2 changed files with 5 additions and 7 deletions

View File

@@ -2415,7 +2415,6 @@ static void
free_value (struct val *vp)
{
if (vp==NULL) {
free(vp);
return;
}
if (vp->type == AST_EXPR_string || vp->type == AST_EXPR_numeric_string)