Remove dead assignment.
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 8 Jul 2011 11:52:12 +0000 (13:52 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 8 Jul 2011 11:52:12 +0000 (13:52 +0200)
format_check.c

index d77b588..37d2598 100644 (file)
@@ -768,7 +768,6 @@ static void check_scanf_format(const call_argument_t *arg,
                        break;
 
                case 'c':
-                       expected_type = type_int;
                        switch (fmt_mod) {
                        case FMT_MOD_NONE: expected_type = type_char;    break;
                        case FMT_MOD_l:    expected_type = type_wchar_t; break;