the repository which powers this website
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 <[email protected]>
Lukas Fleischer 2014-01-08
parent d181d65 · commit f7db9b5
-rw-r--r--scan-tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/scan-tree.c b/scan-tree.c
index 7cd8f086..29c8263a 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;