diff --git a/libtransmission/makemeta.cc b/libtransmission/makemeta.cc index 8dbe8bfdb..96ca22952 100644 --- a/libtransmission/makemeta.cc +++ b/libtransmission/makemeta.cc @@ -74,7 +74,7 @@ static struct FileList* getFiles(char const* dir, char const* base, struct FileL tr_sys_dir_close(odir, nullptr); } - else if (info.type == TR_SYS_PATH_IS_FILE && info.size > 0) + else if (info.type == TR_SYS_PATH_IS_FILE) { auto* const node = tr_new0(FileList, 1); node->size = info.size;