From: Ji-hoon Lee Date: Mon, 12 Aug 2019 05:56:28 +0000 (+0900) Subject: Remove unnecessary static local variable usage X-Git-Tag: submit/tizen/20190813.103339~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F26%2F211926%2F2;p=platform%2Fcore%2Fuifw%2Fwakeup-engine-default.git Remove unnecessary static local variable usage Change-Id: I4d51ad1d9daee9141dcaf2f5aba4d988c25b4bea --- diff --git a/plugins/wakeup-manager/src/wakeup_manager.cpp b/plugins/wakeup-manager/src/wakeup_manager.cpp index 0eaeb2c..71e9d0b 100644 --- a/plugins/wakeup-manager/src/wakeup_manager.cpp +++ b/plugins/wakeup-manager/src/wakeup_manager.cpp @@ -401,7 +401,7 @@ bool CWakeupManager::process_event(ma_plugin_event_e event, void* data, int len) event_info.wakeup_end_time = get_current_milliseconds_after_epoch(); event_info.wakeup_engine = WAKEUP_ENGINE_VOICE_KEY; - static string appid = mWakeupSettings.get_default_assistant_appid(); + string appid = mWakeupSettings.get_default_assistant_appid(); event_info.wakeup_appid = appid.c_str(); set_last_wakeup_event_info(event_info);