From: Sudipto Date: Thu, 24 Oct 2019 07:44:59 +0000 (+0530) Subject: Fix ASAN issue multiple definition of variable X-Git-Tag: accepted/tizen/unified/20191101.042113~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F216385%2F1;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git Fix ASAN issue multiple definition of variable The variable is_battery_monitor_enabled is no longer required as the status of battery monitor is now being stored in vconf Change-Id: I77de898abb1cac6e2dfb8644f02be4adf40d97ff Signed-off-by: Sudipto --- diff --git a/include/bt-internal-types.c b/include/bt-internal-types.c index 402fcdd..1c91f88 100644 --- a/include/bt-internal-types.c +++ b/include/bt-internal-types.c @@ -21,8 +21,6 @@ #include "bt-internal-types.h" -bool is_battery_monitor_enabled = false; - tizen_profile_t profile = _PROFILE_UNKNOWN; bt_plugin_info_t *headed_plugin_info = NULL; diff --git a/include/bt-internal-types.h b/include/bt-internal-types.h index 20eeb1b..39a2da1 100644 --- a/include/bt-internal-types.h +++ b/include/bt-internal-types.h @@ -49,8 +49,6 @@ typedef enum { BT_FTP_SERVER, } bt_server_type_t; -extern bool is_battery_monitor_enabled; - typedef enum { BT_SYNC_REQ, BT_ASYNC_REQ