COMP: Fix warnings in cmELF.

This commit is contained in:
Brad King 2008-02-28 08:32:05 -05:00
parent 6c7d32394c
commit fcad490654

View File

@ -85,7 +85,7 @@ public:
} }
// Destruct and delete the file stream object. // Destruct and delete the file stream object.
~cmELFInternal() virtual ~cmELFInternal()
{ {
delete &this->Stream; delete &this->Stream;
} }
@ -187,6 +187,9 @@ public:
} }
switch(this->ELFType) switch(this->ELFType)
{ {
case cmELF::FileTypeInvalid:
os << " invalid file";
break;
case cmELF::FileTypeRelocatableObject: case cmELF::FileTypeRelocatableObject:
os << " relocatable object"; os << " relocatable object";
break; break;