example: return the value properly. accepted/tizen/unified/20200409.083726 submit/tizen/20200406.235844 submit/tizen/20200407.212858 submit/tizen/20200408.212617
authorHermet Park <chuneon.park@samsung.com>
Mon, 6 Apr 2020 07:46:44 +0000 (16:46 +0900)
committerHermet Park <chuneon.park@samsung.com>
Mon, 6 Apr 2020 07:52:33 +0000 (16:52 +0900)
this fixes a compile warning:

Change-Id: I40979b54309f62c25a6a9a65400f743c74135288
warning: no return statement in function returning non-void [-Wreturn-type]

example/lottieview.h

index 644ba1b..df7a3de 100644 (file)
@@ -431,6 +431,7 @@ public:
 
     uint32_t *buffer() {
         assert(false);
+        return nullptr;
     }
 
     bool renderRequest(int frame) {