Skip to content

Commit

Permalink
VideoMetadata: fix Coverity ID 700889 Uninitialized pointer field
Browse files Browse the repository at this point in the history
In VideoMetadata::VideoMetadata(): A pointer field is not initialized in the
constructor (false positive because it's a copy constructor so the field will
be copied anyway)
  • Loading branch information
Paul Harrison committed Jun 2, 2013
1 parent 9dac848 commit c5d482d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythmetadata/videometadata.cpp
Expand Up @@ -1142,7 +1142,7 @@ VideoMetadata::VideoMetadata(MSqlQuery &query)
m_imp = new VideoMetadataImp(query);
}

VideoMetadata::VideoMetadata(const VideoMetadata &rhs)
VideoMetadata::VideoMetadata(const VideoMetadata &rhs) : m_imp(NULL)
{
*this = rhs;
}
Expand Down

0 comments on commit c5d482d

Please sign in to comment.