code: clean up
This commit is contained in:
@@ -132,7 +132,7 @@ void test_data_prepare()
|
||||
char *file_buffer;
|
||||
|
||||
if (test_file_path == NULL) {
|
||||
file_buffer = osfp_score_db_read_file(data_file_path);
|
||||
file_buffer = osfp_read_file(data_file_path);
|
||||
if (file_buffer == NULL) {
|
||||
osfp_log_error("read file: '%s'\n", data_file_path);
|
||||
exit(1);
|
||||
@@ -188,7 +188,7 @@ void test_miss_rate()
|
||||
unsigned int fingerprint_count = 0;
|
||||
char *file_buffer;
|
||||
|
||||
file_buffer = osfp_score_db_read_file(test_file_path);
|
||||
file_buffer = osfp_read_file(test_file_path);
|
||||
if (file_buffer == NULL) {
|
||||
osfp_log_error("read file: '%s'\n", test_file_path);
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user