xiaoxiang781216 commented on a change in pull request #179: macOS support for 
sim
URL: https://github.com/apache/incubator-nuttx/pull/179#discussion_r372239459
 
 

 ##########
 File path: binfmt/binfmt_globals.c
 ##########
 @@ -56,7 +56,7 @@
  * protection to simply disable pre-emption when accessing this list.
  */
 
-FAR struct binfmt_s *g_binfmts;
+FAR struct binfmt_s *g_binfmts = NULL;
 
 Review comment:
   should we use -fno-common option instead? There are many place which don't 
initialize global variables explicitly.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to