diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/lib/tng_io.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index ef59ed5..4e46c4e 100644 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -1,4 +1,4 @@ -add_library(tng_io SHARED tng_io.c md5.c) +add_library(tng_io tng_io.c md5.c) if(HAVE_INTTYPES_H) set_property(TARGET tng_io APPEND PROPERTY COMPILE_DEFINITIONS USE_STD_INTTYPES_H) diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index ecfb4c5..a4fe668 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -4100,6 +4100,7 @@ static tng_function_status tng_gzip_uncompress(tng_trajectory_t tng_data, void *start_pos, unsigned long uncompressed_len) { + (void)tng_data; Bytef *dest; char *temp; unsigned long stat; @@ -4174,6 +4175,7 @@ static tng_function_status tng_allocate_particle_data_mem const int64_t n_particles, const int64_t n_values_per_frame) { + (void)tng_data; void ***values; int64_t i, j, k, size, frame_alloc; |