Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
smohantty committed Aug 19, 2020
1 parent f6b554e commit 4f17e31
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lottie/lottiefiltermodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class LOTVariant {
PointFunc pointFunc;
SizeFunc sizeFunc;
details() {}
~details() {}
~details() noexcept {}
} impl;
};

Expand Down
2 changes: 1 addition & 1 deletion src/lottie/lottieitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ void renderer::Mask::preprocess(const VRect &clip)
}

void renderer::Layer::render(VPainter *painter, const VRle &inheritMask,
const VRle &matteRle, SurfaceCache &cache)
const VRle &matteRle, SurfaceCache &)
{
auto renderlist = renderList();

Expand Down
2 changes: 1 addition & 1 deletion src/lottie/lottieparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class LottieParserImpl : public LookaheadParserHandler {
void getValue(model::Repeater::Transform &);

template <typename T, typename Tag>
bool parseKeyFrameValue(const char *key, model::Value<T, Tag> &value)
bool parseKeyFrameValue(const char *, model::Value<T, Tag> &)
{
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/vector/vdrawable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ VDrawable::VDrawable(VDrawable::Type type)
setType(type);
}

VDrawable::~VDrawable()
VDrawable::~VDrawable() noexcept
{
if (mStrokeInfo) {
if (mType == Type::StrokeWithDash) {
Expand Down

0 comments on commit 4f17e31

Please sign in to comment.