From: <fr...@us...> - 2021-03-06 05:09:38
|
This is an automated email from the git hooks/post-receive-user script. fredm pushed a commit to branch master in repository libspectrum. View the commit online: https://sourceforge.net/p/fuse-emulator/libspectrum/ci/091a35cae0218e267e31a541fdb1f92601311c6c/ The following commit(s) were added to refs/heads/master by this push: new 091a35c Fix a compilation warning in test 72 091a35c is described below commit 091a35cae0218e267e31a541fdb1f92601311c6c Author: Fredrick Meunier <fr...@sp...> AuthorDate: Sat Mar 6 16:08:45 2021 +1100 Fix a compilation warning in test 72 --- test/test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test.c b/test/test.c index e9a1bde..363e30c 100644 --- a/test/test.c +++ b/test/test.c @@ -824,7 +824,6 @@ test_72( void ) size_t filesize = 0; libspectrum_tape *tape; libspectrum_tape_iterator it; - libspectrum_tape_block *block; libspectrum_tape_type expected_next_block_types[19] = { LIBSPECTRUM_TAPE_BLOCK_TURBO, /* ROM */ LIBSPECTRUM_TAPE_BLOCK_PURE_TONE, /* Turbo */ @@ -867,7 +866,7 @@ test_72( void ) libspectrum_free( buffer ); - block = libspectrum_tape_iterator_init( &it, tape ); + libspectrum_tape_iterator_init( &it, tape ); while( libspectrum_tape_iterator_peek_next( it ) ) { @@ -880,7 +879,7 @@ test_72( void ) break; } - block = libspectrum_tape_iterator_next( &it ); + libspectrum_tape_iterator_next( &it ); next_block_type++; blocks_processed++; } |