From e4f997ee99c00530f47a6e44310dc34478984911 Mon Sep 17 00:00:00 2001 From: Parth Aggarwal Date: Tue, 21 Jul 2020 17:50:46 -0400 Subject: [PATCH] fixed copy pasta --- interfaces/tests/file_int/file_int.c | 1 - interfaces/tests/file_int/file_int_helpers.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/interfaces/tests/file_int/file_int.c b/interfaces/tests/file_int/file_int.c index 1ff4dff..b9bf792 100644 --- a/interfaces/tests/file_int/file_int.c +++ b/interfaces/tests/file_int/file_int.c @@ -604,7 +604,6 @@ TEST_FUNCTION(large_simultaneous_reads_succeed) { destinations[i] = (unsigned char*)malloc(block_size); ASSERT_IS_NOT_NULL(destinations[i]); - (void)memset(destinations[i], 'a' + i, block_size); contexts[i].pre_callback_value = num_blocks + 1; (void)interlocked_exchange(&contexts[i].value, contexts[i].pre_callback_value); contexts[i].post_callback_value = i; diff --git a/interfaces/tests/file_int/file_int_helpers.h b/interfaces/tests/file_int/file_int_helpers.h index f3db6ce..cd0124a 100644 --- a/interfaces/tests/file_int/file_int_helpers.h +++ b/interfaces/tests/file_int/file_int_helpers.h @@ -13,7 +13,7 @@ extern "C" { #include #endif -void delete_file(const char* filename); +int delete_file(const char* filename); bool check_file_exists(const char* filename); #ifdef __cplusplus