diff options
author | Lukas Fleischer | 2013-11-22 09:49:31 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2014-01-08 14:59:38 +0100 |
commit | f7db9b5e37dec8c28e29a2cc9a2a4d179cbeded6 (patch) | |
tree | 25b572d811fe42542d89647576ec466ad277ae63 /scan-tree.c | |
parent | d181d6593f827a524b9a7ebc860fa53410fddea2 (diff) | |
download | cgit-f7db9b5e37dec8c28e29a2cc9a2a4d179cbeded6.tar.gz cgit-f7db9b5e37dec8c28e29a2cc9a2a4d179cbeded6.tar.bz2 cgit-f7db9b5e37dec8c28e29a2cc9a2a4d179cbeded6.zip |
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>
Diffstat (limited to 'scan-tree.c')
-rw-r--r-- | scan-tree.c | 2 |
1 files changed, 0 insertions, 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: | |||
230 | closedir(dir); | 230 | closedir(dir); |
231 | } | 231 | } |
232 | 232 | ||
233 | #define lastc(s) s[strlen(s) - 1] | ||
234 | |||
235 | void scan_projects(const char *path, const char *projectsfile, repo_config_fn fn) | 233 | void scan_projects(const char *path, const char *projectsfile, repo_config_fn fn) |
236 | { | 234 | { |
237 | struct strbuf line = STRBUF_INIT; | 235 | struct strbuf line = STRBUF_INIT; |