From 2d1c05c1669efa9eeba6f8606c47f92a3b880920 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Thu, 8 Jun 2017 16:35:02 +0200 Subject: 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 099f705..591963f 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() -- cgit v0.12 From 5b02bcf682d8ed851f4733c5af61c471cf00296b Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Thu, 8 Jun 2017 16:40:57 +0200 Subject: 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 b193a27..88ce7cb 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 -- cgit v0.12