From 3c3ae723fc533b31842255c41abd17df2e128c9b Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 8 Apr 2008 09:59:54 +0000 Subject: [PATCH] Prevent a compiler warning about unhandled cases. git-svn-id: http://svn.voria.com/code@1990 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/valuenode_dotproduct.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synfig-core/trunk/src/synfig/valuenode_dotproduct.cpp b/synfig-core/trunk/src/synfig/valuenode_dotproduct.cpp index 12a1c11..1df04f9 100644 --- a/synfig-core/trunk/src/synfig/valuenode_dotproduct.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_dotproduct.cpp @@ -99,6 +99,8 @@ ValueNode_DotProduct::operator()(Time t)const return Angle::cos(lhs * rhs / lhs.mag() / rhs.mag()).mod(); case ValueBase::TYPE_REAL: return lhs * rhs; + default: + break; } assert(0); -- 2.7.4