Menu ▾ ▴

#20 Shell controls: two lines whose purpose is unclear

unread
nobody
2026-09-27
2026-09-27
No

Two open questions in components/c_dzShellControls.pas:

  • When setting the root path fails, a commented out Result := RootFolder carries the TODO "Remove the next line?".
  • In CreateWnd, the condition for CreateRoot has a commented out and (Items.Count = 0), with the TODO "What is the Items.Count test for here?".

Both need someone who knows why they were there, or a decision to delete them.

From the TODO scan in issue 12 of dzlib's ISSUES.md.

Discussion


Log in to post a comment.