Skip to content
Snippets Groups Projects
Commit b37ffdf5 authored by Julien Michel's avatar Julien Michel
Browse files

COV: Fixing coverity issues (structuraly dead code)

parent b1096cdb
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,6 @@ const std::type_info& ImageIOBase::GetComponentTypeInfo() const
default:
itkExceptionMacro ("Unknown component type: " << m_ComponentType);
}
return typeid(ImageIOBase::UnknownType);
}
//
......@@ -715,7 +714,6 @@ std::string ImageIOBase::GetFileTypeAsString(FileType t) const
default:
return s = "TypeNotApplicable";
}
return s="TypeNotApplicable";
}
std::string ImageIOBase::GetByteOrderAsString(ByteOrder t) const
......@@ -731,7 +729,6 @@ std::string ImageIOBase::GetByteOrderAsString(ByteOrder t) const
default:
return s = "OrderNotApplicable";
}
return s="OrderNotApplicable";
}
std::string ImageIOBase::GetComponentTypeAsString(IOComponentType t) const
......@@ -771,8 +768,6 @@ std::string ImageIOBase::GetComponentTypeAsString(IOComponentType t) const
default:
return (s = "unknown");
}
return (s="unknown");
}
std::string ImageIOBase::GetPixelTypeAsString(IOPixelType t) const
......@@ -804,8 +799,6 @@ std::string ImageIOBase::GetPixelTypeAsString(IOPixelType t) const
default:
itkExceptionMacro ("Unknown pixel type: " << t);
}
return (s="unknown");
}
namespace {
......
......@@ -55,7 +55,6 @@ VectorDataIOBase
default:
return s = "OrderNotApplicable";
}
return s = "OrderNotApplicable";
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment