summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-11 17:55:52 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-11 17:55:52 +0200
commit373dcb07bddde02e357601683d8a21066467d802 (patch)
tree15d71e88784d7f7bfa92eab628c5805ca7591a65
parentd8d566bb0f1e1e740c7a76e6f6d0c51a2f65acde (diff)
downloadtdebase-373dcb07bddde02e357601683d8a21066467d802.tar.gz
tdebase-373dcb07bddde02e357601683d8a21066467d802.zip
Fix FTBFS due to missing return values
-rw-r--r--kcontrol/background/KCrossBGRender.cc2
-rw-r--r--kcontrol/iccconfig/iccconfig.cpp2
-rw-r--r--ksysguard/gui/kpm.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/kcontrol/background/KCrossBGRender.cc b/kcontrol/background/KCrossBGRender.cc
index 3158e5699..489e98d1b 100644
--- a/kcontrol/background/KCrossBGRender.cc
+++ b/kcontrol/background/KCrossBGRender.cc
@@ -221,6 +221,8 @@ bool KCrossBGRender::setCurrentEvent(bool init){
return true;
}
}
+
+ return false;
}
TQPixmap KCrossBGRender::getCurrentPixmap()
diff --git a/kcontrol/iccconfig/iccconfig.cpp b/kcontrol/iccconfig/iccconfig.cpp
index 9428be40c..2cf0a58f4 100644
--- a/kcontrol/iccconfig/iccconfig.cpp
+++ b/kcontrol/iccconfig/iccconfig.cpp
@@ -264,7 +264,7 @@ void KICCConfig::updateDisplayedInformation () {
}
TQString KICCConfig::extractFileName(TQString displayName, TQString profileName) {
- //
+ return TQString();
}
int KICCConfig::findProfileIndex(TQString profileName) {
diff --git a/ksysguard/gui/kpm.c b/ksysguard/gui/kpm.c
index 5ce25516a..9f41b3065 100644
--- a/ksysguard/gui/kpm.c
+++ b/ksysguard/gui/kpm.c
@@ -4,5 +4,5 @@
int main()
{
- return execlp( "ksysguard", "ksysguard", "--showprocesses", 0 );
+ return execlp( "ksysguard", "ksysguard", "--showprocesses", NULL );
}