Remove using uninitialized value in testsuite 64/122964/1 accepted/tizen/unified/20170406.055101 submit/tizen/20170405.072228 tizen_4.0.m1_release
authorJeongho Mok <jho.mok@samsung.com>
Tue, 4 Apr 2017 05:41:12 +0000 (14:41 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Tue, 4 Apr 2017 05:41:12 +0000 (14:41 +0900)
Change-Id: I253824085b7bd078d2f38923049496fff76f1fe7

test/wav_player_test.c

index b95409f..4732d11 100644 (file)
@@ -60,7 +60,6 @@ void stream_focus_cb(sound_stream_info_h stream_info, sound_stream_focus_mask_e
 void wav_play_test(const char* file_path, int iterate, int stream_type)
 {
        int ret = 0;
-       int i;
        sound_stream_info_h stream_info;
        sound_stream_type_e type;
 
@@ -98,7 +97,7 @@ void wav_play_test(const char* file_path, int iterate, int stream_type)
 
        printf("Play Wav, File Path : %s, Iterate : %d\n", file_path, iterate);
        ret = wav_player_start_loop(file_path, stream_info, iterate, _player_stop_cb, (void*)stream_info, &gid);
-       printf("wav_player_start(%d)(id=%d) ret = %d\n", i, gid, ret);
+       printf("wav_player_start(id=%d) ret = %d\n", gid, ret);
        if (ret) {
                sound_manager_destroy_stream_information(stream_info);
                return;