diff src/vamp-hostsdk/Files.cpp @ 406:b7268e8bd292

Build tweaks for OS/X
author Chris Cannam
date Tue, 16 Jun 2015 13:37:18 +0100
parents 67704de2bb54
children 35fa4733bc5d
line wrap: on
line diff
--- a/src/vamp-hostsdk/Files.cpp	Tue Jun 16 13:25:13 2015 +0100
+++ b/src/vamp-hostsdk/Files.cpp	Tue Jun 16 13:37:18 2015 +0100
@@ -261,8 +261,6 @@
     struct dirent *e = 0;
     while ((e = readdir(d))) {
  
-        if (!e->d_name) continue;
-       
         size_t len = strlen(e->d_name);
         if (len < extlen + 2 ||
             e->d_name + len - extlen - 1 != "." + extension) {