From: Hermet Park Date: Thu, 13 Aug 2020 10:15:33 +0000 (+0900) Subject: sw_engine renderer: initialize member data in default. X-Git-Tag: submit/tizen/20200813.110752~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b004363f9826faba339fee469e777423fa9c079;p=platform%2Fcore%2Fgraphics%2Ftizenvg.git sw_engine renderer: initialize member data in default. static analizyer bothers us due to this. we'd rather initialize members for free of them. Change-Id: I23b769b94be7514a8bf6e6d683ddb90b3cd613c4 --- diff --git a/src/lib/sw_engine/tvgSwRenderer.h b/src/lib/sw_engine/tvgSwRenderer.h index b6c7a19..d34c83c 100644 --- a/src/lib/sw_engine/tvgSwRenderer.h +++ b/src/lib/sw_engine/tvgSwRenderer.h @@ -52,7 +52,7 @@ public: void doRender(); //Internally used for threading private: - Surface surface; + Surface surface = {nullptr, 0, 0, 0}; future progress; queue prepareTasks; queue renderTasks;