diff options
author | Brad King <brad.king@kitware.com> | 2006-09-28 17:55:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-09-28 17:55:26 (GMT) |
commit | 7d2de52c1a617a8a559e5c749ce5e6abd3739f01 (patch) | |
tree | 3ae6b364d9f04d7cdcacd6ddc8ddd8f9e9bc0063 /Source/cmVTKWrapJavaCommand.cxx | |
parent | 506dca3990e56281bd0eecd6c26afe6d36caab6e (diff) | |
download | CMake-7d2de52c1a617a8a559e5c749ce5e6abd3739f01.zip CMake-7d2de52c1a617a8a559e5c749ce5e6abd3739f01.tar.gz CMake-7d2de52c1a617a8a559e5c749ce5e6abd3739f01.tar.bz2 |
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.
Diffstat (limited to 'Source/cmVTKWrapJavaCommand.cxx')
-rw-r--r-- | Source/cmVTKWrapJavaCommand.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmVTKWrapJavaCommand.cxx b/Source/cmVTKWrapJavaCommand.cxx index 690ba0a..fd1c16f 100644 --- a/Source/cmVTKWrapJavaCommand.cxx +++ b/Source/cmVTKWrapJavaCommand.cxx @@ -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, ""); } |