1
0
mirror of https://github.com/golang/go synced 2024-11-26 11:48:03 -07:00

silence compiler warning

R=r
OCL=19382
CL=19382
This commit is contained in:
Ken Thompson 2008-11-17 12:55:22 -08:00
parent 869c3f4cd0
commit b7f01f9f41

View File

@ -6,6 +6,7 @@
#undef EXTERN
#define EXTERN
#include "gg.h"
//#include "opt.h"
enum
{
@ -92,6 +93,11 @@ if(throwreturn == N) {
gclean();
checklabels();
// if(debug['N']) {
// regopt(ptxt);
// debug['N'] = 0;
// }
if(curfn->type->outtuple != 0) {
gins(ACALL, N, throwreturn);
}
@ -432,7 +438,7 @@ casecmp(Case *c1, Case *c2)
w = whatis(c1->scase);
if(w != whatis(c2->scase))
fatal("casecmp");
fatal("casecmp1");
switch(w) {
case Wlitfloat:
@ -445,6 +451,8 @@ casecmp(Case *c1, Case *c2)
// case Wlitnil:
}
fatal("casecmp2");
return 0;
}
void