(process_arg): Remove duplication ifs in form_number handling.
authordrepper <drepper>
Sat, 31 Aug 2002 09:21:23 +0000 (09:21 +0000)
committerdrepper <drepper>
Sat, 31 Aug 2002 09:21:23 +0000 (09:21 +0000)
stdio-common/vfprintf.c

index 6d697d8..ab7998c 100644 (file)
@@ -938,8 +938,6 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
            *(long int *) va_arg (ap, void *) = done;                         \
          else if (is_char)                                                   \
            *(char *) va_arg (ap, void *) = done;                             \
-         else if (is_long_num)                                               \
-           *(long int *) va_arg (ap, void *) = done;                         \
          else if (!is_short)                                                 \
            *(int *) va_arg (ap, void *) = done;                              \
          else                                                                \
@@ -950,8 +948,6 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
          *(long long int *) args_value[fspec->data_arg].pa_pointer = done;   \
        else if (is_long_num)                                                 \
          *(long int *) args_value[fspec->data_arg].pa_pointer = done;        \
-       else if (is_long_num)                                                 \
-         *(long int *) args_value[fspec->data_arg].pa_pointer = done;        \
        else if (is_char)                                                     \
          *(char *) args_value[fspec->data_arg].pa_pointer = done;            \
        else if (!is_short)                                                   \