aboutsummaryrefslogtreecommitdiff
path: root/shared.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared.c b/shared.c
index 3e20937..0a0e22e 100644
--- a/shared.c
+++ b/shared.c
@@ -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;