Try fixing bogus coverity warnings, take n

This commit is contained in:
vitaut
2015-10-22 07:33:01 -07:00
parent b64913b00b
commit fb27723a9f
2 changed files with 10 additions and 3 deletions

View File

@@ -140,8 +140,9 @@ template <>
struct IntChecker<true> {
template <typename T>
static bool fits_in_int(T value) {
return internal::check(value >= INT_MIN) && value <= INT_MAX;
return value >= INT_MIN && value <= INT_MAX;
}
static bool fits_in_int(int value) { return true; }
};
const char RESET_COLOR[] = "\x1b[0m";