index 1a691b5a8b006b8bc2b341795a3167aaf7b35e55..7aa616eb3f30f0bd8e56ce4221ca4ed69e3d1bf3 100644 (file)
*/
inline void _check_index(NRPixBlock const * const pb, int const location, int const line)
{
- if(true) {
+ if(false) {
int max_loc = pb->rs * (pb->area.y1 - pb->area.y0);
- if (location < 0 || (location + 4) >= max_loc)
+ if (location < 0 || (location + 4) > max_loc)
g_warning("Location %d out of bounds (0 ... %d) at line %d", location, max_loc, line);
}
}