Skip to content

Commit

Permalink
cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Meakk committed Jun 23, 2023
1 parent 28f019e commit ca51cbc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .cppcheck.supp
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ preprocessorErrorDirective:library/src/engine.cxx
preprocessorErrorDirective:plugins/draco/module/vtkF3DDracoReader.cxx
unknownMacro:library/VTKExtensions/Applicative/vtkF3DObjectFactory.cxx
unusedVariable:*factory.cxx*
constParameter:library/src/image.cxx
1 change: 0 additions & 1 deletion library/src/image.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ unsigned char* image::getData() const
}

//----------------------------------------------------------------------------
// cppcheck-suppress constParameter
bool image::compare(const image& reference, double threshold, image& diff, double& error) const
{
vtkNew<vtkImageDifference> imDiff;
Expand Down

0 comments on commit ca51cbc

Please sign in to comment.