This warning catches misuse of builtin compare functions memcmp, strcmp, strncmp, strcasecmp, strncasecmp, and their __builtin_ equivalents. These functions return an int representing the relationship between two arguments. Some coders mistaken {-1, 0, 1} as the only three valid return values when the function can return any int value.
This warning is disabled for one of the static analysis tests since the static analyzer has the three return value assumption built in.