ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed.

This commit is contained in:
Brad King
2006-09-28 13:55:26 -04:00
parent 506dca3990
commit 7d2de52c1a
11 changed files with 17 additions and 43 deletions
+3 -4
View File
@@ -190,9 +190,8 @@ void cmVTKWrapJavaCommand::FinalPass()
alldepends.push_back(res2);
}
const char* no_output = 0;
const char* no_working_directory = 0;
this->Makefile->AddUtilityCommand((this->LibraryName+"JavaClasses").c_str(),
true, no_output,
alldepends, no_working_directory, "");
this->Makefile->AddUtilityCommand(
(this->LibraryName+"JavaClasses").c_str(),
true, alldepends, no_working_directory, "");
}