LCL: suppress useless warnings in ShellCtrls unit.

git-svn-id: trunk@62076 -
This commit is contained in:
bart 2019-10-18 16:53:17 +00:00
parent fa7f6f5bbc
commit 5a8f370fce

View File

@ -905,7 +905,7 @@ begin
//Yes, we want to remove the backslash,so don't use ChompPathDelim here
TShellTreeNode(NewNode).FFileInfo.Name := ExcludeTrailingBackslash(pDrive);
//On NT platforms drive-roots really have these attributes
TShellTreeNode(NewNode).FFileInfo.Attr := faDirectory + faSysFile + faHidden;
TShellTreeNode(NewNode).FFileInfo.Attr := faDirectory + faSysFile{%H-} + faHidden{%H-};
TShellTreeNode(NewNode).SetBasePath('');
NewNode.HasChildren := True;
Inc(pDrive, 4);