summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-29 03:29:19 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-29 03:29:19 (GMT)
commitedd5f1f5f1457d4c7221f1b1c4555076bf0969cf (patch)
tree53a3ae2401ab6ff0fe13f4d7b85020b3df3ac86a /Source/cmDependsFortran.cxx
parent59aa144516c36ff4b25028c9617383f57e780900 (diff)
downloadCMake-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.cxx4
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.