[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/libs/kross/ruby
From:       Stephan Kulow <coolo () kde ! org>
Date:       2006-12-17 9:35:27
Message-ID: 1166348127.929570.27787.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 614305 by coolo:

initialize variables (CID 3148)


 M  +2 -2      rubyextension.cpp  


--- trunk/koffice/libs/kross/ruby/rubyextension.cpp #614304:614305
@@ -190,8 +190,8 @@
     QVarLengthArray<int> varianttypes( typelistcount + 1 );
     
     // set the return type
-    int returnTypeId;
-    int returnMetaTypeId;
+    int returnTypeId = QVariant::Invalid;
+    int returnMetaTypeId = QMetaType::Void;
     if(hasreturnvalue) {
         returnTypeId = QVariant::nameToType( metamethod.typeName() );
         if(returnTypeId != QVariant::Invalid) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic