threads / patch / 18677

patchbuiltin-clone.c: make junk_pid static

Subject: [PATCH] builtin-clone.c: make junk_pid static

## tl;dr

One message between Apr 1, 2009 and Apr 1, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Ali Gholami Rudi· Apr 1, 2009, 08:04 UTC · lore
junk_pid is used only in builtin-clone.c.
Signed-off-by: Ali Gholami Rudi <ali@rudi.ir>
---
 builtin-clone.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to builtin-clone.c +1 −1
diff --git a/builtin-clone.c b/builtin-clone.c
index 0031b5f..736c72c 100644
--- a/builtin-clone.c
+++ b/builtin-clone.c
@@ -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)
 {

← back to recent threads