Cppcheck warnings.
This commit is contained in:
parent
57c85f97e6
commit
2e835c2af2
|
@ -37,6 +37,7 @@
|
|||
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_GCC("-Weffc++")
|
||||
// cppcheck-suppress unknownMacro
|
||||
QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor")
|
||||
QT_WARNING_DISABLE_CLANG("-Wnon-virtual-dtor")
|
||||
|
||||
|
|
|
@ -1113,6 +1113,7 @@ VPassmark VPiece::CreatePassmark(const QVector<VPieceNode> &path, int previousIn
|
|||
passmarkData.id = path.at(passmarkIndex).GetId();
|
||||
passmarkData.globalPassmarkLength = ToPixel(GlobalPassmarkLength(data), *data->GetPatternUnit());
|
||||
|
||||
// cppcheck-suppress unknownMacro
|
||||
QT_WARNING_POP
|
||||
|
||||
return VPassmark(passmarkData);
|
||||
|
|
Loading…
Reference in New Issue
Block a user