Closed marco-langer closed 2 years ago
This PR fixes an unused variable warning.
Compile this with -Wall -Wextra -Wpedantic
-Wall -Wextra -Wpedantic
#include <boost/gil/extension/io/jpeg.hpp> #include <boost/gil/extension/dynamic_image/dynamic_image_all.hpp> namespace gil = boost::gil; int main() { using my_image = gil::any_image<gil::gray8_image_t>; my_image img; gil::read_image("test.jpeg", img, gil::jpeg_tag{}); return 0; }
Edit: fixed a second unused variable. This did not show up as a warning, I just saw it as I was browsing the algorithm.hpp file.
Description
This PR fixes an unused variable warning.
Minimal Working Example
Compile this with
-Wall -Wextra -Wpedantic
Edit: fixed a second unused variable. This did not show up as a warning, I just saw it as I was browsing the algorithm.hpp file.
Tasklist