Tidying.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 5 Sep 2007 14:22:52 +0000 (14:22 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 5 Sep 2007 14:22:52 +0000 (14:22 +0000)
git-svn-id: http://svn.voria.com/code@603 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/valuenode_gradientrotate.cpp
synfig-core/trunk/src/synfig/valuenode_stripes.cpp
synfig-core/trunk/src/synfig/valuenode_subtract.cpp
synfig-core/trunk/src/synfig/valuenode_timedswap.cpp
synfig-core/trunk/src/synfig/valuenode_twotone.cpp

index 74d1fdf..187070a 100644 (file)
@@ -168,8 +168,9 @@ ValueNode_GradientRotate::link_local_name(int i)const
                        return _("Gradient");
                case 1:
                        return _("Offset");
+               default:
+                       return String();
        }
-       return String();
 }
 
 String
index c881015..a1a34f8 100644 (file)
@@ -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
index ea97493..3dbebbe 100644 (file)
@@ -261,8 +261,9 @@ ValueNode_Subtract::link_local_name(int i)const
                        return _("RHS");
                case 2:
                        return _("Scalar");
+               default:
+                       return String();
        }
-       return String();
 }
 
 String
index 7469bf1..80df6b4 100644 (file)
@@ -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
index b07e382..f50cdff 100644 (file)
@@ -160,8 +160,9 @@ ValueNode_TwoTone::link_local_name(int i)const
                        return _("Color1");
                case 1:
                        return _("Color2");
+               default:
+                       return String();
        }
-       return String();
 }
 
 String