Index: stubimpl.cpp
===================================================================
RCS file: /home/kde/kdelibs/dcop/dcopidl2cpp/stubimpl.cpp,v
retrieving revision 1.29
diff -u -r1.29 stubimpl.cpp
--- stubimpl.cpp	10 Sep 2003 00:12:12 -0000	1.29
+++ stubimpl.cpp	5 Feb 2005 14:10:20 -0000
@@ -220,6 +220,8 @@
 		    str << "    " << result << " result";
 		    if (isIntType( result ))
 			str << " = 0";
+		    if (result == "float" || result == "double")
+			str << " = 0.0";
 		    else if ( result == "bool" )
 			str << " = false";
 
