Skip to content
Commit b122685e authored by Dennis Grijalva's avatar Dennis Grijalva Committed by Johan Hedberg
Browse files

bluetooth: conn: Fix compiler warning



When compiling conn.c using arm-none-eabi-gcc version 11.3.1 20220712
with the -Wmaybe-uninitialized flag a warning is emitted due to
pending_no_cb not being initialized. I'm not sure if initializing it to
NULL is the "correct" fix, but it's certainly not any worse then it being
uninitialized, and it fixes the warning.

Signed-off-by: default avatarDennis Grijalva <dennisgrijalva@meta.com>
parent a6adaedd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment