From: Jeongho Mok Date: Tue, 4 Apr 2017 05:41:12 +0000 (+0900) Subject: Remove using uninitialized value in testsuite X-Git-Tag: accepted/tizen/unified/20170406.055101^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24bb6d2f0112f5175ea1c1bc5b43cf714c605394;p=platform%2Fcore%2Fapi%2Fwav-player.git Remove using uninitialized value in testsuite Change-Id: I253824085b7bd078d2f38923049496fff76f1fe7 --- diff --git a/test/wav_player_test.c b/test/wav_player_test.c index b95409f..4732d11 100644 --- a/test/wav_player_test.c +++ b/test/wav_player_test.c @@ -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;