From 96cff859ced749519ac36c00170407f1590e4655 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Fri, 7 Jan 2022 21:53:12 +0100 Subject: [PATCH] Remove unnecessary #if --- cmdline/scan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmdline/scan.c b/cmdline/scan.c index cb86cc7e..5b9e365e 100644 --- a/cmdline/scan.c +++ b/cmdline/scan.c @@ -1032,7 +1032,6 @@ static void scan_file(struct snapraid_scan* scan, int is_diff, const char* sub, /* mark it as present */ file_flag_set(file, FILE_IS_PRESENT); -#if 1 /* if copy detection is enabled */ /* note that the copy detection is tried also for updated files */ /* this makes sense because it may happen to have two different copies */ @@ -1076,7 +1075,6 @@ static void scan_file(struct snapraid_scan* scan, int is_diff, const char* sub, } } } -#endif /* if not yet reported, do it now */ /* we postpone this to avoid to print two times the copied files */