fix warnings
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Wed, 19 Aug 2020 01:36:54 +0000 (10:36 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 23 Aug 2020 21:11:23 +0000 (06:11 +0900)
src/lottie/lottiefiltermodel.h
src/lottie/lottieitem.cpp
src/lottie/lottieparser.cpp
src/vector/vdrawable.cpp

index 27c94ca..b2b98b1 100644 (file)
@@ -224,7 +224,7 @@ private:
         PointFunc pointFunc;
         SizeFunc  sizeFunc;
         details() {}
-        ~details() {}
+        ~details() noexcept {}
     } impl;
 };
 
index 5fdf28b..7cd25cc 100644 (file)
@@ -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();
 
index e4611ce..e5ef037 100644 (file)
@@ -254,7 +254,7 @@ public:
     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;
     }
index 4bc154c..c8ff02b 100644 (file)
@@ -29,7 +29,7 @@ VDrawable::VDrawable(VDrawable::Type type)
     setType(type);
 }
 
-VDrawable::~VDrawable()
+VDrawable::~VDrawable() noexcept
 {
     if (mStrokeInfo) {
         if (mType == Type::StrokeWithDash) {