You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "sjanc (via GitHub)" <gi...@apache.org> on 2026/10/20 20:09:15 UTC
[PR] nimble/host: Fix maybe-uninitialized warning in periodic report [mynewt-nimble]
sjanc opened a new pull request, #2347:
URL: https://github.com/apache/mynewt-nimble/pull/2347
With -Og GCC is not able to figure out that cb and cb_arg are used only if psync was found and reports:
ble_gap.c:1874:19: error: 'cb' may be used uninitialized
[-Werror=maybe-uninitialized]
Initialize both to NULL. This is the case for unit tests built with debug build profile once native debug builds use -Og.
Assisted-by: Claude:claude-opus-5-5
--
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: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] nimble/host: Fix maybe-uninitialized warning in periodic report [mynewt-nimble]
Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc merged PR #2347:
URL: https://github.com/apache/mynewt-nimble/pull/2347
--
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: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org