Commit b7f01f9f authored by Ken Thompson's avatar Ken Thompson

silence compiler warning

R=r
OCL=19382
CL=19382
parent 869c3f4c
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#undef EXTERN #undef EXTERN
#define EXTERN #define EXTERN
#include "gg.h" #include "gg.h"
//#include "opt.h"
enum enum
{ {
...@@ -92,6 +93,11 @@ if(throwreturn == N) { ...@@ -92,6 +93,11 @@ if(throwreturn == N) {
gclean(); gclean();
checklabels(); checklabels();
// if(debug['N']) {
// regopt(ptxt);
// debug['N'] = 0;
// }
if(curfn->type->outtuple != 0) { if(curfn->type->outtuple != 0) {
gins(ACALL, N, throwreturn); gins(ACALL, N, throwreturn);
} }
...@@ -432,7 +438,7 @@ casecmp(Case *c1, Case *c2) ...@@ -432,7 +438,7 @@ casecmp(Case *c1, Case *c2)
w = whatis(c1->scase); w = whatis(c1->scase);
if(w != whatis(c2->scase)) if(w != whatis(c2->scase))
fatal("casecmp"); fatal("casecmp1");
switch(w) { switch(w) {
case Wlitfloat: case Wlitfloat:
...@@ -445,6 +451,8 @@ casecmp(Case *c1, Case *c2) ...@@ -445,6 +451,8 @@ casecmp(Case *c1, Case *c2)
// case Wlitnil: // case Wlitnil:
} }
fatal("casecmp2");
return 0;
} }
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment