Remove unnecessary static local variable usage
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 12 Aug 2019 05:56:28 +0000 (14:56 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 12 Aug 2019 08:06:11 +0000 (17:06 +0900)
Change-Id: I4d51ad1d9daee9141dcaf2f5aba4d988c25b4bea

plugins/wakeup-manager/src/wakeup_manager.cpp

index 0eaeb2c..71e9d0b 100644 (file)
@@ -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);