Commit fc641e2b authored by Maksim Shabunin's avatar Maksim Shabunin

Coverity: uninitialized values in ExifEntry_t structure

parent 6dd5e774
......@@ -52,6 +52,12 @@ namespace {
namespace cv
{
ExifEntry_t::ExifEntry_t() :
field_float(0), field_double(0), field_u32(0), field_s32(0),
tag(0), field_u16(0), field_s16(0), field_u8(0), field_s8(0)
{
}
/**
* @brief ExifReader constructor
*/
......
......@@ -111,6 +111,8 @@ typedef std::pair<uint32_t, uint32_t> u_rational_t;
*/
struct ExifEntry_t
{
ExifEntry_t();
std::vector<u_rational_t> field_u_rational; ///< vector of rational fields
std::string field_str; ///< any kind of textual information
......
Markdown is supported
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