Skip to content

Commit

Permalink
builtin-clone.c: make junk_pid static
Browse files Browse the repository at this point in the history
junk_pid is used only in builtin-clone.c.

Signed-off-by: Ali Gholami Rudi <ali@rudi.ir>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ali Gholami Rudi authored and Junio C Hamano committed Apr 1, 2009
1 parent 442dd42 commit e161acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-clone.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit e161acd

Please sign in to comment.