From 0cb157c95e3c3af13af1f1f4294bf38c414fc7ab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Dec 2014 23:37:23 +0300 Subject: Remove useless checks. --- src/common/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/utils.c') diff --git a/src/common/utils.c b/src/common/utils.c index d73aab066..f4e261222 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -134,7 +134,7 @@ void findfile(const char *p, const char *pat, void (func)(const char*)) sprintf(tmppath,"%s%c%s",path,PATHSEP,FindFileData.cFileName); - if (FindFileData.cFileName && strstr(FindFileData.cFileName, pattern)) { + if (strstr(FindFileData.cFileName, pattern)) { func( tmppath ); } -- cgit v1.2.3-60-g2f50