summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2014-06-17 08:39:04 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2014-06-17 08:39:04 (GMT)
commitb75b8d4042629af8845cfa292e48d129af50d122 (patch)
treef8232f292a2f17995220ed4b2b1b3c2750d04bb7
parent1b979d8c1a7197f1b578e1a634ba2c55b8db7a7c (diff)
Fixed a compilation warning when !USE_ZLIB.
Change-Id: Ie6ecf260acf0bd80674ab825bcd51fddb54626ab
-rw-r--r--src/lib/tng_io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c
index 61280d3..661c447 100644
--- a/src/lib/tng_io.c
+++ b/src/lib/tng_io.c
@@ -6758,12 +6758,11 @@ static tng_function_status tng_data_block_write(tng_trajectory_t tng_data,
const int64_t block_index,
const char hash_mode)
{
- int64_t n_frames, stride_length, frame_step;
+ int64_t n_frames, stride_length, frame_step, data_start_pos;
int64_t i, j;
int offset = 0, size;
unsigned int len;
#ifdef USE_ZLIB
- int64_t data_start_pos;
tng_function_status stat;
#endif
char temp, dependency, *temp_name;
contact: Jan Huwald // Impressum