Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers.

This commit is contained in:
Roberto Raggi
2010-12-16 12:05:48 +01:00
parent 63522a04e5
commit b4e421062f
83 changed files with 135 additions and 135 deletions

View File

@@ -281,7 +281,7 @@ QByteArray GLSLEditorPlugin::glslFile(const QString &fileName)
void GLSLEditorPlugin::parseGlslFile(const QString &fileName, InitFile *initFile)
{
// Parse the builtins for any langugage variant so we can use all keywords.
const int variant = GLSL::Lexer::Variant_All;
const unsigned variant = GLSL::Lexer::Variant_All;
const QByteArray code = glslFile(fileName);
initFile->engine = new GLSL::Engine();