From a7099a9ae2ca4649a1e198d217a6c49bf48e16f5 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Mon, 6 Apr 2020 16:46:44 +0900 Subject: [PATCH] example: return the value properly. this fixes a compile warning: Change-Id: I40979b54309f62c25a6a9a65400f743c74135288 warning: no return statement in function returning non-void [-Wreturn-type] --- example/lottieview.h | 1 + 1 file changed, 1 insertion(+) diff --git a/example/lottieview.h b/example/lottieview.h index 644ba1b..df7a3de 100644 --- a/example/lottieview.h +++ b/example/lottieview.h @@ -431,6 +431,7 @@ public: uint32_t *buffer() { assert(false); + return nullptr; } bool renderRequest(int frame) { -- 2.7.4