From b75b8d4042629af8845cfa292e48d129af50d122 Mon Sep 17 00:00:00 2001 From: Magnus Lundborg Date: Tue, 17 Jun 2014 10:39:04 +0200 Subject: Fixed a compilation warning when !USE_ZLIB. Change-Id: Ie6ecf260acf0bd80674ab825bcd51fddb54626ab 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; -- cgit v0.10.1