* [PATCH] scan-tree.c: Remove unused macro
@ 2013-11-22 9:35 cgit
0 siblings, 0 replies; only message in thread
From: cgit @ 2013-11-22 9:35 UTC (permalink / raw)
This is no longer needed since commit fb3655df (use struct strbuf
instead of static buffers, 2013-04-06).
Signed-off-by: Lukas Fleischer <cgit at cryptocrack.de>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-11-22 9:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-22 9:35 [PATCH] scan-tree.c: Remove unused macro cgit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).