Thanks Eric, fix looks good and is now check in, clearly a copy and paste error slipped in that thankfully is now fixed. Cheers, Robert.
On Sun, Sep 28, 2008 at 10:52 AM, Erik den Dekker <[EMAIL PROTECTED]> wrote: > I received a compiler warning in osgDB::registry::readObjectOfType while > compiling SVN trunk with MSVC 2008. > > > > > > ..\..\..\..\src\osgDB\Registry.cpp(910) : warning C4806: '==' : unsafe > operation: no value of type 'bool' promoted to type > 'osgDB::Registry::LoadStatus' can equal the given constant > > > > > > A quick review of the code revealed a piece of code that was clearly wrong, > possibly due to a copy-and-paste error. > > > > Although I do not use the particular piece of code and hence have not tested > the changed code, I suggest that it is changed as attached. > > > > Erik den Dekker > > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
