This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 9794068a9c7ec17d7aac51f936d712ef6dd06fc4 Author: Xiang Xiao <[email protected]> AuthorDate: Thu Apr 21 15:27:49 2022 +0800 sched/environ: Remove the unneeded cast in env_dup Signed-off-by: Xiang Xiao <[email protected]> --- sched/environ/env_dup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/environ/env_dup.c b/sched/environ/env_dup.c index 87e9274c77..f1b351ef4c 100644 --- a/sched/environ/env_dup.c +++ b/sched/environ/env_dup.c @@ -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 */
