Fixed a gazillion of warnings occuring when compiling Wagic with Clang with Werror.

This commit is contained in:
Xawotihs@gmail.com
2013-06-09 21:16:39 +00:00
parent 7990540096
commit 26ab65860e
75 changed files with 303 additions and 242 deletions

View File

@@ -147,7 +147,7 @@ void WLBFont::FormatText(string &s, vector<string>& output)
}
}
WFBFont::WFBFont(int inFontID, const char *fontname, int lineheight, bool useVideoRAM) :
WFBFont::WFBFont(int inFontID, const char *fontname, int lineheight, bool) :
WFont(inFontID)
{
mRenderer = JRenderer::GetInstance();
@@ -594,7 +594,7 @@ float WFBFont::GetHeight() const
}
// Legacy : GBK encoding
WGBKFont::WGBKFont(int inFontID, const char *fontname, int lineheight, bool useVideoRAM) :
WGBKFont::WGBKFont(int inFontID, const char *fontname, int lineheight, bool) :
WFBFont(inFontID)
{
mRenderer = JRenderer::GetInstance();