mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Tidied up pngfix inits and fixed non-write pngtest.
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
1f23775d10
commit
81dfd007b2
@@ -115,9 +115,6 @@ 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>
|
||||
@@ -1585,6 +1582,7 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname)
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
static int wrote_question = 0;
|
||||
png_size_t num_in, num_out;
|
||||
char inbuf[256], outbuf[256];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user