From 22c6fa15659c3fecfe163078935a3bedeb2bf9b1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 4 Nov 2002 09:07:25 +0000 Subject: [PATCH] Fixed warning under Visual.NET --- src/osgGA/AnimationPathManipulator.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/osgGA/AnimationPathManipulator.cpp b/src/osgGA/AnimationPathManipulator.cpp index abb929e94..c83da81ba 100644 --- a/src/osgGA/AnimationPathManipulator.cpp +++ b/src/osgGA/AnimationPathManipulator.cpp @@ -46,14 +46,10 @@ bool AnimationPathManipulator::handle(const osgGA::GUIEventAdapter& ea,osgGA::GU { case GUIEventAdapter::FRAME: handleFrame( ea.time() ); - + retval = true; break; case GUIEventAdapter::KEYBOARD: - switch( ea.getKey()) - { - default: - retval = false; - } + retval = false; break; default: break;