]> git.ipfire.org Git - thirdparty/git.git/commit - attr.c
Make git_check_attr() a void function
authorTorsten Bögershausen <tboegi@web.de>
Wed, 12 Sep 2018 19:32:02 +0000 (21:32 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Sep 2018 22:15:34 +0000 (15:15 -0700)
commitd64324cb60e4d0e1f5fdc1d3319c79ddbf5d0eb2
treeee83da9cbe076b9456d1c04d22ed3d08be2f88dd
parent1d4361b0f344188ab5eec6dcea01f61a3a3a1670
Make git_check_attr() a void function

git_check_attr() returns always 0.
Remove all the error handling code of the callers, which is never executed.
Change git_check_attr() to be a void function.

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c
attr.c
attr.h
builtin/check-attr.c
builtin/pack-objects.c
convert.c
ll-merge.c
userdiff.c
ws.c