From 76dea3d0f48a3d939328aba85e384023232ed953 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 14 Mar 2011 09:59:32 +0000 Subject: [PATCH] From Torben Dannhauer, warning fix for a false positive warning generated by VS about "not all control pathes return a value". --- src/osgViewer/View.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgViewer/View.cpp b/src/osgViewer/View.cpp index 98072a966..ed29cdc15 100644 --- a/src/osgViewer/View.cpp +++ b/src/osgViewer/View.cpp @@ -1685,6 +1685,7 @@ bool DepthPartitionSettings::getDepthRange(osg::View& view, unsigned int partiti return false; } + default: return false; } }