summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-09-01 11:34:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-09-03 04:10:24 (GMT)
commitba4d1c7b1623b2c7ec198aee08036acf779375e6 (patch)
treeb4b74223af622272dc6026818848d48cad2faf81 /builtin
parentfe4a0a288842e225f99254b3e6ce14ff98875501 (diff)
downloadgit-ba4d1c7b1623b2c7ec198aee08036acf779375e6.zip
git-ba4d1c7b1623b2c7ec198aee08036acf779375e6.tar.gz
git-ba4d1c7b1623b2c7ec198aee08036acf779375e6.tar.bz2
argv-array: fix bogus cast when freeing array
Since the array struct stores a "const char **" argv member (for compatibility with most of our argv-taking functions), we have to cast away the const-ness when freeing its elements. However, we used the wrong type when doing so. It doesn't make a difference since free() take a void pointer anyway, but it can be slightly confusing to a reader. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions