Browse Source

eliminate silly gcc 4.0 warning

David Rose 20 years ago
parent
commit
7c6a5de476
1 changed files with 1 additions and 2 deletions
  1. 1 2
      panda/src/egg/eggMesherStrip.I

+ 1 - 2
panda/src/egg/eggMesherStrip.I

@@ -63,9 +63,8 @@ INLINE float EggMesherStrip::
 coplanarity(const EggMesherStrip &other) const {
   if (_planar && other._planar) {
     return 1.0 - dot(_plane_normal, other._plane_normal);
-  } else {
-    return 3.0;
   }
+  return 3.0;
 }
 
 ////////////////////////////////////////////////////////////////////