[Lazarus] Redundant assigned(X) and (X is Txxx) in Laz. sources

Vojtěch Čihák vojtech.cihak at atlas.cz
Fri Jan 12 19:38:04 CET 2018


Hi,
 
I wrote a small routine to search Lazarus sources and it found about 60 places similar to this (taborderdlg.pas, line 398):
 
if Assigned(LookupRoot) and (LookupRoot is TWinControl) then begin
 
Should I make a patch for all occurences?
 
V.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180112/e6865ec9/attachment.html>


More information about the Lazarus mailing list