diff options
author | Brad King <brad.king@kitware.com> | 2007-12-29 03:29:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-12-29 03:29:19 (GMT) |
commit | edd5f1f5f1457d4c7221f1b1c4555076bf0969cf (patch) | |
tree | 53a3ae2401ab6ff0fe13f4d7b85020b3df3ac86a /Source/cmDependsFortran.cxx | |
parent | 59aa144516c36ff4b25028c9617383f57e780900 (diff) | |
download | CMake-edd5f1f5f1457d4c7221f1b1c4555076bf0969cf.zip CMake-edd5f1f5f1457d4c7221f1b1c4555076bf0969cf.tar.gz CMake-edd5f1f5f1457d4c7221f1b1c4555076bf0969cf.tar.bz2 |
COMP: Fix uninitialized variable and unused parameter warnings.
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r-- | Source/cmDependsFortran.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx index ec4ae2a..7ffb1c3 100644 --- a/Source/cmDependsFortran.cxx +++ b/Source/cmDependsFortran.cxx @@ -148,7 +148,7 @@ cmDependsFortran::~cmDependsFortran() //---------------------------------------------------------------------------- bool cmDependsFortran::WriteDependencies(const char *src, const char *obj, - std::ostream& makeDepends, std::ostream& internalDepends) + std::ostream&, std::ostream&) { // Make sure this is a scanning instance. if(!src || src[0] == '\0') @@ -319,7 +319,7 @@ void cmDependsFortran::MatchRemoteModules(std::istream& fin, const char* moduleDir) { std::string line; - bool doing_provides; + bool doing_provides = false; while(cmSystemTools::GetLineFromStream(fin, line)) { // Ignore comments and empty lines. |