ssnail

crappy and opinionated static site generator
git clone https://git.e1e0.net/ssnail.git
Log | Files | Refs | README | LICENSE

commit f6268f26f81207ec80260488671e29669399460b
parent 49f0b3cfebe2c8faac8a093c74fd77b84cd5ba26
Author: Paco Esteban <paco@e1e0.net>
Date:   Tue, 23 Jun 2020 15:34:18 +0200

remove unused buffer

Diffstat:
Mssnail.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ssnail.c b/ssnail.c @@ -79,7 +79,7 @@ main(int argc, char *argv[]) const struct ssnail_error *error = NULL; int ch, force = 0; - char *srcdir = NULL, *dstdir = NULL, *fbuf = NULL; + char *srcdir = NULL, *dstdir = NULL; char *header_tpl = NULL, *footer_tpl = NULL; header_tpl = strdup(HEADER); @@ -153,7 +153,6 @@ main(int argc, char *argv[]) done: free(srcdir); free(dstdir); - free(fbuf); free(header_tpl); free(footer_tpl); articleq_free(&head);