summaryrefslogtreecommitdiff
path: root/git-gui/lib/diff.tcl
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2025-11-18 04:11:56 -0500
committerJunio C Hamano <gitster@pobox.com>2025-11-18 09:36:05 -0800
commit65e8141f051401a101567b95860424d94f42ef39 (patch)
tree6bfd65ef4b597a97ae394e2c3669d92df6965559 /git-gui/lib/diff.tcl
parentf368df439b31b422169975cc3c95f7db6a46eada (diff)
compat/mmap: mark unused argument in git_munmap()
Our mmap compat code emulates mapping by using malloc/free. Our git_munmap() must take a "length" parameter to match the interface of munmap(), but we don't use it (it is up to the allocator to know how big the block is in free()). Let's mark it as UNUSED to avoid complaints from -Wunused-parameter. Otherwise you cannot build with "make DEVELOPER=1 NO_MMAP=1". Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions