From edd5f1f5f1457d4c7221f1b1c4555076bf0969cf Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 28 Dec 2007 22:29:19 -0500 Subject: COMP: Fix uninitialized variable and unused parameter warnings. --- Source/cmDependsFortran.cxx | 4 ++-- 1 file 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. -- cgit v0.12