Thread (1 message) 1 message, 1 author, 2021-02-18

Re: [PATCH v2 08/10] fsck.c: undefine temporary STR macro after use

From: Junio C Hamano <hidden>
Date: 2021-02-18 22:31:01

Ævar Arnfjörð Bjarmason  [off-list ref] writes:
quoted hunk
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 <redacted>
---
 fsck.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/fsck.c b/fsck.c
index 7c53080ad48..88884e91c89 100644
--- a/fsck.c
+++ b/fsck.c
@@ -100,6 +100,7 @@ static struct {
 	{ NULL, NULL, NULL, -1 }
 };
 #undef MSG_ID
+#undef STR
Good clean-up.
 
 static void prepare_msg_ids(void)
 {
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help