diff --git a/AMBuildScript b/AMBuildScript index 892e849a..dffad09e 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -163,7 +163,6 @@ class SMConfig(object): '-fno-strict-aliasing', '-Wall', '-Werror', - '-Wno-uninitialized', '-Wno-unused', '-Wno-switch', '-Wno-format', diff --git a/sourcepawn/compiler/sc1.c b/sourcepawn/compiler/sc1.c index a9ae861d..20af2c98 100644 --- a/sourcepawn/compiler/sc1.c +++ b/sourcepawn/compiler/sc1.c @@ -4881,11 +4881,12 @@ static cell fix_char_size(declinfo_t *decl) static symbol *funcstub(int tokid, declinfo_t *decl, const int *thistag) { - int tok,fpublic; + int tok; char *str; cell val,size; symbol *sym,*sub; int fnative = (tokid == tNATIVE || tokid == tMETHODMAP); + int fpublic = (tokid == tPUBLIC); lastst=0; litidx=0; /* clear the literal pool */