forked from qt-creator/qt-creator
Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user