dav/config.c

changeset 798
d7f5067a27ce
parent 796
81e0f67386a6
child 806
673a803d2203
--- 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) {

mercurial