Coverity: uninitialized values in ExifEntry_t structure
This commit is contained in:
@@ -52,6 +52,12 @@ namespace {
|
|||||||
namespace cv
|
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
|
* @brief ExifReader constructor
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -111,6 +111,8 @@ typedef std::pair<uint32_t, uint32_t> u_rational_t;
|
|||||||
*/
|
*/
|
||||||
struct ExifEntry_t
|
struct ExifEntry_t
|
||||||
{
|
{
|
||||||
|
ExifEntry_t();
|
||||||
|
|
||||||
std::vector<u_rational_t> field_u_rational; ///< vector of rational fields
|
std::vector<u_rational_t> field_u_rational; ///< vector of rational fields
|
||||||
std::string field_str; ///< any kind of textual information
|
std::string field_str; ///< any kind of textual information
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user