Browse Source

Suppress compiler warning

Source commit: b86fe3eb04aae9b14f4c105c6ba3c679bd203be2
Martin Prikryl 1 year ago
parent
commit
72afe7ff15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/packages/filemng/DriveView.pas

+ 1 - 1
source/packages/filemng/DriveView.pas

@@ -654,7 +654,7 @@ begin
         end;
         Node := Node.GetNext;
       end;
-      Assert(Count = 0);
+      if Count = 0 then Assert(False); // shut up
     end;
   finally
     FSection.Leave;