From 483982de3a7439f088e1e2ac044d629c82f65d80 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 7 Jul 2016 07:31:15 +0100 Subject: [PATCH] Fixed coverity issue --- src/osgGA/SphericalManipulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgGA/SphericalManipulator.cpp b/src/osgGA/SphericalManipulator.cpp index e7ada201a..3f8906740 100644 --- a/src/osgGA/SphericalManipulator.cpp +++ b/src/osgGA/SphericalManipulator.cpp @@ -284,7 +284,7 @@ bool SphericalManipulator::calcMovement() float dx=0.0f; float dy=0.0f; - unsigned int buttonMask=osgGA::GUIEventAdapter::NONE; + unsigned int buttonMask=0; if (_ga_t0->getEventType()==GUIEventAdapter::SCROLL) {