diff --git a/dlib/image_loader/load_image.h b/dlib/image_loader/load_image.h index 6b1254735..2a735576e 100644 --- a/dlib/image_loader/load_image.h +++ b/dlib/image_loader/load_image.h @@ -66,6 +66,7 @@ namespace dlib #ifdef DLIB_JPEG_SUPPORT case image_file_type::JPG: load_jpeg(image, file_name); return; #endif + default: ; } if (im_type == image_file_type::JPG)