summaryrefslogtreecommitdiff
path: root/src/bin/embryo
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-11-15 05:19:14 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-11-15 05:19:14 +0000
commit66a43d2a7a239e7ccbfb299d665282d737679c82 (patch)
tree455763d5cd3a3f3e573c604404b8b4045dcda183 /src/bin/embryo
parentdc0946e205944950fe8c24704137697593274838 (diff)
more warn-- in efl tree.
SVN revision: 79314
Diffstat (limited to 'src/bin/embryo')
-rw-r--r--src/bin/embryo/embryo_cc_sc1.c2
-rw-r--r--src/bin/embryo/embryo_cc_sc6.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/embryo/embryo_cc_sc1.c b/src/bin/embryo/embryo_cc_sc1.c
index 53baf36539..760bd3c1f6 100644
--- a/src/bin/embryo/embryo_cc_sc1.c
+++ b/src/bin/embryo/embryo_cc_sc1.c
@@ -3480,9 +3480,11 @@ static void
3480doif(void) 3480doif(void)
3481{ 3481{
3482 int flab1, flab2; 3482 int flab1, flab2;
3483#if 0
3483 int ifindent; 3484 int ifindent;
3484 3485
3485 ifindent = stmtindent; /* save the indent of the "if" instruction */ 3486 ifindent = stmtindent; /* save the indent of the "if" instruction */
3487#endif
3486 flab1 = getlabel(); /* get label number for false branch */ 3488 flab1 = getlabel(); /* get label number for false branch */
3487 test(flab1, TRUE, FALSE); /*get expression, branch to flab1 if false */ 3489 test(flab1, TRUE, FALSE); /*get expression, branch to flab1 if false */
3488 statement(NULL, FALSE); /* if true, do a statement */ 3490 statement(NULL, FALSE); /* if true, do a statement */
diff --git a/src/bin/embryo/embryo_cc_sc6.c b/src/bin/embryo/embryo_cc_sc6.c
index 20c4122faf..f8fc330939 100644
--- a/src/bin/embryo/embryo_cc_sc6.c
+++ b/src/bin/embryo/embryo_cc_sc6.c
@@ -661,7 +661,7 @@ assemble(FILE * fout, FILE * fin)
661 constvalue *constptr; 661 constvalue *constptr;
662 cell mainaddr; 662 cell mainaddr;
663 int nametable, tags, libraries, publics, natives, pubvars; 663 int nametable, tags, libraries, publics, natives, pubvars;
664 int cod, defsize; 664 int cod;
665 665
666#if !defined NDEBUG 666#if !defined NDEBUG
667 /* verify that the opcode list is sorted (skip entry 1; it is reserved 667 /* verify that the opcode list is sorted (skip entry 1; it is reserved
@@ -775,7 +775,7 @@ assemble(FILE * fout, FILE * fin)
775// #ifdef WORDS_BIGENDIAN 775// #ifdef WORDS_BIGENDIAN
776// hdr.flags|=AMX_FLAG_BIGENDIAN; 776// hdr.flags|=AMX_FLAG_BIGENDIAN;
777// #endif 777// #endif
778 defsize = hdr.defsize = sizeof(FUNCSTUB); 778 hdr.defsize = sizeof(FUNCSTUB);
779 assert((hdr.defsize % sizeof(cell)) == 0); 779 assert((hdr.defsize % sizeof(cell)) == 0);
780 publics = hdr.publics = sizeof hdr; /* public table starts right after the header */ 780 publics = hdr.publics = sizeof hdr; /* public table starts right after the header */
781 natives = hdr.natives = hdr.publics + numpublics * sizeof(FUNCSTUB); 781 natives = hdr.natives = hdr.publics + numpublics * sizeof(FUNCSTUB);