Chore (Linux): silience compiler warnings

This commit is contained in:
Carter Li
2025-07-15 23:11:19 +08:00
committed by 李通洲
parent 30b1e29785
commit a734f18fd5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ const char* ffDetectDisksImpl(FFDiskOptions* options, FFlist* disks)
while((device = getmntent(mountsFile)))
{
if (__builtin_expect(options->folders.length, 0))
if (__builtin_expect(options->folders.length > 0, false))
{
if (!ffDiskMatchMountpoint(&options->folders, device->mnt_dir))
continue;