fix unchecked return value 68/17468/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 15 Jul 2013 01:35:06 +0000 (10:35 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 7 Mar 2014 02:00:05 +0000 (11:00 +0900)
Change-Id: Iea325b8c8a7d7d1fa9a87386b3514ed6d8af9db0

ism/extras/efl_panel/isf_panel_efl.cpp

index a177abd..752669e 100644 (file)
@@ -1474,7 +1474,10 @@ static bool ui_open_tts (void)
     }
 
     tts_state_e current_state;
-    tts_get_state (_tts, &current_state);
+    r = tts_get_state (_tts, &current_state);
+    if (TTS_ERROR_NONE != r) {
+        std::cerr << "tts_get_state FAILED : result(" << r << ")\n";
+    }
 
     if (TTS_STATE_CREATED == current_state)  {
         r = tts_prepare (_tts);