Remove braces {} by coding rules 09/178509/1
authorHyunil <hyunil46.park@samsung.com>
Thu, 10 May 2018 07:29:56 +0000 (16:29 +0900)
committerHyunil <hyunil46.park@samsung.com>
Thu, 10 May 2018 07:29:56 +0000 (16:29 +0900)
WARNING: [BRC_R_SST] braces {} are not necessary for single statement blocks

Change-Id: I1c225d8f96e3f1e5dda1eec9175c6483c1bb9e1c
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
src/mm_player_priv.c

index cf58305..09d4e86 100755 (executable)
@@ -11782,9 +11782,8 @@ __mmplayer_eos_timer_cb(gpointer u_data)
        if (count == -1) {
                gint ret_value = 0;
                ret_value = __gst_set_position(player, MM_PLAYER_POS_FORMAT_TIME, 0, TRUE);
-               if (ret_value != MM_ERROR_NONE) {
+               if (ret_value != MM_ERROR_NONE)
                        LOGE("seeking to 0 failed in repeat play");
-               }
        } else {
                /* posting eos */
                MMPLAYER_POST_MSG(player, MM_MESSAGE_END_OF_STREAM, NULL);