COMP: Fix uninitialized variable and unused parameter warnings.

This commit is contained in:
Brad King 2007-12-28 22:29:19 -05:00
parent 59aa144516
commit edd5f1f5f1

View File

@ -148,7 +148,7 @@ cmDependsFortran::~cmDependsFortran()
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
bool cmDependsFortran::WriteDependencies(const char *src, const char *obj, 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. // Make sure this is a scanning instance.
if(!src || src[0] == '\0') if(!src || src[0] == '\0')
@ -319,7 +319,7 @@ void cmDependsFortran::MatchRemoteModules(std::istream& fin,
const char* moduleDir) const char* moduleDir)
{ {
std::string line; std::string line;
bool doing_provides; bool doing_provides = false;
while(cmSystemTools::GetLineFromStream(fin, line)) while(cmSystemTools::GetLineFromStream(fin, line))
{ {
// Ignore comments and empty lines. // Ignore comments and empty lines.