diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-16 09:29:47 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-16 09:29:47 (GMT) |
commit | 8c166f2f2fbd6b01d8174126280d0cb5a8b941c9 (patch) | |
tree | 6799afcb267fb40d329630a5b27065fd24403ea2 /src | |
parent | 9f721ea6f708eacecf3ea6d9c144dabb7cc6e128 (diff) |
Moved stat declaration to ifdef to avoid warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/tng_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index cb073bd..697ee07 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -5613,12 +5613,12 @@ static tng_function_status tng_data_block_write(tng_trajectory_t tng_data, unsigned int len; #ifdef USE_ZLIB int data_start_pos; + tng_function_status stat; #endif char temp, dependency, *temp_name; double multiplier; tng_trajectory_frame_set_t frame_set = &tng_data->current_trajectory_frame_set; - tng_function_status stat; tng_non_particle_data_t data; char block_type_flag; |