Makefiles: Remove valueless cast.

This commit is contained in:
Stephen Kelly 2015-07-19 16:35:36 +02:00
parent 223f4a662f
commit 3fcf383763
1 changed files with 1 additions and 3 deletions

View File

@ -498,9 +498,7 @@ cmGlobalUnixMakefileGenerator3
for(std::vector<cmLocalGenerator*>::iterator sdi = for(std::vector<cmLocalGenerator*>::iterator sdi =
lg->GetChildren().begin(); sdi != lg->GetChildren().end(); ++sdi) lg->GetChildren().begin(); sdi != lg->GetChildren().end(); ++sdi)
{ {
cmLocalUnixMakefileGenerator3* slg = std::string subdir = (*sdi)->GetMakefile()->GetCurrentBinaryDirectory();
static_cast<cmLocalUnixMakefileGenerator3*>(*sdi);
std::string subdir = slg->GetMakefile()->GetCurrentBinaryDirectory();
subdir += "/"; subdir += "/";
subdir += pass; subdir += pass;
depends.push_back(subdir); depends.push_back(subdir);