You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/08/28 14:06:17 UTC
[GitHub] [mynewt-nimble] haukepetersen opened a new pull request #566:
controller: fix '-Wsometimes-uninitialized' issue
haukepetersen opened a new pull request #566: controller: fix '-Wsometimes-uninitialized' issue
URL: https://github.com/apache/mynewt-nimble/pull/566
In ble_ll_pdu_max_tx_octets_get(), LLVM complains about the
possibility of the `octets` variable not being intialized. This is
the case, if no assert() function is compiled in. This PR
fixes this by initializing `octets` to a save value.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services