clone: Make the 'junk_mode' symbol a file static
commit85064630fcca70eae2ca28807b1770a833c3545f
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Sat, 27 Apr 2013 18:39:04 +0000 (27 19:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 28 Apr 2013 18:57:35 +0000 (28 11:57 -0700)
treec3f941105fdb10426c9fb3dbd7c42ecd82c6fe49
parentd3b34622f699ff14646de4ec1b1ab9afb0bcb056
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: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c