diff options
author | erouault <erouault> | 2016-09-04 21:32:55 +0000 |
---|---|---|
committer | erouault <erouault> | 2016-09-04 21:32:55 +0000 |
commit | 571f68a4a73949b68d57d22feb5a55e7bca6cbdc (patch) | |
tree | 95d3841dd770f17baba05e70e0c8c107ee75ae31 /libtiff/tif_thunder.c | |
parent | 7b9812044d607ea71d224dd902c4c110622dcdc0 (diff) | |
download | libtiff-571f68a4a73949b68d57d22feb5a55e7bca6cbdc.tar.gz |
* libtiff/*.c: fix warnings raised by clang 3.9 -Wcomma
Diffstat (limited to 'libtiff/tif_thunder.c')
-rw-r--r-- | libtiff/tif_thunder.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libtiff/tif_thunder.c b/libtiff/tif_thunder.c index 390891c9..183199de 100644 --- a/libtiff/tif_thunder.c +++ b/libtiff/tif_thunder.c @@ -1,4 +1,4 @@ -/* $Id: tif_thunder.c,v 1.12 2011-04-02 20:54:09 bfriesen Exp $ */ +/* $Id: tif_thunder.c,v 1.13 2016-09-04 21:32:56 erouault Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -100,7 +100,8 @@ ThunderDecode(TIFF* tif, uint8* op, tmsize_t maxpixels) while (cc > 0 && npixels < maxpixels) { int n, delta; - n = *bp++, cc--; + n = *bp++; + cc--; switch (n & THUNDER_CODE) { case THUNDER_RUN: /* pixel run */ /* |