michallenc commented on PR #19555:
URL: https://github.com/apache/nuttx/pull/19555#issuecomment-5622226895
@raiden00pl I've come across this issue:
```c
FILE *file_ptrs[2] =
{
NULL, NULL
};
```
results in `Bad left brace alignment` error while the following code passes
without warnings.
```c
FILE *file_ptrs[2] =
{
NULL, NULL
};
```
This is intended? It's not consistent with other alignment, even the
following one passes without warnings
```c
struct pollfd pfds[2] =
{
{
STDIN_FILENO,
POLLIN
},
#ifdef CONFIG_NUTTX_USBNSH
{
usbfd,
POLLIN
},
#endif
};
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]