From: Michael Orlitzky Date: Fri, 26 Jan 2024 01:20:59 +0000 (-0500) Subject: src/svgtiny_css.c: add a missing break statement X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=ea01d9a2b33d706b95f795514f5fb08ffb67de0e;p=libsvgtiny.git src/svgtiny_css.c: add a missing break statement Otherwise, we fall through to an assert(false) in the default case. Thanks to Michael Drake for the suggestion. --- diff --git a/src/svgtiny_css.c b/src/svgtiny_css.c index 6eefd87..9416f1f 100644 --- a/src/svgtiny_css.c +++ b/src/svgtiny_css.c @@ -1953,6 +1953,7 @@ static void svgtiny_dom_user_data_handler(dom_node_operation operation, css_libcss_node_data_handler(&svgtiny_select_handler, CSS_NODE_DELETED, NULL, src, NULL, data); + break; default: /* Our list of cases should have been exhaustive */ assert(false);