From 2d1c05c1669efa9eeba6f8606c47f92a3b880920 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Thu, 8 Jun 2017 16:35:02 +0200 Subject: [PATCH 1/2] cmGlobalGenerator: remove 'return' from void expression --- Source/cmGlobalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 099f705f44..591963f892 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1075,7 +1075,7 @@ bool cmGlobalGenerator::GetLanguageEnabled(const std::string& l) const void cmGlobalGenerator::ClearEnabledLanguages() { - return this->CMakeInstance->GetState()->ClearEnabledLanguages(); + this->CMakeInstance->GetState()->ClearEnabledLanguages(); } void cmGlobalGenerator::CreateLocalGenerators() From 5b02bcf682d8ed851f4733c5af61c471cf00296b Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Thu, 8 Jun 2017 16:40:57 +0200 Subject: [PATCH 2/2] QtDialog/FirstConfigure: remove 'return' from void expression --- Source/QtDialog/FirstConfigure.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/QtDialog/FirstConfigure.cxx b/Source/QtDialog/FirstConfigure.cxx index b193a2782a..88ce7cb8ab 100644 --- a/Source/QtDialog/FirstConfigure.cxx +++ b/Source/QtDialog/FirstConfigure.cxx @@ -301,7 +301,7 @@ QString CrossCompilerSetup::getFindRoot() const void CrossCompilerSetup::setFindRoot(const QString& t) { - return this->crossFindRoot->setText(t); + this->crossFindRoot->setText(t); } int CrossCompilerSetup::getProgramMode() const