* do not warn about disjunct ranges for internally created cmp nodes

git-svn-id: trunk@30269 -
This commit is contained in:
florian 2015-03-21 22:56:30 +00:00
parent 0bc63c438e
commit a8e001d4ad

View File

@ -2152,7 +2152,7 @@ implementation
inserttypeconv(right,sinttype);
end;
if cmp_of_disjunct_ranges(res) then
if cmp_of_disjunct_ranges(res) and not(nf_internal in flags) then
begin
if res then
CGMessage(type_w_comparison_always_true)