diff -r edbb20b1438d -r d7f5067a27ce dav/config.c --- a/dav/config.c Sun Dec 17 14:25:34 2023 +0100 +++ b/dav/config.c Sun Dec 17 15:03:01 2023 +0100 @@ -228,16 +228,6 @@ return k; } -int list_repositories(void) { - if(!davconfig) { - return 1; - } - for(DavCfgRepository *repo=davconfig->repositories;repo;repo=repo->next) { - printf("%.*s\n", (int)repo->name.value.length, repo->name.value.ptr); - } - return 0; -} - static char* get_attr_content(xmlNode *node) { // TODO: remove code duplication (util_xml_get_text) while(node) {