changeset 24:421d7ceb4d86

Fixed missing return value
author lost@l-w.ca
date Mon, 24 Jan 2011 18:31:07 -0700
parents 25a4aef9c5ed
children 87590f43e76d
files lwasm/lwasm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)