Skip to content

Commit

Permalink
cppcheck: Disable warning for ImageProperties assignment operator.
Browse files Browse the repository at this point in the history
Disable this warning because the variable is question is always
assigned in a function that is called by the assignment operator
function.
  • Loading branch information
linuxdude42 committed Jan 3, 2023
1 parent 0fd0ea0 commit 43f16b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/libs/libmythui/mythuiimage.cpp
Expand Up @@ -60,6 +60,9 @@ ImageProperties::~ImageProperties()
m_maskImage->DecrRef();
}

// The m_maskImage field is assigned in the call to SetMaskImage().
//
// cppcheck-suppress operatorEqVarError
void ImageProperties::Copy(const ImageProperties &other)
{
m_filename = other.m_filename;
Expand Down

0 comments on commit 43f16b1

Please sign in to comment.