Disk (BSD): silence compiler warnings

This commit is contained in:
Carter Li
2025-01-27 23:52:59 +08:00
parent abadcb95bd
commit fe7c4f724e
+1 -1
View File
@@ -143,7 +143,7 @@ const char* ffDetectDisksImpl(FFDiskOptions* options, FFlist* disks)
for(struct statfs* fs = buf; fs < buf + size; ++fs)
{
if(__builtin_expect(options->folders.length, 0))
if(__builtin_expect(options->folders.length > 0, 0))
{
if(!ffDiskMatchMountpoint(options, fs->f_mntonname))
continue;