From: Francis Galiegue <fg@one2team.net>
To: Git Mailing List <git@vger.kernel.org>
Subject: [PATCH] very small cleanup: #undef a macro that isn't used anywhere else
Date: Mon, 10 Nov 2008 19:28:27 +0100 [thread overview]
Message-ID: <200811101928.27207.fg@one2team.net> (raw)
In xdiff-interface.c, the FIRST_FEW_BYTES macro is defined, is never used
anwhere else, so we might as well undefine it after we're done with it.
---
xdiff-interface.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/xdiff-interface.c b/xdiff-interface.c
index e8ef46d..2cf30cd 100644
--- a/xdiff-interface.c
+++ b/xdiff-interface.c
@@ -226,6 +226,7 @@ int buffer_is_binary(const char *ptr, unsigned long size)
size = FIRST_FEW_BYTES;
return !!memchr(ptr, 0, size);
}
+#undef FIRST_FEW_BYTES
struct ff_regs {
int nr;
--
1.6.0.3
--
fge
next reply other threads:[~2008-11-10 18:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-10 18:28 Francis Galiegue [this message]
2008-11-10 19:09 ` [PATCH] very small cleanup: #undef a macro that isn't used anywhere else Johannes Schindelin
2008-11-10 19:09 ` Francis Galiegue
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=200811101928.27207.fg@one2team.net \
--to=fg@one2team.net \
--cc=git@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.