Fix build error (add the initializing)
[platform/core/connectivity/bluetooth-frwk.git] / 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);