diff options
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/bmpimage.c')
-rw-r--r-- | Build/source/texk/xdvipdfmx/src/bmpimage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/bmpimage.c b/Build/source/texk/xdvipdfmx/src/bmpimage.c index 51512472d2d..e09e37b238c 100644 --- a/Build/source/texk/xdvipdfmx/src/bmpimage.c +++ b/Build/source/texk/xdvipdfmx/src/bmpimage.c @@ -78,7 +78,7 @@ bmp_include_image (pdf_ximage *ximage, FILE *fp) ximage_info info; unsigned char buf[DIB_HEADER_SIZE_MAX+4]; unsigned char *p; - long offset, fsize, hsize, compression; + long offset, hsize, compression; long psize; /* Bytes per palette color: 3 for OS2, 4 for Win */ unsigned short bit_count; /* Bits per pix */ int num_palette, flip; @@ -106,7 +106,7 @@ bmp_include_image (pdf_ximage *ximage, FILE *fp) ((b)[2] << 16) + ((b)[3] << 24)) #define USHORT_LE(b) ((b)[0] + ((b)[1] << 8)) - fsize = ULONG_LE(p); p += 4; + /* fsize = ULONG_LE(p); */ p += 4; if (ULONG_LE(p) != 0) { WARN("Not a BMP file???"); return -1; |