Skip to contentSkip to conversation

Make main_cmds and other_cmds local to builtin-help.c

PATCH New Alex Riesen 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make main_cmds and other_cmds local to builtin-help.c

These are not used anywhere else.

---
 builtin-help.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
builtin-help.c +1 -1
index 9225102..721038e 100644
@@ -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)
 {
Signature · 1 line
1.6.0.1.150.g5966