Fix coding rule issue 78/97978/1 accepted/tizen/common/20161118.184404 accepted/tizen/ivi/20161121.012640 accepted/tizen/mobile/20161121.012457 accepted/tizen/tv/20161121.012534 accepted/tizen/wearable/20161121.012608 submit/tizen/20161118.092204
authorsooyeon.kim <sooyeon.kim@samsung.com>
Tue, 15 Nov 2016 12:18:45 +0000 (21:18 +0900)
committerSooyeon Kim <sooyeon.kim@samsung.com>
Tue, 15 Nov 2016 13:06:51 +0000 (05:06 -0800)
Change-Id: I49ff28cbd6883c528b7fd612044513e55357443a
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
engine-parser/src/tts-engine-language-pack-parser.c
engine-parser/src/tts-engine-parser.c

index 3a51b17..117e1e5 100644 (file)
@@ -150,7 +150,7 @@ static void __insert_language_from_metadata(xmlNodePtr root, const char *languag
        voices_node = xmlNewNode(NULL, (const xmlChar*)TTS_TAG_ENGINE_VOICE_SET);
 
        voice = strsep(&tmp_lang, ",");
-       while(NULL != voice) {
+       while (NULL != voice) {
                LOGD("voice (%s)", voice);
                voice_node = xmlNewNode(NULL, (const xmlChar*)TTS_TAG_ENGINE_VOICE);
                lang = strsep(&voice, ":");
index c5e2e27..7f514bc 100755 (executable)
@@ -159,7 +159,7 @@ static void __insert_language_from_metadata(xmlNodePtr root, const char *languag
        voices_node = xmlNewNode(NULL, (const xmlChar*)TTS_TAG_ENGINE_VOICE_SET);
 
        voice = strsep(&tmp_lang, ",");
-       while(NULL != voice) {
+       while (NULL != voice) {
                LOGD("voice (%s)", voice);
                voice_node = xmlNewNode(NULL, (const xmlChar*)TTS_TAG_ENGINE_VOICE);
                lang = strsep(&voice, ":");
@@ -186,7 +186,7 @@ int PKGMGR_MDPARSER_PLUGIN_INSTALL(const char *pkgid, const char *appid, GList *
        uid_t uid = 0;
        int ret = -1;
        ret = pkgmgr_installer_info_get_target_uid(&uid);
-       if (ret < 0 ) {
+       if (ret < 0) {
                LOGE("[ERROR] Fail to get target uid");
                return 0;
        } else {