[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs (silent)
From: Urs Wolfer <uwolfer () kde ! org>
Date: 2008-08-27 16:59:55
Message-ID: 1219856395.229311.20738.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 853397 by uwolfer:
SVN_SILENT
silence some compiler warnings
M +1 -0 kdecore/config/kconfigbackend.cpp
M +3 -2 kdeui/dialogs/kswitchlanguagedialog_p.cpp
M +2 -2 kjs/nodes2bytecode.cpp
--- trunk/KDE/kdelibs/kdecore/config/kconfigbackend.cpp #853396:853397
@@ -64,6 +64,7 @@
BackendPtr KConfigBackend::create(const KComponentData& componentData, const QString& file,
const QString& sys)
{
+ Q_UNUSED(componentData);
//qDebug() << "creating a backend for file" << file << "with system" << sys;
const QString system = (sys.isEmpty() ? Private::whatSystem(file) : sys);
KConfigBackend* backend = 0;
--- trunk/KDE/kdelibs/kdeui/dialogs/kswitchlanguagedialog_p.cpp #853396:853397
@@ -188,18 +188,19 @@
void KSwitchLanguageDialog::languageOnButtonChanged(const QString & languageCode)
{
+ Q_UNUSED(languageCode);
+#if 0
for ( int i = 0, count = d->languageButtons.count(); i < count; ++i )
{
KLanguageButton *languageButton = d->languageButtons[i];
-#if 0
if (languageButton->current() == languageCode)
{
//update all buttons which have matching id
//might update buttons which were not changed, but well...
languageButton->setText(KGlobal::locale()->languageCodeToName(languageCode));
}
+ }
#endif
- }
}
void KSwitchLanguageDialog::slotOk()
--- trunk/KDE/kdelibs/kjs/nodes2bytecode.cpp #853396:853397
@@ -1458,14 +1458,14 @@
comp->popNest();
// Jump over the catch if try is OK
- Addr jumpOverCatch;
+ Addr jumpOverCatch = 0;
if (catchBlock)
jumpOverCatch = CodeGen::emitOp(comp, Op_Jump, 0, OpValue::dummyAddr());
// Exceptions would go here --- either in a catch or a finally.
CodeGen::patchJumpToNext(comp, setCatchHandler, 0);
- Addr catchToFinallyEH;
+ Addr catchToFinallyEH = 0;
if (catchBlock) {
// If there is a finally block, that acts as an exception handler for the catch;
// we need to set it before entering the catch scope, so the cleanup entries for that
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic