From: Lukas Fleischer Date: Fri, 22 Nov 2013 08:49:31 +0000 (+0100) Subject: scan-tree.c: Remove unused macro X-Git-Tag: v0.10~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7db9b5e37dec8c28e29a2cc9a2a4d179cbeded6;p=cgit scan-tree.c: Remove unused macro This is no longer needed since commit fb3655df (use struct strbuf instead of static buffers, 2013-04-06). Signed-off-by: Lukas Fleischer --- diff --git a/scan-tree.c b/scan-tree.c index 7cd8f08..29c8263 100644 --- a/scan-tree.c +++ b/scan-tree.c @@ -230,8 +230,6 @@ end: closedir(dir); } -#define lastc(s) s[strlen(s) - 1] - void scan_projects(const char *path, const char *projectsfile, repo_config_fn fn) { struct strbuf line = STRBUF_INIT;