From cf335f8258aa127dce323c2cf97d22dc2b9f7802 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Wed, 18 Nov 2015 23:17:10 +0100 Subject: [PATCH] Avoid an unused variable warning in the Windows builds --- cmdline/scan.c | 3 +++ 1 file changed, 3 insertions(+) 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 */