diff --git a/libclamav/scanners.c b/libclamav/scanners.c index 0f76e032bc..b4c47df156 100644 --- a/libclamav/scanners.c +++ b/libclamav/scanners.c @@ -2484,15 +2484,9 @@ static bool is_url(const char *const str) bool bRet = false; size_t i; -#if 0 - MATCH(str, "https://"); - MATCH(str, "http://"); - MATCH(str, "ftp://"); -#else for (i = 0; i < sizeof(URI_LIST) / sizeof(URI_LIST[0]); i++) { MATCH(str, URI_LIST[i]); } -#endif done: return bRet; #undef MATCH