diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-19 14:35:36 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-24 18:05:37 (GMT) |
commit | 3fcf383763e80b90e30fa06b29e0751ca19ab983 (patch) | |
tree | b5a0f690ed20895170459018f0ea079c33b7ce61 /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | 223f4a662fbe2caff92186e0875737fe3727a4fd (diff) | |
download | CMake-3fcf383763e80b90e30fa06b29e0751ca19ab983.zip CMake-3fcf383763e80b90e30fa06b29e0751ca19ab983.tar.gz CMake-3fcf383763e80b90e30fa06b29e0751ca19ab983.tar.bz2 |
Makefiles: Remove valueless cast.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index b240924..d951c13 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -498,9 +498,7 @@ cmGlobalUnixMakefileGenerator3 for(std::vector<cmLocalGenerator*>::iterator sdi = lg->GetChildren().begin(); sdi != lg->GetChildren().end(); ++sdi) { - cmLocalUnixMakefileGenerator3* slg = - static_cast<cmLocalUnixMakefileGenerator3*>(*sdi); - std::string subdir = slg->GetMakefile()->GetCurrentBinaryDirectory(); + std::string subdir = (*sdi)->GetMakefile()->GetCurrentBinaryDirectory(); subdir += "/"; subdir += pass; depends.push_back(subdir); |