summaryrefslogtreecommitdiff
path: root/preload-index.c
diff options
context:
space:
mode:
authorLibravatar Giuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-07-31 08:48:49 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-08-04 00:26:03 -0700
commitb7da721f02638083cc3debfd9ae7221d76a96b26 (patch)
tree4fceff12b82da8b8ac41cc08ac849244ddd77366 /preload-index.c
parenttechnical-docs: document tree-walking API (diff)
downloadtgif-b7da721f02638083cc3debfd9ae7221d76a96b26.tar.xz
gitweb: fix 'Use of uninitialized value' error in href()
Equality between file_parent and file_name was being checked without a preliminary check for existence of the parameters. Fix by wrapping the equality check in appropriate if (defined ...), rearranging the lines to prevent excessive length. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'preload-index.c')
0 files changed, 0 insertions, 0 deletions