Skip to content

Commit

Permalink
tests: Remove unused assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
evpobr committed Mar 17, 2021
1 parent 44caf14 commit 0278ebe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/callback_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ callback_test (int converter, double src_ratio)
exit (1) ;
} ;

src_state = src_delete (src_state) ;
src_delete (src_state) ;

if (fabs (read_total / src_ratio - ARRAY_LEN (test_callback_data.data)) > 2.0)
{ printf ("\n\nLine %d : input / output length mismatch.\n\n", __LINE__) ;
Expand Down Expand Up @@ -227,7 +227,7 @@ end_of_stream_test (int converter)
exit (1) ;
} ;

src_state = src_delete (src_state) ;
src_delete (src_state) ;

if (test_callback_data.end_of_data == 0)
{ printf ("\n\nLine %d : test_callback_data.end_of_data should not be 0."
Expand Down
4 changes: 2 additions & 2 deletions tests/clone_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ clone_test (int converter)
} ;
} ;

src_state = src_delete (src_state) ;
src_state_cloned = src_delete (src_state_cloned) ;
src_delete (src_state) ;
src_delete (src_state_cloned) ;

puts ("ok") ;
} /* clone_test */
Expand Down

0 comments on commit 0278ebe

Please sign in to comment.