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

COV: Fixing coverity issues (uninitialized scalar field)

parent d93338a8
No related branches found
No related tags found
No related merge requests found
......@@ -470,7 +470,7 @@ ImageFileWriter<TInputImage>
if(imageIO.IsNull())
{
otb::ImageFileWriterException e(__FILE__, __LINE__);
itk::ImageFileWriterException e(__FILE__, __LINE__);
std::ostringstream msg;
msg << " ImageIO is of kind GDALImageIO, but fails to dynamic_cast (this should never happen)."<< std::endl;
e.SetDescription(msg.str().c_str());
......
......@@ -29,7 +29,7 @@ namespace otb
*/
template <class TInputImage>
MapFileProductWriter<TInputImage>
::MapFileProductWriter(): m_TileSize(256), m_SRID(26918)
::MapFileProductWriter(): m_TileSize(256), m_SRID(26918), m_CurrentDepth(0)
{
m_GenericRSResampler = GenericRSResamplerType::New();
......
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