Remove redundant test in fserv.c

This commit is contained in:
Kevin Easton
2017-11-24 23:47:37 +11:00
parent c426c0dcca
commit 862137d975

View File

@@ -293,7 +293,7 @@ char *fs = NULL;
*dir = 0; *dir = 0;
for (new = fserv_files; new; new = new->next) for (new = fserv_files; new; new = new->next)
{ {
if (!pattern || (pattern && wild_match(pattern, new->filename))) if (!pattern || wild_match(pattern, new->filename))
{ {
char *p; char *p;
p = strrchr(new->filename, '/'); p = strrchr(new->filename, '/');