[Commits] [SCM] claws branch, master, updated. 3.18.0-283-g4b26e5875
mones at claws-mail.org
mones at claws-mail.org
Sat Nov 6 00:09:33 UTC 2021
The branch, master has been updated
via 4b26e5875785e87b994d5d81f6f15582726abd5f (commit)
from 990d70e414052e42922c439e9da4d574c4d0cb6a (commit)
Summary of changes:
src/common/utils.c | 15 +--------------
src/common/utils.h | 3 +--
2 files changed, 2 insertions(+), 16 deletions(-)
- Log -----------------------------------------------------------------
commit 4b26e5875785e87b994d5d81f6f15582726abd5f
Author: Ricardo Mones <ricardo at mones.org>
Date: Sat Nov 6 00:51:04 2021 +0100
Remove unused function
Introduced in b0c27bffcd, calls removed in 59712bbc18, dead code since then.
diff --git a/src/common/utils.c b/src/common/utils.c
index f741c62d5..47c56cbb7 100644
--- 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
index 7b8ed25ac..98f771291 100644
--- 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,
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list