From: dooglus Date: Wed, 5 Sep 2007 14:22:52 +0000 (+0000) Subject: Tidying. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=537bbdbf5b44201ef6cb7b6495e6256993c9bf01;p=synfig.git Tidying. git-svn-id: http://svn.voria.com/code@603 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/valuenode_gradientrotate.cpp b/synfig-core/trunk/src/synfig/valuenode_gradientrotate.cpp index 74d1fdf..187070a 100644 --- a/synfig-core/trunk/src/synfig/valuenode_gradientrotate.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_gradientrotate.cpp @@ -168,8 +168,9 @@ ValueNode_GradientRotate::link_local_name(int i)const return _("Gradient"); case 1: return _("Offset"); + default: + return String(); } - return String(); } String diff --git a/synfig-core/trunk/src/synfig/valuenode_stripes.cpp b/synfig-core/trunk/src/synfig/valuenode_stripes.cpp index c881015..a1a34f8 100644 --- a/synfig-core/trunk/src/synfig/valuenode_stripes.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_stripes.cpp @@ -221,8 +221,9 @@ ValueNode_Stripes::link_local_name(int i)const return _("Stripe Count"); case 3: return _("Width"); + default: + return String(); } - return String(); } String diff --git a/synfig-core/trunk/src/synfig/valuenode_subtract.cpp b/synfig-core/trunk/src/synfig/valuenode_subtract.cpp index ea97493..3dbebbe 100644 --- a/synfig-core/trunk/src/synfig/valuenode_subtract.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_subtract.cpp @@ -261,8 +261,9 @@ ValueNode_Subtract::link_local_name(int i)const return _("RHS"); case 2: return _("Scalar"); + default: + return String(); } - return String(); } String diff --git a/synfig-core/trunk/src/synfig/valuenode_timedswap.cpp b/synfig-core/trunk/src/synfig/valuenode_timedswap.cpp index 7469bf1..80df6b4 100644 --- a/synfig-core/trunk/src/synfig/valuenode_timedswap.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_timedswap.cpp @@ -290,8 +290,9 @@ ValueNode_TimedSwap::link_local_name(int i)const return _("Swap Time"); case 3: return _("Swap Duration"); + default: + return 0; } - return 0; } String diff --git a/synfig-core/trunk/src/synfig/valuenode_twotone.cpp b/synfig-core/trunk/src/synfig/valuenode_twotone.cpp index b07e382..f50cdff 100644 --- a/synfig-core/trunk/src/synfig/valuenode_twotone.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_twotone.cpp @@ -160,8 +160,9 @@ ValueNode_TwoTone::link_local_name(int i)const return _("Color1"); case 1: return _("Color2"); + default: + return String(); } - return String(); } String