[libpng16] Avoid a clang scan-build warning in pngtest.c
This commit is contained in:
parent
3f8a2ed600
commit
44db02364e
@ -115,6 +115,7 @@ static int relaxed = 0;
|
|||||||
static int unsupported_chunks = 0; /* chunk unsupported by libpng in input */
|
static int unsupported_chunks = 0; /* chunk unsupported by libpng in input */
|
||||||
static int error_count = 0; /* count calls to png_error */
|
static int error_count = 0; /* count calls to png_error */
|
||||||
static int warning_count = 0; /* count calls to png_warning */
|
static int warning_count = 0; /* count calls to png_warning */
|
||||||
|
static int wrote_question = 0;
|
||||||
|
|
||||||
#ifdef __TURBOC__
|
#ifdef __TURBOC__
|
||||||
#include <mem.h>
|
#include <mem.h>
|
||||||
@ -1578,7 +1579,6 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname)
|
|||||||
|
|
||||||
#ifdef PNG_WRITE_SUPPORTED /* else nothing was written */
|
#ifdef PNG_WRITE_SUPPORTED /* else nothing was written */
|
||||||
{
|
{
|
||||||
int wrote_question = 0;
|
|
||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user