Skip to content

Commit

Permalink
Fixed cppecheck reported issue
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed May 8, 2023
1 parent 8fc649b commit 22f9087
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmake/cppcheck-suppression-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ returnTempReference:*/include/vsg/core/Inherit.h
// suppress inappropriate warning of variableScope
variableScope:*/include/vsg/utils/SharedObjects.h
variableScope:*/src/vsg/utils/SharedObjects.cpp
variableScope:*/src/vsg/app/CompileManager.cpp

// suppress really stupid warning of pointerLessThanZero
pointerLessThanZero:*/src/vsg/app/Viewer.cpp
2 changes: 1 addition & 1 deletion src/vsg/io/Path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Path Path::lexically_normal() const
prev_itr = itr;
--prev_itr;
}
else if (itr != path_segments.end())
else
{
prev_itr = itr;
++itr;
Expand Down

0 comments on commit 22f9087

Please sign in to comment.