diff options
Diffstat (limited to 'src/gd_bmp.c')
-rw-r--r-- | src/gd_bmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gd_bmp.c b/src/gd_bmp.c index 29a05ce..c67e45f 100644 --- a/src/gd_bmp.c +++ b/src/gd_bmp.c @@ -30,6 +30,7 @@ #include <stdlib.h> #include "gd.h" #include "gdhelpers.h" +#include "gd_errors.h" #include "bmp.h" static int compress_row(unsigned char *uncompressed_row, int length); @@ -326,7 +327,6 @@ static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) } while ((buffer_size = gdGetBuf(copy_buffer, 1024, out)) != EOF) { - int res; if (buffer_size == 0) { break; } |