commit 4b26e5875785e87b994d5d81f6f15582726abd5f
parent 990d70e414052e42922c439e9da4d574c4d0cb6a
Author: Ricardo Mones <ricardo@mones.org>
Date: Sat, 6 Nov 2021 00:51:04 +0100
Remove unused function
Introduced in b0c27bffcd, calls removed in 59712bbc18, dead code since then.
Diffstat:
2 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/src/common/utils.c b/src/common/utils.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2020 The Claws Mail Team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2021 The Claws Mail Team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -3477,19 +3477,6 @@ void g_auto_pointer_free(GAuto *auto_ptr)
g_free(ptr);
}
-void replace_returns(gchar *str)
-{
- if (!str)
- return;
-
- while (strstr(str, "\n")) {
- *strstr(str, "\n") = ' ';
- }
- while (strstr(str, "\r")) {
- *strstr(str, "\r") = ' ';
- }
-}
-
/* get_uri_part() - retrieves a URI starting from scanpos.
Returns TRUE if successful */
gboolean get_uri_part(const gchar *start, const gchar *scanpos,
diff --git a/src/common/utils.h b/src/common/utils.h
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2020 The Claws Mail Team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2021 The Claws Mail Team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -497,7 +497,6 @@ GAuto *g_auto_pointer_new_with_free (gpointer p,
gpointer g_auto_pointer_get_ptr (GAuto *auto_ptr);
GAuto *g_auto_pointer_copy (GAuto *auto_ptr);
void g_auto_pointer_free (GAuto *auto_ptr);
-void replace_returns (gchar *str);
gboolean get_uri_part (const gchar *start,
const gchar *scanpos,
const gchar **bp,