# HG changeset patch # User lost@l-w.ca # Date 1295919067 25200 # Node ID 421d7ceb4d8646a4c30ef383c205b6bcfa40cee1 # Parent 25a4aef9c5eda8bade1137e1ddf966debd9b8028 Fixed missing return value diff -r 25a4aef9c5ed -r 421d7ceb4d86 lwasm/lwasm.c --- a/lwasm/lwasm.c Sat Jan 22 21:13:09 2011 -0700 +++ b/lwasm/lwasm.c Mon Jan 24 18:31:07 2011 -0700 @@ -671,7 +671,7 @@ if (l -> csect == NULL) { lwasm_register_error(l -> as, l, "Instruction generating output outside of a section"); - return; + return -1; } if (size == 4)