Remove redundant functions

This commit is contained in:
Simon Long 2024-01-05 12:18:22 +00:00
parent e94d5035f0
commit 8ef50d9389

View file

@ -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)
{