mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 01:46:32 -05:00
Removes unused code.
This commit is contained in:
parent
3caa251d83
commit
35fb2085dc
2 changed files with 0 additions and 26 deletions
|
|
@ -299,13 +299,6 @@ int filter_content(tommy_list* contentlist, const char* path)
|
|||
if (pathcmp(tmp, path) == 0)
|
||||
return -1;
|
||||
|
||||
#if USE_BACKUP
|
||||
/* exclude also the ".backup" copy */
|
||||
pathprint(tmp, sizeof(tmp), "%s.backup", content->content);
|
||||
if (pathcmp(tmp, path) == 0)
|
||||
return -1;
|
||||
#endif
|
||||
|
||||
/* exclude also the ".lock" file */
|
||||
pathprint(tmp, sizeof(tmp), "%s.lock", content->content);
|
||||
if (pathcmp(tmp, path) == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue