[cmake-developers] [PATCH 3/3] Remove superfluous assignment

Levermann, Simon Simon.Levermann at governikus.de
Tue Nov 3 06:09:06 EST 2015


From: Simon Levermann <Simon.Levermann at governikus.de>

---
 Source/CPack/cmCPackDragNDropGenerator.cxx | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Source/CPack/cmCPackDragNDropGenerator.cxx b/Source/CPack/cmCPackDragNDropGenerator.cxx
index ccda0d5..7eb9050 100644
--- a/Source/CPack/cmCPackDragNDropGenerator.cxx
+++ b/Source/CPack/cmCPackDragNDropGenerator.cxx
@@ -311,8 +311,6 @@ int cmCPackDragNDropGenerator::CreateDMG(const std::string& src_dir,
     this->GetOption("CPACK_DMG_DS_STORE")
     ? this->GetOption("CPACK_DMG_DS_STORE") : "";
 
-  slaDirectory = !slaDirectory.empty() ? slaDirectory : "";
-
   const std::string cpack_dmg_languages =
     this->GetOption("CPACK_DMG_LANGUAGES")
       ? this->GetOption("CPACK_DMG_LANGUAGES") : "";
-- 
2.1.4


More information about the cmake-developers mailing list