diff options
author | David Robillard <d@drobilla.net> | 2017-12-29 10:19:14 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-29 10:44:36 -0500 |
commit | 8c13a50d14f01935919bfb774b02d0cbfdd42fd7 (patch) | |
tree | fd7005e97cd18b5c334fd823492b81e4392f9984 | |
parent | 9244ef0b3f4401152b0d6b5368a85495c332c2b2 (diff) | |
download | lilv-8c13a50d14f01935919bfb774b02d0cbfdd42fd7.tar.gz lilv-8c13a50d14f01935919bfb774b02d0cbfdd42fd7.tar.bz2 lilv-8c13a50d14f01935919bfb774b02d0cbfdd42fd7.zip |
Remove dead code
-rw-r--r-- | src/util.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -548,11 +548,6 @@ lilv_dir_for_each(const char* path, #else DIR* dir = opendir(path); if (dir) { - long name_max = pathconf(path, _PC_NAME_MAX); - if (name_max == -1) { - name_max = 255; // Limit not defined, or error - } - for (struct dirent* entry; (entry = readdir(dir));) { f(path, entry->d_name, data); } |