mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-06 05:43:01 +00:00
NSH: Eliminate a warning about discarding const
This commit is contained in:
parent
f48b3c73b0
commit
b1230ce87a
1 changed files with 2 additions and 2 deletions
|
|
@ -235,8 +235,8 @@ static void nsh_parse_statusline(FAR char *line,
|
|||
}
|
||||
else if (strncmp(line, g_priority, strlen(g_priority)) == 0)
|
||||
{
|
||||
FAR char *ptr =
|
||||
status->td_priority = nsh_trimspaces(&line[12]);
|
||||
FAR char *ptr = nsh_trimspaces(&line[12]);
|
||||
status->td_priority = ptr;
|
||||
|
||||
/* If priority inheritance is enabled, use current pri, ignore base */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue