kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #29125
[PATCH 2/2] Remove redundant statement in WRL2BASE::ReadNode
---
plugins/3d/vrml/v2/vrml2_base.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/3d/vrml/v2/vrml2_base.cpp b/plugins/3d/vrml/v2/vrml2_base.cpp
index d0e3bee00..bfc88d55d 100644
--- a/plugins/3d/vrml/v2/vrml2_base.cpp
+++ b/plugins/3d/vrml/v2/vrml2_base.cpp
@@ -481,7 +481,7 @@ bool WRL2BASE::ReadNode( WRLPROC& proc, WRL2NODE* aParent, WRL2NODE** aNode )
if( !glob.compare( "EXTERNPROTO" ) )
{
- if( !proc.ReadName( glob ) || !proc.ReadName( glob ) || !proc.DiscardList() )
+ if( !proc.ReadName( glob ) || !proc.DiscardList() )
{
#if defined( DEBUG_VRML2 ) && ( DEBUG_VRML2 > 1 )
do {
Follow ups
References