From mboxrd@z Thu Jan 1 00:00:00 1970 From: cgit at cryptocrack.de (Lukas Fleischer) Date: Fri, 22 Nov 2013 10:35:02 +0100 Subject: [PATCH] scan-tree.c: Remove unused macro Message-ID: <1385112902-4935-1-git-send-email-cgit@cryptocrack.de> This is no longer needed since commit fb3655df (use struct strbuf instead of static buffers, 2013-04-06). Signed-off-by: Lukas Fleischer --- scan-tree.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 1.8.4.2