source: add braces to if statements
authorChulHo Song <ch81.song@samsung.com>
Wed, 3 Feb 2016 02:30:23 +0000 (11:30 +0900)
committerChulHo Song <ch81.song@samsung.com>
Wed, 3 Feb 2016 02:35:30 +0000 (11:35 +0900)
Change-Id: Iccd3f70f0773099c2d38bddb86e7dc1fc3c75eca
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
(cherry picked from commit c390c54dbc94019b5725d1e8b7890bba3e46742e)

tizen/src/emul_state.c

index a78b29b542d980c934c3fbd639ab537131db8056..862a5b8c4081321ffe5b92a52e607ad0014b5582 100644 (file)
@@ -611,10 +611,11 @@ const char *get_sdcard_image_path(void)
     const char *sdcard_path;
     int path_length = strnlen(sdcard_abs_path, sizeof(sdcard_abs_path));
 
-    if (sdcard_abs_path[path_length - 1] != '\\')
+    if (sdcard_abs_path[path_length - 1] != '\\') {
         sdcard_path = g_strdup_printf("%s\\", sdcard_abs_path);
-    else
+    } else {
         sdcard_path = g_strdup(sdcard_abs_path);
+    }
 #endif
     g_free((void*)sdcard_rel_path);