remove compile warning 24/39924/1
authorSoohye Shin <soohye.shin@samsung.com>
Tue, 26 May 2015 12:53:02 +0000 (21:53 +0900)
committerSoohye Shin <soohye.shin@samsung.com>
Tue, 26 May 2015 12:53:02 +0000 (21:53 +0900)
Change-Id: Ifa473a5f948e55d581352cdba97a50f525970af1
Signed-off-by: Soohye Shin <soohye.shin@samsung.com>
src/engine.cpp

index 1775d96..249606b 100644 (file)
@@ -197,8 +197,10 @@ bool _read_color(JsonReader *reader, gint64 *r, gint64 *g, gint64 *b)
 
 static void _string_to_uppercase(char *str)
 {
-       while (*str != '\0')
-               *(str++) = toupper(*str);
+       while (*str != '\0') {
+               *str = toupper(*str);
+               str++;
+       }
 }
 
 static char *_get_unique_id(const char *object_path, char *uuid)