commit c215d14d2165cb25126ea6a37f3fca52b0ea5d7f
parent 1a719c663fd2c7ac5cf5e605e16d7c9ed576bca7
Author: Oliver Lowe <o@olowe.co>
Date: Wed, 20 Aug 2025 15:03:32 +1000
common/utils: remove unused function
Diffstat:
1 file changed, 0 insertions(+), 19 deletions(-)
diff --git a/src/common/utils.c b/src/common/utils.c
@@ -938,25 +938,6 @@ gboolean is_ascii_str(const gchar *str)
return TRUE;
}
-static const gchar * line_has_quote_char_last(const gchar * str, const gchar *quote_chars)
-{
- gchar * position = NULL;
- gchar * tmp_pos = NULL;
- int i;
-
- if (str == NULL || quote_chars == NULL)
- return NULL;
-
- for (i = 0; i < strlen(quote_chars); i++) {
- tmp_pos = strrchr (str, quote_chars[i]);
- if(position == NULL
- || (tmp_pos != NULL && position <= tmp_pos) )
- position = tmp_pos;
- }
- return position;
-}
-
-
gint check_line_length(const gchar *str, gint max_chars, gint *line)
{
const gchar *p = str, *q;