1From 4fca3bba8f38627ee13b99b0b5093b73a2052e77 Mon Sep 17 00:00:00 2001 2From: Philip Withnall <pwithnall@endlessos.org> 3Date: Tue, 18 Oct 2022 15:05:30 +0100 4Subject: [PATCH] gregex: Remove an unreachable return statement 5 6Spotted by Coverity. 7 8Signed-off-by: Philip Withnall <pwithnall@endlessos.org> 9 10Coverity CID: #1497916 11 12Conflict:NA 13Reference:https://gitlab.gnome.org/GNOME/glib/-/commit/4fca3bba8f38627ee13b99b0b5093b73a2052e77 14 15--- 16 glib/gregex.c | 2 +- 17 1 file changed, 1 insertion(+), 1 deletion(-) 18 19diff --git a/glib/gregex.c b/glib/gregex.c 20index 41ad675a76..53eda2b19d 100644 21--- a/glib/gregex.c 22+++ b/glib/gregex.c 23@@ -947,7 +947,7 @@ enable_jit_with_match_options (GRegex *regex, 24 break; 25 } 26 27- return regex->jit_status; 28+ g_assert_not_reached (); 29 } 30 31 /** 32-- 33GitLab 34 35