From cb2a1cc29864e0bce16b3d5e6dbde987aa57cef8 Mon Sep 17 00:00:00 2001 From: Nanako Shiraishi Date: Wed, 16 Jul 2008 19:42:14 +0900 Subject: [PATCH] builtin-describe.c: make a global variable "pattern" static This variable is not used by any other file. Signed-off-by: Nanako Shiraishi Signed-off-by: Junio C Hamano --- builtin-describe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin-describe.c b/builtin-describe.c index e515f9ca9..62a19056e 100644 --- a/builtin-describe.c +++ b/builtin-describe.c @@ -20,7 +20,7 @@ static int tags; /* But allow any tags if --tags is specified */ static int longformat; static int abbrev = DEFAULT_ABBREV; static int max_candidates = 10; -const char *pattern = NULL; +static const char *pattern; static int always; struct commit_name { -- 2.30.2