Add braces for readability 41/176241/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 17 Apr 2018 23:21:40 +0000 (08:21 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 17 Apr 2018 23:21:40 +0000 (08:21 +0900)
Change-Id: I4d0eee7f3964b912f38f1a0820ffe9fde69f62f9
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/ise-stt-mode.cpp

index 89557ab..eec5aed 100644 (file)
@@ -64,13 +64,14 @@ void voice_result_string_flush()
 
 void ise_stt_stop()
 {
-    if (my_voicedata != NULL)
+    if (my_voicedata != NULL) {
         try {
             my_voicedata->state = STT_STATE_VAL_INIT;
             my_voicedata->sttmanager->Stop();
         }
         catch (is::stt::SttException &e) {
         }
+    }
 }
 
 void send_result_text(void *data)