Fix compiler warnings

These changes eliminate 405 of 571 warnings seen on OS X 10.7.4 with clang.
This commit is contained in:
Daniel Thayer 2012-07-10 15:39:05 -05:00
parent c0bbd78ee1
commit 7f4b0b52f8
11 changed files with 15 additions and 15 deletions

View file

@ -100,7 +100,7 @@ Func* Func::Unserialize(UnserialInfo* info)
if ( ! (id->HasVal() && id->ID_Val()->Type()->Tag() == TYPE_FUNC) )
{
info->s->Error(fmt("ID %s is not a built-in", name));
return false;
return 0;
}
Unref(f);