From f749de123631803c6ab0c910443c3554dd950735 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 27 Jun 2016 11:14:53 +0100 Subject: [PATCH] Removed redundent checks --- src/osgPlugins/OpenFlight/VertexPaletteManager.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/osgPlugins/OpenFlight/VertexPaletteManager.cpp b/src/osgPlugins/OpenFlight/VertexPaletteManager.cpp index 8c647cb09..ab0e4f0e6 100644 --- a/src/osgPlugins/OpenFlight/VertexPaletteManager.cpp +++ b/src/osgPlugins/OpenFlight/VertexPaletteManager.cpp @@ -231,20 +231,12 @@ VertexPaletteManager::writeRecords( const osg::Vec3dArray* v, const osg::Vec4Arr break; case VERTEX_CN: opcode = VERTEX_CN_OP; - if (!n) - OSG_WARN << "fltexp: VPM::writeRecords: no normal array." << std::endl; break; case VERTEX_CNT: opcode = VERTEX_CNT_OP; - if (!n) - OSG_WARN << "fltexp: VPM::writeRecords: no normal array." << std::endl; - if (!t) - OSG_WARN << "fltexp: VPM::writeRecords: no tex coord array." << std::endl; break; case VERTEX_CT: opcode = VERTEX_CT_OP; - if (!t) - OSG_WARN << "fltexp: VPM::writeRecords: no tex coord array." << std::endl; break; }