From: Hyuk Lee Date: Mon, 8 May 2017 04:51:55 +0000 (+0900) Subject: Fix build error (add the initializing) X-Git-Tag: accepted/tizen/unified/20170508.153107^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git;a=commitdiff_plain;h=4c4df31bbbbbab726fa9df6b9c9d3738ffedcfe7 Fix build error (add the initializing) Change-Id: Ie38d09f39d1c3eacc7fb5b37fa221262d7c76858 Signed-off-by: Hyuk Lee --- 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);