提交 1f23775d 编写于 作者: G Glenn Randers-Pehrson

[libpng16] Fixed unused "wrote_question" in non-write pngtest.

上级 84092bbf
......@@ -115,7 +115,9 @@ static int relaxed = 0;
static int unsupported_chunks = 0; /* chunk unsupported by libpng in input */
static int error_count = 0; /* count calls to png_error */
static int warning_count = 0; /* count calls to png_warning */
#ifdef PNG_WRITE_SUPPORTED
static int wrote_question = 0;
#endif
#ifdef __TURBOC__
#include <mem.h>
......@@ -1581,13 +1583,11 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname)
#ifdef PNG_WRITE_SUPPORTED /* else nothing was written */
{
for (;;)
{
png_size_t num_in, num_out;
char inbuf[256], outbuf[256];
num_in = fread(inbuf, 1, sizeof inbuf, fpin);
num_out = fread(outbuf, 1, sizeof outbuf, fpout);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册