Commit 77c9cd64 authored by Alexander Wiebel's avatar Alexander Wiebel

[FIX #342] eliminated warnings

parent 7c96b374
......@@ -172,8 +172,8 @@ void WMHomeGlyphs::renderSlice( size_t sliceId )
m_moduleNode = new WGEGroupNode();
debugLog() << "start loop ... " << sliceId;
size_t nA;
size_t nB;
size_t nA = 0; // initialized to quiet compiler
size_t nB = 0; // initialized to quiet compiler
switch( sliceType )
{
case xSlice:
......@@ -222,7 +222,7 @@ void WMHomeGlyphs::renderSlice( size_t sliceId )
size_t glyphId = aId * nB + bId;
size_t vertsUpToCurrentIteration = glyphId * nbVerts;
size_t posId;
size_t posId = 0; // initialized to quiet compiler
switch( sliceType )
{
case xSlice:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment