From 35244064bbb2a853fb5c08898e8a74a7ec489aaa Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Fri, 1 Feb 2019 15:45:39 +0100 Subject: block tail calls etc. --- test/monniaux/jpeg-6b/jdmarker.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'test/monniaux/jpeg-6b/jdmarker.c') diff --git a/test/monniaux/jpeg-6b/jdmarker.c b/test/monniaux/jpeg-6b/jdmarker.c index ee999f25..71feff86 100644 --- a/test/monniaux/jpeg-6b/jdmarker.c +++ b/test/monniaux/jpeg-6b/jdmarker.c @@ -653,9 +653,7 @@ examine_app0 (j_decompress_ptr cinfo, JOCTET FAR * data, /* Start of APP0 does not match "JFIF" or "JFXX", or too short */ TRACEMS1(cinfo, 1, JTRC_APP0, (int) totallen); } -#ifdef TAIL_CALL_MISSING - int dummy=1; -#endif + KILL_TAIL_CALL(); } @@ -687,9 +685,7 @@ examine_app14 (j_decompress_ptr cinfo, JOCTET FAR * data, /* Start of APP14 does not match "Adobe", or too short */ TRACEMS1(cinfo, 1, JTRC_APP14, (int) (datalen + remaining)); } -#ifdef TAIL_CALL_MISSING - int dummy=1; -#endif + KILL_TAIL_CALL(); } @@ -1342,9 +1338,7 @@ jpeg_save_markers (j_decompress_ptr cinfo, int marker_code, marker->length_limit_APPn[marker_code - (int) M_APP0] = length_limit; } else ERREXIT1(cinfo, JERR_UNKNOWN_MARKER, marker_code); -#ifdef TAIL_CALL_MISSING - int dummy=1; -#endif + KILL_TAIL_CALL(); } #endif /* SAVE_MARKERS_SUPPORTED */ @@ -1366,7 +1360,5 @@ jpeg_set_marker_processor (j_decompress_ptr cinfo, int marker_code, marker->process_APPn[marker_code - (int) M_APP0] = routine; else ERREXIT1(cinfo, JERR_UNKNOWN_MARKER, marker_code); -#ifdef TAIL_CALL_MISSING - int dummy=1; -#endif + KILL_TAIL_CALL(); } -- cgit