diff options
author | Jeff King <peff@peff.net> | 2014-01-22 20:28:30 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-23 10:34:51 -0800 |
commit | aa8bd519dbf044f4b54a365c9c80c6eb9a1ee2ea (patch) | |
tree | 381f0d2d71def96996367b6c2c71294a36449d78 /unpack-trees.h | |
parent | 44b96ecaa84b1de72a57e27143bf9aca75f251b9 (diff) | |
download | git-aa8bd519dbf044f4b54a365c9c80c6eb9a1ee2ea.tar.gz |
repack: make parsed string options const-correct
When we use OPT_STRING to parse an option, we get back a
pointer into the argv array, which should be "const char *".
The compiler doesn't notice because it gets passed through a
"void *" in the option struct.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.h')
0 files changed, 0 insertions, 0 deletions