mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Fix build warning
This commit is contained in:
parent
34b6a47e5e
commit
ab5bc0ead8
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ static int filter_apply(struct snapraid_filter* filter, struct snapraid_filter**
|
|||
ret = filter->direction;
|
||||
} else {
|
||||
/* then try to match after all the / presents */
|
||||
char* slash = strchr(path, '/');
|
||||
const char* slash = strchr(path, '/');
|
||||
while (slash) {
|
||||
if (wnmatch_sub(filter->pattern, slash + 1, match_sub) == 0) {
|
||||
ret = filter->direction;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue