[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/dcop/dcopidl2cpp
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2005-02-05 16:41:21
Message-ID: 20050205164121.7EB9C1D019 () office ! kde ! org
[Download RAW message or body]
CVS commit by staniek:
fixed "warning: local variable 'result'
used without having been initialized"
M +2 -0 stubimpl.cpp 1.30
--- kdelibs/dcop/dcopidl2cpp/stubimpl.cpp #1.29:1.30
@@ -221,4 +221,6 @@ void generateStubImpl( const QString& id
if (isIntType( result ))
str << " = 0";
+ if (result == "float" || result == "double")
+ str << " = 0.0";
else if ( result == "bool" )
str << " = false";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic