From b26c30bf2df1cbd55c3f77a9efc5bcbbeab82839 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Mon, 12 Aug 2013 22:04:01 +0900 Subject: [PATCH] Fixed prevent defect Change-Id: I6e0ffffd6905b2f5d3613573aab2aaef997e11aa --- scl/utils/linux/sclutils-linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scl/utils/linux/sclutils-linux.cpp b/scl/utils/linux/sclutils-linux.cpp index e5aa109..96be045 100644 --- a/scl/utils/linux/sclutils-linux.cpp +++ b/scl/utils/linux/sclutils-linux.cpp @@ -233,7 +233,7 @@ CSCLUtilsImplLinux::open_devices() { if (TTS_ERROR_NONE != r) { LOGD("tts_create FAILED : result(%d)", r); } else { - tts_set_mode (tts, TTS_MODE_SCREEN_READER); + r = tts_set_mode (tts, TTS_MODE_SCREEN_READER); } if (TTS_ERROR_NONE != r) { LOGD("tts_set_mode FAILED : result(%d)", r); -- 2.7.4