Fix Coverity issue 57/225757/3
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 24 Feb 2020 09:06:12 +0000 (18:06 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 2 Mar 2020 04:41:06 +0000 (04:41 +0000)
Change-Id: Ibf087565f72071ce5e76219a22ee206784739b78

dali-toolkit/internal/visuals/npatch-loader.h

index 0d39d0d7aea9edd4d169c428c7711aa87f5455a5..6bdc2f95128f2a907adcf4657918181cd45913ee 100644 (file)
@@ -66,7 +66,13 @@ public:
   struct Data
   {
     Data()
-    : loadCompleted( false )
+    : url(),
+      textureSet(),
+      hash( 0 ),
+      croppedWidth( 0 ),
+      croppedHeight( 0 ),
+      border( 0, 0, 0, 0 ),
+      loadCompleted( false )
     {}
 
     std::string url;                              ///< Url of the N-Patch