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/09/03 13:26:42 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6996: sched/wqueue: fix visual studio Compiler Error C2059

pkarashchenko commented on code in PR #6996:
URL: https://github.com/apache/incubator-nuttx/pull/6996#discussion_r962154008


##########
sched/wqueue/kwork_thread.c:
##########
@@ -79,7 +79,7 @@
 
 struct hp_wqueue_s g_hpwork =
 {
-  {},
+  {0},

Review Comment:
   ```suggestion
     {NULL, NULL},
   ```



##########
sched/wqueue/kwork_thread.c:
##########
@@ -90,7 +90,7 @@ struct hp_wqueue_s g_hpwork =
 
 struct lp_wqueue_s g_lpwork =
 {
-  {},
+  {0},

Review Comment:
   ```suggestion
     {NULL, NULL},
   ```



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