From: cgit at cryptocrack.de (Lukas Fleischer)
Subject: [PATCH] scan-tree.c: Remove unused macro
Date: Fri, 22 Nov 2013 10:35:02 +0100 [thread overview]
Message-ID: <1385112902-4935-1-git-send-email-cgit@cryptocrack.de> (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
reply other threads:[~2013-11-22 9:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1385112902-4935-1-git-send-email-cgit@cryptocrack.de \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).