summaryrefslogtreecommitdiff
path: root/branch.h
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-04-17 20:07:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-04-17 20:55:46 (GMT)
commit3065274c58a4f4d0c6eef7e29a1484cf2c288131 (patch)
tree35ca8d64acbe983a7e080ab09d105f8cb41334f7 /branch.h
parent021ab6f00b66d0d3931310e77383239a606c96c2 (diff)
downloadgit-3065274c58a4f4d0c6eef7e29a1484cf2c288131.zip
git-3065274c58a4f4d0c6eef7e29a1484cf2c288131.tar.gz
git-3065274c58a4f4d0c6eef7e29a1484cf2c288131.tar.bz2
http.c: Drop useless != NULL test in finish_http_pack_request
The test preq->packfile != NULL is always true. If packfile was actually NULL when entering this function the ftell() above would crash out with a SIGSEGV, resulting in never reaching this point. Simplify the code by just removing the conditional. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.h')
0 files changed, 0 insertions, 0 deletions