X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fsfs%2Fsfs.pas;h=c3c74104eea81ca00bcd9e0004125e7f86272072;hb=01c9a29799525526658398f627b8be9f8f11e903;hp=67136e9ab0c96e900accb49a8635ba56582f1768;hpb=7bc7d5022ae82e37fee8b3003432f9294176a470;p=d2df-editor.git diff --git a/src/sfs/sfs.pas b/src/sfs/sfs.pas index 67136e9..c3c7410 100644 --- a/src/sfs/sfs.pas +++ b/src/sfs/sfs.pas @@ -456,8 +456,7 @@ begin 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;