mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(my_type_of): remove unreachable code.
Found by Clang 4.0.1. edit.c:896:16: error: 'return' will never be executed [-Werror,-Wunreachable-code-return] return 0x80000000UL; ^~~~~~~~~~~~ (whole my_type_of() is suspect) Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
ac9e4c321a
commit
00416d5cf3
@ -890,11 +890,8 @@ my_type_of (int c)
|
||||
if (c == 0)
|
||||
return 0;
|
||||
if (c == '!')
|
||||
{
|
||||
if (*option_chars_move_whole_word == '!')
|
||||
return 2;
|
||||
return 0x80000000UL;
|
||||
}
|
||||
return 2;
|
||||
|
||||
if (g_ascii_isupper ((gchar) c))
|
||||
c = 'A';
|
||||
else if (g_ascii_islower ((gchar) c))
|
||||
|
Loading…
Reference in New Issue
Block a user