Cleanup read_cache_from error handling.
authorShawn O. Pearce <spearce@spearce.org>
Tue, 26 Dec 2006 04:40:58 +0000 (23:40 -0500)
committerJunio C Hamano <junkio@cox.net>
Fri, 29 Dec 2006 19:36:45 +0000 (11:36 -0800)
commit5fe5c8300da67a07bd430a33c474ef1498cb1d4b
tree32095369127577331d5b669106c68ae43b721360
parentc4712e4553f13d87d655325a57538f299402d457
Cleanup read_cache_from error handling.

When I converted the mmap() call to xmmap() I failed to cleanup the
way this routine handles errors and left some crufty code behind.
This is a small cleanup, suggested by Johannes.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
read-cache.c