sched/environ: Remove the unneeded cast in env_dup
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
ce49c80976
commit
9794068a9c
|
@ -78,7 +78,7 @@ int env_dup(FAR struct task_group_s *group, FAR char * const *envcp)
|
|||
|
||||
/* Is there an environment ? */
|
||||
|
||||
if (envcp || (envcp = (FAR char * const *)ptcb->group->tg_envp))
|
||||
if (envcp || (envcp = ptcb->group->tg_envp))
|
||||
{
|
||||
/* Count the strings */
|
||||
|
||||
|
|
Loading…
Reference in New Issue