diff --git a/src/image_util.cpp b/src/image_util.cpp index 7f86fdb3c..79d7e0af1 100644 --- a/src/image_util.cpp +++ b/src/image_util.cpp @@ -1582,7 +1582,6 @@ struct visitor_get_pixel template T1 operator() (T2 const& data) const { - using pixel_type = T1; if (check_bounds(data, x_, y_)) { return safe_cast(data(x_, y_));