Remove pop that was done when not a return val

This commit is contained in:
Carson McDonald
2013-07-28 13:15:22 -04:00
parent 5f40e3410c
commit ff40793fc7
-1
View File
@@ -1551,7 +1551,6 @@ codegen(codegen_scope *s, node *tree, int val)
// variable rhs
codegen(s, t, VAL);
gen_vmassignment(s, tree->car, rhs, val);
if (!val) pop();
}
}
break;