Skip to content

Commit

Permalink
compositorcontroller: fix for rdkshell crash
Browse files Browse the repository at this point in the history
fix for rdkcentral#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 <[email protected]>
  • Loading branch information
Moorthy Baskar committed Jan 8, 2021
1 parent 5141207 commit 667e3e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compositorcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,7 @@ namespace RdkShell
gSplashImage->draw();
}
}
return true;
}

bool CompositorController::addAnimation(const std::string& client, double duration, std::map<std::string, RdkShellData> &animationProperties)
Expand Down

0 comments on commit 667e3e4

Please sign in to comment.