explicitly assigning a variable of type 'j_decompress_ptr' (aka 'jpeg_decompress_struct *') to itself
Excluding 3rd party files.
The unused WriteLossless() was using libjpeg internals found in jpegint.h. This header is available with libjpeg8, but not shipped by most distros. Disable the relevant code - no functional changes.