[Asterisk-cvs] asterisk ast_expr.y,1.9,1.10

russell at lists.digium.com russell at lists.digium.com
Wed Dec 8 09:44:11 CST 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv2506

Modified Files:
	ast_expr.y 
Log Message:
remove unnecessary 'if'


Index: ast_expr.y
===================================================================
RCS file: /usr/cvsroot/asterisk/ast_expr.y,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ast_expr.y	7 Dec 2004 19:46:29 -0000	1.9
+++ ast_expr.y	8 Dec 2004 14:41:49 -0000	1.10
@@ -215,8 +215,7 @@
 	}
 	if (vp->type == string || vp->type == numeric_string)
 		free (vp->u.s);	
-	if (vp)
-		free (vp);
+	free (vp);
 }
 
 




More information about the svn-commits mailing list