From 340549802970efe2f2b11755248fd170979b37b2 Mon Sep 17 00:00:00 2001 From: "sooyeon.kim" Date: Tue, 15 Nov 2016 21:18:45 +0900 Subject: [PATCH] Fix coding rule issue Change-Id: I49ff28cbd6883c528b7fd612044513e55357443a Signed-off-by: sooyeon.kim --- engine-parser/src/tts-engine-language-pack-parser.c | 2 +- engine-parser/src/tts-engine-parser.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine-parser/src/tts-engine-language-pack-parser.c b/engine-parser/src/tts-engine-language-pack-parser.c index 3a51b17..117e1e5 100644 --- a/engine-parser/src/tts-engine-language-pack-parser.c +++ b/engine-parser/src/tts-engine-language-pack-parser.c @@ -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, ":"); diff --git a/engine-parser/src/tts-engine-parser.c b/engine-parser/src/tts-engine-parser.c index c5e2e27..7f514bc 100755 --- a/engine-parser/src/tts-engine-parser.c +++ b/engine-parser/src/tts-engine-parser.c @@ -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 { -- 2.7.4