fix warnings

This commit is contained in:
Vitor Santos Costa
2012-12-20 21:13:51 +00:00
parent a309f47794
commit cb37e7714a
7 changed files with 1 additions and 10 deletions

1
C/amasm.c Normal file → Executable file
View File

@@ -2050,7 +2050,6 @@ a_try(op_numbers opcode, CELL lab, CELL opr, int nofalts, int hascut, yamop *cod
yamop *newcp;
/* emit a special instruction and then a label for backpatching */
if (pass_no) {
CACHE_REGS
UInt size = (UInt)NEXTOP((yamop *)NULL,OtaLl);
if ((newcp = (yamop *)Yap_AllocCodeSpace(size)) == NULL) {
/* OOOPS, got in trouble, must do a longjmp and recover space */