mirror of
https://github.com/apache/nuttx.git
synced 2025-12-17 10:16:49 +08:00
Remove the unnessary empty line after label
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
6e490759d6
commit
bdeaea3742
@@ -123,7 +123,8 @@ static FAR const char *findscanset(FAR const char *fmt,
|
||||
{
|
||||
set[c / 8] |= (1 << (c % 8)); /* Take character c */
|
||||
|
||||
doswitch:n = fmt_char(fmt++); /* Examine the next */
|
||||
doswitch:
|
||||
n = fmt_char(fmt++); /* Examine the next */
|
||||
switch (n)
|
||||
{
|
||||
case 0: /* Format ended too soon */
|
||||
|
||||
@@ -580,7 +580,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
|
||||
|
||||
flags &= ~FL_FLTUPP;
|
||||
|
||||
flt_oper:
|
||||
flt_oper:
|
||||
ndigs = 0;
|
||||
if ((flags & FL_PREC) == 0)
|
||||
{
|
||||
@@ -937,7 +937,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
|
||||
|
||||
size = strnlen(pnt, (flags & FL_PREC) ? prec : ~0);
|
||||
|
||||
str_lpad:
|
||||
str_lpad:
|
||||
if ((flags & FL_LPAD) == 0)
|
||||
{
|
||||
while (size < width)
|
||||
|
||||
@@ -245,7 +245,6 @@ int setvbuf(FAR FILE *stream, FAR char *buffer, int mode, size_t size)
|
||||
/* Update the stream flags and return success */
|
||||
|
||||
reuse_buffer:
|
||||
|
||||
stream->fs_flags = flags;
|
||||
lib_give_semaphore(stream);
|
||||
return OK;
|
||||
|
||||
@@ -172,11 +172,11 @@ static FAR const unsigned char *_strptime(FAR const unsigned char *buf,
|
||||
goto literal;
|
||||
}
|
||||
|
||||
again:
|
||||
again:
|
||||
switch (c = *fmt++)
|
||||
{
|
||||
case '%': /* "%%" is converted to "%". */
|
||||
literal:
|
||||
literal:
|
||||
if (c != *bp++)
|
||||
{
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user