Joel Sherrill created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5374



## Summary
Many of the shell's command structures are generating missing field initialiser 
warnings. The structure _rtems_shell_cmd_t_ has these fields which are not 
initialised by many/most of the shell commands:

```
  mode_t                 mode;
  uid_t                  uid;
  gid_t                  gid;
```

Any suggestions on what to initialize them to? They must be being set to 0 now.

Do we want constants like SHELL_DEFAULT_COMMAND_MODE, etc.? And those be 0?

## Steps to reproduce

<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5374
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to