From 667e3e49a84f316cd0ea3968f49025aba4af235c Mon Sep 17 00:00:00 2001 From: Moorthy Baskar Date: Fri, 8 Jan 2021 13:22:59 +0000 Subject: [PATCH] compositorcontroller: fix for rdkshell crash fix for #54 return statement of CompositorController::draw() is missed as its return type is bool. Upon having a return type but no return value, rdkshell encounters segmentation fault while building it on higher version of gcc Signed-off-by: Moorthy Baskar --- compositorcontroller.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/compositorcontroller.cpp b/compositorcontroller.cpp index e193dbe..26ebe1c 100644 --- a/compositorcontroller.cpp +++ b/compositorcontroller.cpp @@ -1140,6 +1140,7 @@ namespace RdkShell gSplashImage->draw(); } } + return true; } bool CompositorController::addAnimation(const std::string& client, double duration, std::map &animationProperties)