<3 the CI, forgot header for gd_error and unused var, strict mode for the win :)

master
Pierre Joye 2021-09-07 22:10:26 +07:00
parent e5c84f0b7a
commit 75fecefe77
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}