diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-09 12:47:42 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-09 12:47:42 (GMT) |
commit | ea37cbf48b84b75a9ec535af679d6104757e4271 (patch) | |
tree | 07df943c7ca93ff3200601fba71ef304a29ba275 /src/compression/xtc3.c | |
parent | 0fad649af860bebdc3b4e422700b721c0f09007d (diff) |
Fixing many compiler warnings.
Diffstat (limited to 'src/compression/xtc3.c')
-rw-r--r-- | src/compression/xtc3.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compression/xtc3.c b/src/compression/xtc3.c index c26d7aa..197cc12 100644 --- a/src/compression/xtc3.c +++ b/src/compression/xtc3.c @@ -205,6 +205,9 @@ static void insert_value_in_array(unsigned int **ptr, int *nele, int *nele_alloc unsigned int value, char *arrayname) { +#ifndef SHOWIT + (void)arrayname; +#endif allocate_enough_memory(ptr,nele,nele_alloc); #ifdef SHOWIT fprintf(stderr,"Inserting value %u into array %s @ %d\n",value,arrayname,(*nele)-1); @@ -216,6 +219,7 @@ static void insert_value_in_array(unsigned int **ptr, int *nele, int *nele_alloc static void swapdecide(struct xtc3_context *xtc3_context, int *input,int *swapatoms, int *large_index, int *minint) { + (void)large_index; int didswap=0; int normal,swapped; swap_is_better(input,minint,&normal,&swapped); |