diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-12-27 11:12:45 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-27 11:12:45 -0800 |
commit | ee5462d6e71aad04628ccb8f078784468bfa4139 (patch) | |
tree | 0799df843e22607fb80e1021333a853388c2a054 /compat/snprintf.c | |
parent | t3404: add test case for abbreviated commands (diff) | |
download | tgif-ee5462d6e71aad04628ccb8f078784468bfa4139.tar.xz |
sequencer.c: drop 'const' from function return type
With -Werror=ignored-qualifiers, a function that claims to return
"const char" gets this error:
CC sequencer.o
sequencer.c:798:19: error: type qualifiers ignored on function return
type [-Werror=ignored-qualifiers]
static const char command_to_char(const enum todo_command command)
^
Reported-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/snprintf.c')
0 files changed, 0 insertions, 0 deletions