From: prathmeshm Date: Tue, 27 Mar 2018 12:15:15 +0000 (+0530) Subject: Fix warning reported by static analysis tool X-Git-Tag: submit/tizen_4.0/20180403.105454^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_4.0;p=platform%2Fframework%2Fweb%2Fwrt-service.git Fix warning reported by static analysis tool - Fix Id 107783 - Reported by coverity - Uninitliized member variables Change-Id: I3a8635d344b24311a31ffe4b4e3e068a0144da59 Signed-off-by: prathmeshm --- diff --git a/src/node/gcontext.cpp b/src/node/gcontext.cpp index b6d5597..b62662c 100644 --- a/src/node/gcontext.cpp +++ b/src/node/gcontext.cpp @@ -37,7 +37,16 @@ struct poll_handler { std::list fd_list; }; -GContext::GContext():initialized_(false){ +GContext::GContext() + : initialized_(false), + context_(NULL), + max_priority_(0), + fd_list_(NULL), + fd_list_size_(0), + fd_count_(0), + prepare_handle_(NULL), + check_handle_(NULL), + timeout_handle_(NULL){ } GContext::~GContext(){