aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-07-26 01:02:50 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-07-26 01:02:50 +0200
commitcc963f2478aa88c4b6fdb0159eb3cc0580784823 (patch)
treea4ba24a2c8d4f4a4f8a67d45e64a3c4178bf2072
parent29ff2868c9cc7f85442de619525b23ec07d50104 (diff)
downloadblogc-cc963f2478aa88c4b6fdb0159eb3cc0580784823.tar.gz
blogc-cc963f2478aa88c4b6fdb0159eb3cc0580784823.tar.bz2
blogc-cc963f2478aa88c4b6fdb0159eb3cc0580784823.zip
make: remove unused variable
-rw-r--r--src/blogc-make/ctx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/blogc-make/ctx.c b/src/blogc-make/ctx.c
index ee15510..909a526 100644
--- a/src/blogc-make/ctx.c
+++ b/src/blogc-make/ctx.c
@@ -234,7 +234,6 @@ bm_ctx_new(bm_ctx_t *base, const char *settings_file, const char *argv0,
const char *content_dir = bm_ctx_settings_lookup(rv, "content_dir");
const char *post_prefix = bm_ctx_settings_lookup(rv, "post_prefix");
const char *source_ext = bm_ctx_settings_lookup(rv, "source_ext");
- const char *slash = post_prefix[0] == '\0' ? "" : "/";
rv->posts_fctx = NULL;
if (settings->posts != NULL) {