sched/environ: Remove the unneeded cast in env_dup

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-04-21 15:27:49 +08:00 committed by Petro Karashchenko
parent ce49c80976
commit 9794068a9c
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ int env_dup(FAR struct task_group_s *group, FAR char * const *envcp)
/* Is there an environment ? */ /* Is there an environment ? */
if (envcp || (envcp = (FAR char * const *)ptcb->group->tg_envp)) if (envcp || (envcp = ptcb->group->tg_envp))
{ {
/* Count the strings */ /* Count the strings */