Mercurial > hg > index.cgi
comparison lwasm/lwasm.c @ 24:421d7ceb4d86
Fixed missing return value
author | lost@l-w.ca |
---|---|
date | Mon, 24 Jan 2011 18:31:07 -0700 |
parents | c80e5a063967 |
children | 7e92484cfbc3 |
comparison
equal
deleted
inserted
replaced
23:25a4aef9c5ed | 24:421d7ceb4d86 |
---|---|
669 lw_expr_t te; | 669 lw_expr_t te; |
670 | 670 |
671 if (l -> csect == NULL) | 671 if (l -> csect == NULL) |
672 { | 672 { |
673 lwasm_register_error(l -> as, l, "Instruction generating output outside of a section"); | 673 lwasm_register_error(l -> as, l, "Instruction generating output outside of a section"); |
674 return; | 674 return -1; |
675 } | 675 } |
676 | 676 |
677 if (size == 4) | 677 if (size == 4) |
678 { | 678 { |
679 // create a two part reference because lwlink doesn't | 679 // create a two part reference because lwlink doesn't |