Commit fcad4906 authored by Brad King's avatar Brad King 💬
Browse files

COMP: Fix warnings in cmELF.

parent 6c7d3239
...@@ -85,7 +85,7 @@ public: ...@@ -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: ...@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment