From 4c4df31bbbbbab726fa9df6b9c9d3738ffedcfe7 Mon Sep 17 00:00:00 2001 From: Hyuk Lee Date: Mon, 8 May 2017 13:51:55 +0900 Subject: [PATCH] Fix build error (add the initializing) Change-Id: Ie38d09f39d1c3eacc7fb5b37fa221262d7c76858 Signed-off-by: Hyuk Lee --- bt-otp/bt-otpserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt-otp/bt-otpserver.c b/bt-otp/bt-otpserver.c index 7950b54..1d2bb31 100644 --- a/bt-otp/bt-otpserver.c +++ b/bt-otp/bt-otpserver.c @@ -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); -- 2.7.4