mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
Coverity: uninitialized values in ExifEntry_t structure
This commit is contained in:
parent
6dd5e7749b
commit
fc641e2bde
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user