diff options
author | Pierre Joye <pierre.php@gmail.com> | 2021-09-07 22:10:26 +0700 |
---|---|---|
committer | Pierre Joye <pierre.php@gmail.com> | 2021-09-07 22:10:26 +0700 |
commit | 75fecefe770a1672ff57064ca827d71e44244d66 (patch) | |
tree | 4a772036d6ab0bffbfffe8a2a901a4fd042749a0 | |
parent | e5c84f0b7a2e2cef8d8630bd8c26a2f859e959ff (diff) | |
download | libgd-75fecefe770a1672ff57064ca827d71e44244d66.tar.gz |
<3 the CI, forgot header for gd_error and unused var, strict mode for the win :)bug/750
-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; } |