From 8ef50d9389a5097247807eaf44edfc36e724efc0 Mon Sep 17 00:00:00 2001 From: Simon Long Date: Fri, 5 Jan 2024 12:18:22 +0000 Subject: [PATCH] Remove redundant functions --- src/config/rcxml.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/config/rcxml.c b/src/config/rcxml.c index 730f3656..a6928632 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -1453,25 +1453,6 @@ validate(void) validate_actions(); } -static void -rcxml_path(char *buf, size_t len) -{ - if (!rc.config_dir) { - return; - } - snprintf(buf, len, "%s/rc.xml", rc.config_dir); -} - -static void -find_config_file(char *buffer, size_t len, const char *filename) -{ - if (filename) { - snprintf(buffer, len, "%s", filename); - return; - } - rcxml_path(buffer, len); -} - void rcxml_read(const char *filename) {