Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
Applications
LAMMPS
Commits
19976bb9
Commit
19976bb9
authored
Aug 23, 2018
by
Daniel Schwen
Browse files
Fixup conditionally used params (#1076)
parent
7a2cb108
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/image.cpp
View file @
19976bb9
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment