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

[PATCH 3/4] graph.c: limit linkage of internal variable

flat view
STALE2360d

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

Signed-off-by: Đoàn Trần Công Danh <redacted>
---
 graph.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/graph.c b/graph.c
index 4fb25ad464..4cd9915075 100644
--- a/graph.c
+++ b/graph.c
@@ -1055,7 +1055,7 @@ static void graph_output_commit_line(struct git_graph *graph, struct graph_line
 		graph_update_state(graph, GRAPH_COLLAPSING);
 }
 
-const char merge_chars[] = {'/', '|', '\\'};
+static const char merge_chars[] = {'/', '|', '\\'};
 
 static void graph_output_post_merge_line(struct git_graph *graph, struct graph_line *line)
 {
-- 
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