From db526eaa10e6072f43f57298df1cfea0377ae7a4 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 15 Nov 2023 12:32:23 -0500 Subject: [PATCH] test/decode_svg.c: handle svgtiny_LIBCSS_ERROR This test program has a switch statement to handle errors, with one case for each svgtiny_code. Now that svgtiny_LIBCSS_ERROR belongs to that enum, we add it to the list of cases. --- test/decode_svg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/decode_svg.c b/test/decode_svg.c index b723e9e..7c10448 100644 --- a/test/decode_svg.c +++ b/test/decode_svg.c @@ -173,6 +173,9 @@ int main(int argc, char *argv[]) diagram->error_line, diagram->error_message); break; + case svgtiny_LIBCSS_ERROR: + fprintf(stderr, "svgtiny_LIBCSS_ERROR"); + break; default: fprintf(stderr, "unknown svgtiny_code %i", code); break; -- 2.43.2