Diffstat (limited to 'shared.c')
| -rw-r--r-- | shared.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -33,7 +33,6 @@ int chk_non_negative(int result, char *msg) return result; } -char *cgit_default_repo_desc = "[no description]"; struct cgit_repo *cgit_add_repo(const char *url) { struct cgit_repo *ret; @@ -53,7 +52,7 @@ struct cgit_repo *cgit_add_repo(const char *url) ret->url = trim_end(url, '/'); ret->name = ret->url; ret->path = NULL; - ret->desc = cgit_default_repo_desc; + ret->desc = "[no description]"; ret->owner = NULL; ret->section = ctx.cfg.section; ret->snapshots = ctx.cfg.snapshots; |