Fix a warning from GCC - 'ALIAS' was unhandled in the switch stmt.

This commit is contained in:
jmt 2009-06-20 09:33:44 +00:00 committed by Tim Moore
parent b633b8d0d3
commit c958d63897

View 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;
}