pkarashchenko commented on code in PR #1687:
URL: https://github.com/apache/nuttx-apps/pull/1687#discussion_r1151456308


##########
system/cu/cu_main.c:
##########
@@ -291,15 +288,15 @@ int main(int argc, FAR char *argv[])
 
   /* Initialize global data */
 
-  memset(&g_cu, 0, sizeof(struct cu_globals_s));
+  memset(cu, 0, sizeof(struct cu_globals_s));

Review Comment:
   Optional: Let's use the same style here and at line 295. So either
   
   ```suggestion
     memset(cu, 0, sizeof(*cu));
   ```
   Or change line 295



-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to