Changeset 84239b1 in mainline for boot/generic/src/printf_core.c


Ignore:
Timestamp:
2018-03-11T19:39:11Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3d47c97
Parents:
850fd32
Message:

And there was much fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/generic/src/printf_core.c

    r850fd32 r84239b1  
    670670                                counter += retval;
    671671                                j = nxt;
    672                                 goto next_char;
     672                                continue;
    673673                        case 'c':
    674674                                retval = print_char(va_arg(ap, unsigned int), width, flags, ps);
     
    677677                                        counter = -counter;
    678678                                        goto out;
    679                                 };
     679                                }
    680680
    681681                                counter += retval;
    682682                                j = nxt;
    683                                 goto next_char;
     683                                continue;
    684684
    685685                        /*
     
    718718                        case '%':
    719719                                j = i;
    720                                 goto next_char;
     720                                continue;
    721721
    722722                        /*
     
    728728                                 * so we will print whole bad format sequence.
    729729                                 */
    730                                 goto next_char;
     730                                continue;
    731731                        }
    732732
     
    784784                        j = nxt;
    785785                }
    786 next_char:
    787                 ;
    788786        }
    789787
Note: See TracChangeset for help on using the changeset viewer.