]> git.mxchange.org Git - simgear.git/commitdiff
Fix a warning from GCC - 'ALIAS' was unhandled in the switch stmt.
authorjmt <jmt>
Sat, 20 Jun 2009 09:33:44 +0000 (09:33 +0000)
committerTim Moore <timoore@redhat.com>
Tue, 23 Jun 2009 08:42:42 +0000 (10:42 +0200)
simgear/props/condition.cxx

index da4f20f9af3852370661dde320e2a223ff052d9f..7a382cd30ee44a66985ec9ab01742109bd39f81c 100644 (file)
@@ -213,8 +213,10 @@ doComparison (const SGPropertyNode * left, const SGPropertyNode *right)
       return SGComparisonCondition::EQUALS;
     break;
   }
+  default:
+    throw sg_exception("condition: unrecognized node type in comparison");
   }
-  throw sg_exception("condition: unrecognized node type in comparison");
+  
   return 0;
 }