This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX: strcmp NE strEQ().
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 5 Feb 2016 21:37:58 +0000 (16:37 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 7 Feb 2016 13:23:46 +0000 (08:23 -0500)
commitf33b12f351ef63991bb640a426dc78b081a602d1
treefd1ea618175b9b4c61fe555b50f0243a77435f19
parentddc7c5c7d33132a836845f632085f65497425023
POSIX: strcmp NE strEQ().

CID 135006: Constant expression result (CONSTANT_EXPRESSION_RESULT)

The Coverity 'detail' is priceless:

always_true_or: The "or" condition strcmp(strings->name, "decimal_point") || strcmp(strings->name, "thousands_sep") || strcmp(strings->name, "grouping") will always be true because strings->name cannot be equal to two different values at the same time, so it must be not equal to at least one of them.
ext/POSIX/POSIX.xs