Fix svace defects 63/113863/1 accepted/tizen_3.0_ivi accepted/tizen/3.0/common/20170215.121152 accepted/tizen/3.0/ivi/20170215.065222 accepted/tizen/3.0/mobile/20170215.065135 accepted/tizen/3.0/tv/20170215.065158 accepted/tizen/3.0/wearable/20170215.065208 submit/tizen_3.0/20170214.082223
authorKyungwook Tak <k.tak@samsung.com>
Thu, 9 Feb 2017 06:48:15 +0000 (15:48 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Thu, 9 Feb 2017 06:48:15 +0000 (15:48 +0900)
Change-Id: I66ecb17a5ca78ac7e3f64181b57039251c189b41
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
src/manager/service/db-row.h

index 722e149..97edfab 100644 (file)
@@ -43,11 +43,11 @@ struct Row : public Token {
 
        Name name;
        Label ownerLabel;
-       int exportable;
-       DBCMAlgType algorithmType;  // Algorithm type used for row data encryption
-       int encryptionScheme;       // for example: (ENCR_BASE64 | ENCR_PASSWORD)
+       int exportable = 0;
+       DBCMAlgType algorithmType = DBCMAlgType::NONE; // Row data encryption algorithm
+       int encryptionScheme = 0;   // for example: (ENCR_BASE64 | ENCR_PASSWORD)
        RawBuffer iv;               // encoded in base64
-       int dataSize;               // size of information without hash and padding
+       int dataSize = 0;           // size of information without hash and padding
        RawBuffer tag;              // tag for Aes Gcm algorithm
 };