summaryrefslogtreecommitdiff
path: root/gettext.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-05-23 01:34:53 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-27 12:39:41 -0700
commita5e2499e5421c88ec2403087597613d60b8f3077 (patch)
tree03065e5466e0d5c4141fcf88f97c41e3496b7a9a /gettext.c
parentSync with 2.4.2 (diff)
downloadtgif-a5e2499e5421c88ec2403087597613d60b8f3077.tar.xz
verify_lock(): return 0/-1 rather than struct ref_lock *
Its return value wasn't conveying any extra information, but it made the reader wonder whether the ref_lock that it returned might be different than the one that was passed to it. So change the function to the traditional "return 0 on success or a negative value on error". Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gettext.c')
0 files changed, 0 insertions, 0 deletions