]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix an uninitialized variable
authorMikko Rasa <tdb@tdb.fi>
Tue, 6 Aug 2019 17:11:47 +0000 (20:11 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 6 Aug 2019 17:11:47 +0000 (20:11 +0300)
source/programcompiler.cpp

index f30ccfa6233ad6b6dc8115488210c7f1dbd4c7a5..4c08a0c1e1e34bf84c4e99e0d9f6f33090d6d103 100644 (file)
@@ -352,6 +352,7 @@ void ProgramCompiler::BlockModifier::visit(Block &block)
 
 
 ProgramCompiler::Formatter::Formatter():
+       source_index(0),
        source_line(1),
        indent(0),
        parameter_list(false)