Commit 19976bb9 authored by Daniel Schwen's avatar Daniel Schwen
Browse files

Fixup conditionally used params (#1076)

parent 7a2cb108
......@@ -990,8 +990,9 @@ void Image::compute_SSAO()
/* ---------------------------------------------------------------------- */
void Image::write_JPG(FILE */*fp*/)
void Image::write_JPG(FILE *fp)
{
(void)(fp); // suppress unused parameter warning
#ifdef LAMMPS_JPEG
struct jpeg_compress_struct cinfo;
struct jpeg_error_mgr jerr;
......@@ -1022,8 +1023,9 @@ void Image::write_JPG(FILE */*fp*/)
/* ---------------------------------------------------------------------- */
void Image::write_PNG(FILE */*fp*/)
void Image::write_PNG(FILE *fp)
{
(void)(fp); // suppress unused parameter warning
#ifdef LAMMPS_PNG
png_structp png_ptr;
png_infop info_ptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment