mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 15:40:16 +02:00
* do not warn about disjunct ranges for internally created cmp nodes
git-svn-id: trunk@30269 -
This commit is contained in:
parent
0bc63c438e
commit
a8e001d4ad
@ -2152,7 +2152,7 @@ implementation
|
|||||||
inserttypeconv(right,sinttype);
|
inserttypeconv(right,sinttype);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if cmp_of_disjunct_ranges(res) then
|
if cmp_of_disjunct_ranges(res) and not(nf_internal in flags) then
|
||||||
begin
|
begin
|
||||||
if res then
|
if res then
|
||||||
CGMessage(type_w_comparison_always_true)
|
CGMessage(type_w_comparison_always_true)
|
||||||
|
Loading…
Reference in New Issue
Block a user