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

List:       kde-commits
Subject:    kdevelop/parts/classview
From:       Roberto Raggi <roberto () kdevelop ! org>
Date:       2003-09-24 23:47:41
[Download RAW message or body]

CVS commit by raggi: 

removed a lot of gcc warnings


  M +8 -5      classviewpart.cpp   1.50
  M +1 -1      viewcombos.cpp   1.6


--- kdevelop/parts/classview/classviewpart.cpp  #1.49:1.50
@@ -430,5 +430,5 @@ void ClassViewPart::syncCombos( )
             " endLine " << endLine << " line " << line << endl;
 
-        if ( (line >= startLine) && (line <= endLine) )
+        if ( (int(line) >= startLine) && (int(line) <= endLine) )
         {
             fndom = *it;
@@ -505,5 +505,5 @@ void ClassViewPart::syncCombos( )
                 " endLine " << endLine << " line " << line << endl;
 
-            if ( (line >= startLine) && (line <= endLine) )
+            if ( (int(line) >= startLine) && (int(line) <= endLine) )
             {
                 fndom = *it;
@@ -659,14 +659,17 @@ void ClassViewPart::activePartChanged( K
 }
 
-NamespaceDom ClassViewPart::syncNamespaces( const FileDom & dom )
+NamespaceDom ClassViewPart::syncNamespaces( const FileDom & /*dom*/ )
 {
+    return NamespaceDom();
 }
 
-ClassDom ClassViewPart::syncClasses( const NamespaceDom & dom )
+ClassDom ClassViewPart::syncClasses( const NamespaceDom & /*dom*/ )
 {
+    return ClassDom();
 }
 
-FunctionDom ClassViewPart::syncFunctions( const ClassDom & dom )
+FunctionDom ClassViewPart::syncFunctions( const ClassDom & /*dom*/ )
 {
+    return FunctionDom();
 }
 

--- kdevelop/parts/classview/viewcombos.cpp  #1.5:1.6
@@ -209,5 +209,5 @@ void processClass( ClassViewPart *part, 
 }
 
-void processFunction( ClassViewPart *part, KComboView *view, FunctionItem * item )
+void processFunction( ClassViewPart* /*part*/, KComboView* /*view*/, FunctionItem* /*item*/ )
 {
     //@todo allow nested functions (adymo: Pascal has nested procedures and functions)


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

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