summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-09 13:29:22 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-09 15:14:32 (GMT)
commit5efad15b0254e6b2dc213865e88d8a1ea7419454 (patch)
tree7abca9d59e2c243d4897f942be4f0c831c2d07df /src/lib
parentea37cbf48b84b75a9ec535af679d6104757e4271 (diff)
Fix build issues.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/CMakeLists.txt2
-rw-r--r--src/lib/tng_io.c2
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;
contact: Jan Huwald // Impressum