Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/fsck.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-03-28 16:15:43 +0300
committerJunio C Hamano <gitster@pobox.com>2021-03-29 05:03:10 +0300
commitb5495024ec655c56a98bdd3f9a5d4dfe578aa08f (patch)
tree350ca330fff3e760b7a024824acfd40425aef8d9 /fsck.c
parentc72da1a22bb3996ab8740b91ad2af6a54bd22777 (diff)
fsck.c: undefine temporary STR macro after use
In f417eed8cde (fsck: provide a function to parse fsck message IDs, 2015-06-22) the "STR" macro was introduced, but that short macro name was not undefined after use as was done earlier in the same series for the MSG_ID macro in c99ba492f1c (fsck: introduce identifiers for fsck messages, 2015-06-22). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fsck.c')
-rw-r--r--fsck.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fsck.c b/fsck.c
index 80365e6284..1b12e824ef 100644
--- a/fsck.c
+++ b/fsck.c
@@ -100,6 +100,7 @@ static struct {
{ NULL, NULL, NULL, -1 }
};
#undef MSG_ID
+#undef STR
static void prepare_msg_ids(void)
{