summaryrefslogtreecommitdiff
path: root/src/compression/coder.c
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-09 12:47:42 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-09 12:47:42 (GMT)
commitea37cbf48b84b75a9ec535af679d6104757e4271 (patch)
tree07df943c7ca93ff3200601fba71ef304a29ba275 /src/compression/coder.c
parent0fad649af860bebdc3b4e422700b721c0f09007d (diff)
Fixing many compiler warnings.
Diffstat (limited to 'src/compression/coder.c')
-rw-r--r--src/compression/coder.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compression/coder.c b/src/compression/coder.c
index a9a9117..be46c17 100644
--- a/src/compression/coder.c
+++ b/src/compression/coder.c
@@ -332,6 +332,7 @@ unsigned char *Ptngc_pack_array(struct coder *coder,int *input, int *length, int
static int unpack_array_stop_bits(struct coder *coder,unsigned char *packed,int *output, int length, int coding_parameter)
{
+ (void)coder;
int i,j;
unsigned int extract_mask=0x80;
unsigned char *ptr=packed;
@@ -384,6 +385,7 @@ static int unpack_array_stop_bits(struct coder *coder,unsigned char *packed,int
static int unpack_array_triplet(struct coder *coder,unsigned char *packed,int *output, int length, int coding_parameter)
{
+ (void)coder;
int i,j;
unsigned int extract_mask=0x80;
unsigned char *ptr=packed;
@@ -455,6 +457,7 @@ static int unpack_array_triplet(struct coder *coder,unsigned char *packed,int *o
static int unpack_array_bwlzh(struct coder *coder,unsigned char *packed,int *output, int length, int natoms)
{
+ (void)coder;
int i,j,k,n=length;
unsigned int *pval=warnmalloc(n*sizeof *pval);
int nframes=n/natoms/3;
contact: Jan Huwald // Impressum