mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
tools/: Remove dangling space at the end of lines.
This commit is contained in:
+2
-2
@@ -729,7 +729,7 @@ struct note_common_s
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define NTYPES 18
|
#define NTYPES 18
|
||||||
static char *noteid[NTYPES] =
|
static char *noteid[NTYPES] =
|
||||||
{
|
{
|
||||||
"NOTE_START", /* type = 0 */
|
"NOTE_START", /* type = 0 */
|
||||||
"NOTE_STOP", /* type = 1 */
|
"NOTE_STOP", /* type = 1 */
|
||||||
@@ -774,7 +774,7 @@ int main(int argc, char **argv)
|
|||||||
unsigned int remainder;
|
unsigned int remainder;
|
||||||
unsigned int value;
|
unsigned int value;
|
||||||
char buffer[64];
|
char buffer[64];
|
||||||
|
|
||||||
notndx = ni_tail;
|
notndx = ni_tail;
|
||||||
while (notndx != ni_head)
|
while (notndx != ni_head)
|
||||||
{
|
{
|
||||||
|
|||||||
+3
-3
@@ -230,7 +230,7 @@ int main(int argc, char **argv, char **envp)
|
|||||||
|
|
||||||
else if (strncmp(&line[indent], "for ", 4) == 0)
|
else if (strncmp(&line[indent], "for ", 4) == 0)
|
||||||
{
|
{
|
||||||
bfor = true;
|
bfor = true;
|
||||||
bstatm = true;
|
bstatm = true;
|
||||||
}
|
}
|
||||||
else if (strncmp(&line[indent], "switch ", 7) == 0)
|
else if (strncmp(&line[indent], "switch ", 7) == 0)
|
||||||
@@ -250,7 +250,7 @@ int main(int argc, char **argv, char **envp)
|
|||||||
else if (strncmp(&line[indent], "for(", 4) == 0)
|
else if (strncmp(&line[indent], "for(", 4) == 0)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Missing whitespace after keyword at line %d:%d\n", lineno, n);
|
fprintf(stderr, "Missing whitespace after keyword at line %d:%d\n", lineno, n);
|
||||||
bfor = true;
|
bfor = true;
|
||||||
bstatm = true;
|
bstatm = true;
|
||||||
}
|
}
|
||||||
else if (strncmp(&line[indent], "switch(", 7) == 0)
|
else if (strncmp(&line[indent], "switch(", 7) == 0)
|
||||||
@@ -325,7 +325,7 @@ int main(int argc, char **argv, char **envp)
|
|||||||
ncomment = 0;
|
ncomment = 0;
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Closing without opening comment at line %d:%d\n",
|
"Closing without opening comment at line %d:%d\n",
|
||||||
lineno, n);
|
lineno, n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user