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

List:       kde-commits
Subject:    playground/devtools/kdevelop4-extra-plugins/csharp/duchain
From:       Jonathan Schmidt-Dominé <devel () the-user ! org>
Date:       2009-11-18 23:25:25
Message-ID: 1258586725.962657.9431.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1051184 by schmidt-domine:

Fixed warnings.


 M  +4 -0      typebuilder.cpp  
 M  +1 -0      typebuilder.h  


--- trunk/playground/devtools/kdevelop4-extra-plugins/csharp/duchain/typebuilder.cpp #1051183:1051184
@@ -37,6 +37,8 @@
 
 StructureType* TypeBuilder::openClass(bool interface, bool /*parameters*/)
 {
+  Q_UNUSED(interface);
+
   StructureType* classType = /*parameters ? new ParameterizedType() :*/ new StructureType();
 
   //classType->setClassType(interface ? StructureType::Interface : StructureType::Class);
@@ -101,6 +103,8 @@
         type = IntegralType::TypeShort;
         modifiers |= AbstractType::UnsignedModifier;
         break;
+      default:
+        break;
     }
 
     IntegralType::Ptr integral(new IntegralType(type));
--- trunk/playground/devtools/kdevelop4-extra-plugins/csharp/duchain/typebuilder.h #1051183:1051184
@@ -63,6 +63,7 @@
 private:
   bool nodeValid(AstNode* node) const;
 
+  /// @TODO Do we need the argument \e parameters or not?
   KDevelop::StructureType* openClass(bool interface, bool parameters);
   KDevelop::FunctionType* openFunction();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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