From ac76138f9103f86f110871ed6e8f764af212d50f Mon Sep 17 00:00:00 2001 From: Sudipto Date: Thu, 24 Oct 2019 13:14:59 +0530 Subject: [PATCH] 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 --- include/bt-internal-types.c | 2 -- include/bt-internal-types.h | 2 -- 2 files changed, 4 deletions(-) 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 -- 2.7.4