It is not generated if the non-zeroconstant evaluates to 1 because of its use for selectively choosing code paths.
如果非零常数的计算结果为1,则不会生成此警告,因为1用于有选择地选择代码路径。
2
This warning indicates that a non-zeroconstant value, other than one, was detected on the left side of a logical-AND operation that occurs in a test context.