diff options
author | kmu <kmu@hdfgroup.org> | 2019-12-06 20:12:57 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:25 (GMT) |
commit | 271bce5b10017010e861835e5d3d1137a7fb6df4 (patch) | |
tree | 2880328a49f8371d0aad354503c71ec8319c89d5 /hl/tools/gif2h5/decompress.c | |
parent | 1d46e823172046f259eb054370ea721eacad79b1 (diff) | |
download | hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.zip hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.tar.gz hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.tar.bz2 |
remove unnecessary check macro
Diffstat (limited to 'hl/tools/gif2h5/decompress.c')
-rw-r--r-- | hl/tools/gif2h5/decompress.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hl/tools/gif2h5/decompress.c b/hl/tools/gif2h5/decompress.c index 47e1893..8cd8a8e 100644 --- a/hl/tools/gif2h5/decompress.c +++ b/hl/tools/gif2h5/decompress.c @@ -12,7 +12,6 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include <stdio.h> #include <stdlib.h> -#include "H5private.h" #include "gif.h" @@ -174,7 +173,7 @@ Decompress(GIFIMAGEDESC *GifImageDesc, GIFHEAD *GifHead) /* Now read in values from the image descriptor */ IWidth = GifImageDesc->ImageWidth; IHeight = GifImageDesc->ImageHeight; - H5_CHECKED_ASSIGN(Interlace, uint8_t, GifImageDesc->PackedField & 0x40, int); + Interlace = (uint8_t)(GifImageDesc->PackedField & 0x40); /* * Note that I ignore the possible existence of a local color map. I'm |