Skip to content

Commit

Permalink
Removed incorrect assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 22, 2010
1 parent 7aa3b32 commit 6f8ba92
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mojoshader_compiler.c
Expand Up @@ -691,10 +691,9 @@ static void delete_expr(Context *ctx, Expression *expr)
{
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

Expand Down

0 comments on commit 6f8ba92

Please sign in to comment.