Thread (46 messages) 46 messages, 4 authors, 2020-05-01

[PATCH 5/4] fmt-merge-msg.c: fix `make sparse` on next

flat view
STALE2360d

From: Đoàn Trần Công Danh <hidden>
Date: 2020-04-23 13:48:15
Subsystem: the rest · Maintainer: Linus Torvalds

Probably, un-necessary, since this is merged down to master.

Signed-off-by: Đoàn Trần Công Danh <redacted>
---
 fmt-merge-msg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fmt-merge-msg.c b/fmt-merge-msg.c
index 08022ed2e4..72d32bd73b 100644
--- a/fmt-merge-msg.c
+++ b/fmt-merge-msg.c
@@ -484,7 +484,7 @@ static void fmt_merge_msg_sigs(struct strbuf *out)
 		enum object_type type;
 		unsigned long size, len;
 		char *buf = read_object_file(oid, &type, &size);
-		struct signature_check sigc = { 0 };
+		struct signature_check sigc = { NULL };
 		struct strbuf sig = STRBUF_INIT;
 
 		if (!buf || type != OBJ_TAG)
-- 
2.26.2.384.g435bf60bd5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help