summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e15c1a3)
raw | patch | inline | side by side (parent: e15c1a3)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 18 Dec 2021 20:56:07 +0000 (23:56 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 18 Dec 2021 20:56:07 +0000 (23:56 +0300) |
src/sfs/sfs.pas | patch | blob | history |
diff --git a/src/sfs/sfs.pas b/src/sfs/sfs.pas
index 5e5c0d258237d2e0cbcd84e0171aaaddf9931b98..11e1045459cc1e894c28a9f35aa20f0e4bf6aafc 100644 (file)
--- a/src/sfs/sfs.pas
+++ b/src/sfs/sfs.pas
while f < volumes.Count do
begin
vi := TVolumeInfo(volumes[f]);
- if vi = nil then continue;
- if (not vi.fPermanent) and (vi.fOpenedFilesCount = 0) then
+ if (vi <> nil) and (not vi.fPermanent) and (vi.fOpenedFilesCount = 0) then
begin
// this volume probably can be removed
used := false;