Commit 85064630 authored by Ramsay Jones's avatar Ramsay Jones Committed by Junio C Hamano

clone: Make the 'junk_mode' symbol a file static

Sparse issues an "'junk_mode' not declared. Should it be static?"
warning. In order to suppress the warning, since this symbol does
not need more than file visibility, we simply add the static
modifier to its declaration.
Signed-off-by: default avatarRamsay Jones <>
Acked-by: default avatarJeff King <>
Signed-off-by: default avatarJunio C Hamano <>
parent d3b34622
......@@ -377,7 +377,7 @@ static void clone_local(const char *src_repo, const char *dest_repo)
static const char *junk_work_tree;
static const char *junk_git_dir;
static pid_t junk_pid;
enum {
static enum {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment