Skip to contentSkip to conversation

builtin-clone.c: make junk_pid static

PATCH New Ali Gholami Rudi 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 builtin-clone.c: make junk_pid static

junk_pid is used only in builtin-clone.c.

---
 builtin-clone.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
builtin-clone.c +1 -1
index 0031b5f..736c72c 100644
@@ -270,7 +270,7 @@ static const struct ref *clone_local(const char *src_repo,
 
 static const char *junk_work_tree;
 static const char *junk_git_dir;
-pid_t junk_pid;
+static pid_t junk_pid;
 
 static void remove_junk(void)
 {