Fix compiler bug.

This commit is contained in:
David Anderson 2014-07-04 22:46:55 -07:00
parent 376eb9725e
commit 79d9a49d28
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,6 @@ class SMConfig(object):
'-fno-strict-aliasing', '-fno-strict-aliasing',
'-Wall', '-Wall',
'-Werror', '-Werror',
'-Wno-uninitialized',
'-Wno-unused', '-Wno-unused',
'-Wno-switch', '-Wno-switch',
'-Wno-format', '-Wno-format',

View File

@ -4881,11 +4881,12 @@ static cell fix_char_size(declinfo_t *decl)
static symbol *funcstub(int tokid, declinfo_t *decl, const int *thistag) static symbol *funcstub(int tokid, declinfo_t *decl, const int *thistag)
{ {
int tok,fpublic; int tok;
char *str; char *str;
cell val,size; cell val,size;
symbol *sym,*sub; symbol *sym,*sub;
int fnative = (tokid == tNATIVE || tokid == tMETHODMAP); int fnative = (tokid == tNATIVE || tokid == tMETHODMAP);
int fpublic = (tokid == tPUBLIC);
lastst=0; lastst=0;
litidx=0; /* clear the literal pool */ litidx=0; /* clear the literal pool */