builtin-clone.c: make junk_pid static
PATCH 1/1 builtin-clone.c: make junk_pid static
junk_pid is used only in builtin-clone.c.
Signed-off-by Ali Gholami Rudi <[email protected]>
--- builtin-clone.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
builtin-clone.c +1 -1
@@ -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 ) {