summaryrefslogtreecommitdiff
path: root/combine-diff.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2018-04-13 15:18:33 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-16 14:15:03 +0900
commit17ef3a421e0a1019592a0b14b95f09df61730071 (patch)
tree455f977598f0a91ea39a9d1ac748b2bf9cf88d94 /combine-diff.c
parentgpg-interface: use size_t for signature buffer size (diff)
downloadtgif-17ef3a421e0a1019592a0b14b95f09df61730071.tar.xz
gpg-interface: fix const-correctness of "eol" pointer
We accidentally shed the "const" of our buffer by passing it through memchr. Let's fix that, and while we're at it, move our variable declaration inside the loop, which is the only place that uses it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Ben Toews <mastahyeti@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'combine-diff.c')
0 files changed, 0 insertions, 0 deletions