summaryrefslogtreecommitdiff
path: root/unix-socket.h
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-05-11 17:25:05 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-11 11:50:17 -0700
commit9ef6eaa287b12ff9469c7775507f107b86f9a8c8 (patch)
treeb7b92c21dfb3306284bc550b418d4ecfb12beede /unix-socket.h
parentis_refname_available(): revamp the comments (diff)
downloadtgif-9ef6eaa287b12ff9469c7775507f107b86f9a8c8.tar.xz
is_refname_available(): avoid shadowing "dir" variable
The function had a "dir" parameter that was shadowed by a local "dir" variable within a code block. Use the former in place of the latter. (This is consistent with "dir"'s use elsewhere in the function.) Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 'unix-socket.h')
0 files changed, 0 insertions, 0 deletions