Fix coding rule issue 60/97960/1 accepted/tizen/3.0/common/20161121.141048 accepted/tizen/3.0/ivi/20161121.074218 accepted/tizen/3.0/mobile/20161121.074057 accepted/tizen/3.0/tv/20161121.074114 accepted/tizen/3.0/wearable/20161121.074145 submit/tizen_3.0/20161118.085800
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 12:18:45 +0000 (21:18 +0900)
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 {