Fix build error (add the initializing) 12/128212/1 accepted/tizen/unified/20170508.153107 submit/tizen/20170508.015850
authorHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 8 May 2017 04:51:55 +0000 (13:51 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 8 May 2017 04:51:55 +0000 (13:51 +0900)
Change-Id: Ie38d09f39d1c3eacc7fb5b37fa221262d7c76858
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
bt-otp/bt-otpserver.c

index 7950b54..1d2bb31 100644 (file)
@@ -647,7 +647,7 @@ void _bt_otp_unregister_interface(void)
 
 void convert_to_hex(struct object_metadata *object, char *type, char *value)
 {
-       struct tm *tm;
+       struct tm *tm = NULL;
 
        BT_DBG("type : %s", type);