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 <cgit@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2013-11-22 09:49:31 +01:00 committed by Jason A. Donenfeld
parent d181d6593f
commit f7db9b5e37

View File

@ -230,8 +230,6 @@ end:
closedir(dir); closedir(dir);
} }
#define lastc(s) s[strlen(s) - 1]
void scan_projects(const char *path, const char *projectsfile, repo_config_fn fn) void scan_projects(const char *path, const char *projectsfile, repo_config_fn fn)
{ {
struct strbuf line = STRBUF_INIT; struct strbuf line = STRBUF_INIT;