diff options
author | Jeff King <peff@peff.net> | 2014-07-13 02:42:00 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-28 10:14:33 -0700 |
commit | fe0444b50b400a2c0b6263e8bd6ba464fea0ed4f (patch) | |
tree | 05a0616e98bb40d5f9077e2b2d4d28579891a528 /url.h | |
parent | fe24d396e1b8d2eedbc07f626af3dcd2b14e6012 (diff) | |
download | git-fe0444b50b400a2c0b6263e8bd6ba464fea0ed4f.tar.gz git-fe0444b50b400a2c0b6263e8bd6ba464fea0ed4f.tar.xz |
parse_object_buffer: do not set object type
The only way that "obj" can be non-NULL is if it came from
one of the lookup_* functions. These functions always ensure
that the object has the expected type (and return NULL
otherwise), so there is no need for us to set the type.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.h')
0 files changed, 0 insertions, 0 deletions