Commit e0c4c990 authored by Jan Möbius's avatar Jan Möbius
Browse files

Try to silence cppcheck warning on unused variable

parent 667de4ce
......@@ -310,8 +310,9 @@ draw(GLState& _state, const DrawModes::DrawMode& _drawMode)
// using static bitflags for drawmodes is no longer recommended
// read from properties instead:
bool shaded = false,
smooth = false,
bool shaded = false;
bool smooth = false;
bool
wires = ((this->drawMode() == DrawModes::DEFAULT) ||
this->drawMode().getLayerIndexByPrimitive(DrawModes::PRIMITIVE_WIREFRAME) >= 0 ||
_drawMode.getLayerIndexByPrimitive(DrawModes::PRIMITIVE_WIREFRAME) >= 0),
......
Supports Markdown
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