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 2020/08/04 02:08:32 UTC

[GitHub] [incubator-nuttx] v01d commented on a change in pull request #1502: Random fixes for issues reported by clang-check

v01d commented on a change in pull request #1502:
URL: https://github.com/apache/incubator-nuttx/pull/1502#discussion_r464756947



##########
File path: arch/sim/src/sim/up_exit.c
##########
@@ -65,9 +65,9 @@
 
 void up_exit(int status)
 {
-  FAR struct tcb_s *tcb = this_task();
+  FAR struct tcb_s *tcb;

Review comment:
       what does this change accomplish? I can only see that it introduces a second call to `this_task()`.




----------------------------------------------------------------
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.

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