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

List:       kde-commits
Subject:    [KDevelop-Python] 66fe424: Fix build error
From:       Sven Brauch <svenbrauch () googlemail ! com>
Date:       2010-12-18 11:16:43
Message-ID: 20101218111643.136BEA608F () git ! kde ! org
[Download RAW message or body]

commit 66fe42485932b876ae5a34aabf40bd5fbce84d92
branch master
Author: Sven Brauch <svenbrauch@googlemail.com>
Date:   Sat Dec 18 12:20:15 2010 +0100

    Fix build error

diff --git a/duchain/declarationbuilder.cpp b/duchain/declarationbuilder.cpp
index 4044f21..c2ce2e0 100644
--- a/duchain/declarationbuilder.cpp
+++ b/duchain/declarationbuilder.cpp
@@ -169,12 +169,13 @@ template<typename T> T* DeclarationBuilder::visitVariableDeclaration(Identifier*
                         dec->setType(unsure);
                     }
                 }
-            }else{
+            } else {
                 qDebug() << "Existing declaration with no type from last declaration.";
                 dec->setType(lastType());
             }
-        }else{
+        } else {
             qDebug() << "Existing declaration with no type.";
+        }
     }
     
     T* result = dynamic_cast<T*>(dec);
[prev in list] [next in list] [prev in thread] [next in thread] 

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