You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/17 05:33:41 UTC

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6871: sched: fix visual studio Compiler Warning (level 4) C4706

anchao commented on code in PR #6871:
URL: https://github.com/apache/incubator-nuttx/pull/6871#discussion_r947466461


##########
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 = ptcb->group->tg_envp))
+  if (envcp || (envcp == ptcb->group->tg_envp))

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org