mojoshader_compiler.c
changeset 845 d10d31b9b695
parent 844 06494572317b
child 846 10eb8be2c919
--- a/mojoshader_compiler.c	Sun Feb 21 19:37:38 2010 -0500
+++ b/mojoshader_compiler.c	Mon Feb 22 01:56:12 2010 -0500
@@ -691,10 +691,9 @@
     {
         delete_expr(ctx, ((ExpressionConstructor *) expr)->args);
     } // else if
-    else
-    {
-        assert(0 && "Unexpected type");
-    } // else
+
+    // rest of operators don't have extra data to free.
+
     Free(ctx, expr);
 } // delete_expr