summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMarti Maria <info@littlecms.com>2013-05-09 16:28:24 +0200
committerMarti Maria <info@littlecms.com>2013-05-09 16:28:24 +0200
commitd0d5b5123de78cd124a39bdba5a269352ca5585f (patch)
tree8e4f1599f0785806c729356d60fc46e9fd985d21 /utils
parentb5260acac00687a2c68ee5af470728da366e1493 (diff)
downloadlcms2-d0d5b5123de78cd124a39bdba5a269352ca5585f.tar.gz
Arrange last pull request
Diffstat (limited to 'utils')
-rw-r--r--utils/jpgicc/iccjpeg.c2
-rw-r--r--utils/tificc/tificc.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/utils/jpgicc/iccjpeg.c b/utils/jpgicc/iccjpeg.c
index b542b33..aa96c8b 100644
--- a/utils/jpgicc/iccjpeg.c
+++ b/utils/jpgicc/iccjpeg.c
@@ -217,7 +217,7 @@ read_icc_profile (j_decompress_ptr cinfo,
total_length += data_length[seq_no];
}
- if (total_length <= 0) /* total_length is unsigned so why check if it's less than zero? */
+ if (total_length <= 0)
return FALSE; /* found only empty markers? */
/* Allocate space for assembled data */
diff --git a/utils/tificc/tificc.c b/utils/tificc/tificc.c
index deedf0c..76fb15a 100644
--- a/utils/tificc/tificc.c
+++ b/utils/tificc/tificc.c
@@ -163,6 +163,9 @@ unsigned char* UnrollTIFFLab16(struct _cmstransform_struct* CMMcargo,
wIn[2] = (cmsUInt16Number) FromLabV2ToLabV4(((accum16[2] > 0x7f00) ? (accum16[2] - 0x8000) : (accum16[2] + 0x8000)) );
return accum + 3 * sizeof(cmsUInt16Number);
+
+ UTILS_UNUSED_PARAMETER(Stride);
+ UTILS_UNUSED_PARAMETER(CMMcargo);
}