From aceabd1b534ab672e777fd70f41bd8f8aa6560b5 Mon Sep 17 00:00:00 2001 From: Pawel Date: Thu, 26 Jul 2012 11:54:13 +0200 Subject: [PATCH] 0023353: Graphic3d_NOM_STONE used twice in an if-clause. Graphic3d_NOM_STONE appeared twice in the if-clause. --- src/ViewerTest/ViewerTest.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ViewerTest/ViewerTest.cxx b/src/ViewerTest/ViewerTest.cxx index 56ed1d8a44..148208c8cd 100755 --- a/src/ViewerTest/ViewerTest.cxx +++ b/src/ViewerTest/ViewerTest.cxx @@ -134,7 +134,6 @@ static Graphic3d_NameOfMaterial GetMaterialFromName( const char *name ) else if ( !strcasecmp(name,"STONE" ) ) mat = Graphic3d_NOM_STONE; else if ( !strcasecmp(name,"CHROME" ) ) mat = Graphic3d_NOM_CHROME; else if ( !strcasecmp(name,"ALUMINIUM" ) ) mat = Graphic3d_NOM_ALUMINIUM; - else if ( !strcasecmp(name,"STONE" ) ) mat = Graphic3d_NOM_STONE; else if ( !strcasecmp(name,"NEON_PHC" ) ) mat = Graphic3d_NOM_NEON_PHC; else if ( !strcasecmp(name,"NEON_GNC" ) ) mat = Graphic3d_NOM_NEON_GNC; else if ( !strcasecmp(name,"PLASTER" ) ) mat = Graphic3d_NOM_PLASTER;