You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by "Lapshin (via GitHub)" <gi...@apache.org> on 2023/07/18 08:43:46 UTC
[GitHub] [mynewt-nimble] Lapshin opened a new pull request, #1554: Fix gcc 13 warnings
Lapshin opened a new pull request, #1554:
URL: https://github.com/apache/mynewt-nimble/pull/1554
This change fixes warnings that appeared when compiling with GCC 13.1.0:
```
/home/alex/git/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_att_svr.c:1838:16: error: 'entry' may be used uninitialized [-Werror=maybe-uninitialized]
1838 | if (entry == NULL) {
| ^
/home/alex/git/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_att_svr.c:1713:31: note: 'entry' was declared here
1713 | struct ble_att_svr_entry *entry;
| ^~~~~
/home/alex/git/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_att_svr.c:1846:18: error: 'start_group_handle' may be used uninitialized [-Werror=maybe-uninitialized]
1846 | rc = ble_att_svr_read_group_type_entry_write(txom, mtu,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1847 | start_group_handle,
| ~~~~~~~~~~~~~~~~~~~
1848 | end_group_handle,
| ~~~~~~~~~~~~~~~~~
1849 | &service_uuid.u);
| ~~~~~~~~~~~~~~~~
/home/alex/git/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_att_svr.c:1715:14: note: 'start_group_handle' was declared here
1715 | uint16_t start_group_handle;
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
```
--
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@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-nimble] Lapshin commented on pull request #1554: Fix gcc 13 warnings
Posted by "Lapshin (via GitHub)" <gi...@apache.org>.
Lapshin commented on PR #1554:
URL: https://github.com/apache/mynewt-nimble/pull/1554#issuecomment-1640173178
@sjanc , done!
--
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@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-nimble] sjanc merged pull request #1554: Fix gcc 13 warnings
Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc merged PR #1554:
URL: https://github.com/apache/mynewt-nimble/pull/1554
--
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@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org