BIC-MNI / libminc

libminc is the core library and API of the MINC toolkit
Other
19 stars 29 forks source link

Initialize variables for clang warnings. #55

Closed thewtex closed 9 years ago

thewtex commented 9 years ago

This is an attempt to address:

In function 'set_volume_type2': /Users/builder/external/ITK/Modules/ThirdParty/MINC/src/libminc/ volume_io/Volumes/volumes.c:2311: note: 'real_max' was declared here /Users/builder/external/ITK/Modules/ThirdParty/MINC/src/libminc/ volume_io/Volumes/volumes.c:2311: note: 'real_min' was declared here /Users/builder/external/ITK/Modules/ThirdParty/MINC/src/libminc/ volume_io/Volumes/volumes.c: In function 'create_volume': /Users/builder/external/ITK/Modules/ThirdParty/MINC/src/libminc/ volume_io/Volumes/volumes.c:2311: note: 'real_max' was declared here /Users/builder/external/ITK/Modules/ThirdParty/MINC/src/libminc/ volume_io/Volumes/volumes.c:2311: note: 'real_min' was declared here

/Users/builder/external/ITK/Modules/ThirdParty/MINC/src/libminc/ volume_io/Volumes/input_mnc2.c: In function 'input_more_minc2_file': /Users/builder/external/ITK/Modules/ThirdParty/MINC/src/libminc/ volume_io/Volumes/input_mnc2.c:637: note: 'n_tmp_dims' was declared here /Users/builder/external/ITK/Modules/ThirdParty/MINC/src/libminc/ volume_io/Volumes/input_mnc2.c: In function 'initialize_minc2_input': /Users/builder/external/ITK/Modules/ThirdParty/MINC/src/libminc/ volume_io/Volumes/input_mnc2.c:1093: note: 'match' was declared here /Users/builder/external/ITK/Modules/ThirdParty/MINC/src/libminc/ volume_io/Volumes/input_mnc2.c:82: note: 'no_volume_data_type' was declared here

I have not reproduced locally because I do not have the source system. These show up on the ITK dashboard.