DORMANTno replies

[PATCH] Make main_cmds and other_cmds local to builtin-help.c

From: Alex Riesen <hidden>
Date: 2016-06-15 22:45:14
Subsystem: the rest · Maintainer: Linus Torvalds

These are not used anywhere else.

Signed-off-by: Alex Riesen <redacted>
---
 builtin-help.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-help.c b/builtin-help.c
index 9225102..721038e 100644
--- a/builtin-help.c
+++ b/builtin-help.c
@@ -273,7 +273,7 @@ static int git_help_config(const char *var, const char *value, void *cb)
 	return git_default_config(var, value, cb);
 }
 
-struct cmdnames main_cmds, other_cmds;
+static struct cmdnames main_cmds, other_cmds;
 
 void list_common_cmds_help(void)
 {
-- 
1.6.0.1.150.g5966
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help