From bc44666d88e0c3508ad7ede27a7948855b4c0c8f Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Tue, 15 Feb 2022 22:30:52 +0200 Subject: [PATCH] mu-str: Remove some dead code --- lib/utils/mu-str.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/utils/mu-str.c b/lib/utils/mu-str.c index c74f2903..4d290b78 100644 --- a/lib/utils/mu-str.c +++ b/lib/utils/mu-str.c @@ -196,20 +196,6 @@ mu_str_subject_normalize (const gchar* str) } -/* note: this function is *not* re-entrant, it returns a static buffer */ -const char* -mu_str_fullpath_s (const char* path, const char* name) -{ - static char buf[PATH_MAX + 1]; - - g_return_val_if_fail (path, NULL); - - g_snprintf (buf, sizeof(buf), "%s%c%s", path, G_DIR_SEPARATOR, - name ? name : ""); - - return buf; -} - /* turn \0-terminated buf into ascii (which is a utf8 subset); convert * any non-ascii into '.'