author | Nicolas Pitre <nico@cam.org> | |
Mon, 5 Nov 2007 03:54:50 +0000 (22:54 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 5 Nov 2007 20:55:33 +0000 (12:55 -0800) | ||
commit | ec640ed1cf1d62730555705ec18b785c43e81f62 | |
tree | ec799e9b53c22d88fc6aa8b7eb877fce29d01f3a | tree | snapshot |
parent | 9ef4272bea94b022aa84372c06e211bccd5f8a54 | commit | diff |
remove dead code from the csum-file interface
The provided name argument is always constant and valid in every
caller's context, so no need to have an array of PATH_MAX chars to copy
it into when a simple pointer will do. Unfortunately that means getting
rid of wascally wabbits too.
The 'error' field is also unused.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The provided name argument is always constant and valid in every
caller's context, so no need to have an array of PATH_MAX chars to copy
it into when a simple pointer will do. Unfortunately that means getting
rid of wascally wabbits too.
The 'error' field is also unused.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
csum-file.c | diff | blob | history | |
csum-file.h | diff | blob | history |