(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:
Andreas Mohr 2018-01-04 08:15:54 +00:00 committed by Andrew Borodin
parent ac9e4c321a
commit 00416d5cf3

View File

@ -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))