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

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/kconfig_compiler
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2005-07-12 6:59:21
Message-ID: 1121151561.915126.30309.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 433917 by aseigo:

don't declare variables that aren't used in dpointer mode


 M  +4 -1      kconfig_compiler.cpp  


--- trunk/KDE/kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp #433916:433917
@@ -1571,7 +1571,10 @@
         cpp << "  }" << endl;
       }
     }
-    cpp << itemDeclaration(e);
+
+    if (!dpointer)
+      cpp << itemDeclaration(e);
+
     if (e->param().isEmpty())
     {
       // Normal case
[prev in list] [next in list] [prev in thread] [next in thread] 

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