diff --git a/cmdline/scan.c b/cmdline/scan.c index 82f3bff0..43fba3ce 100644 --- a/cmdline/scan.c +++ b/cmdline/scan.c @@ -879,6 +879,9 @@ static void scan_file(struct snapraid_scan* scan, int is_diff, const char* sub, /* LCOV_EXCL_STOP */ } } +#else + /* avoid the unused warning in Windows */ + (void)is_original_file_size_different_than_zero; #endif /* insert it */