Hi Hugo,

This warning comes from Google Closure Compiler, which we use for JS
minification.

You can use the -js-compiler-option to pass additional options to Closure
Compiler.

https://apache.github.io/royale-docs/compiler/compiler-options#js-compiler-option

There seems to be options for disabling certain categories of warnings.

https://github.com/google/closure-compiler/wiki/Warnings

--
Josh Tynjala
Bowler Hat LLC
https://bowlerhat.dev/


On Wed, Nov 19, 2025 at 11:24 AM Hugo Ferreira <[email protected]>
wrote:

> Hi,
>
> How to ignore this kind of warning: WARNING - Suspicious code ?
>
> Regards,
> Hugo.
>

Reply via email to