mirror of
https://github.com/apache/nuttx.git
synced 2026-03-26 18:23:50 +08:00
17:10:41 wireless/bluetooth/bt_slip.c:300:7: error: 'byte' may be used uninitialized [-Werror=maybe-uninitialized]
17:10:41 300 | wlerr("err: invalid escape byte %x\n", *byte);
17:10:41 | ^
17:10:41 wireless/bluetooth/bt_slip.c: In function 'bt_slip_receive':
17:10:41 wireless/bluetooth/bt_slip.c:766:11: note: 'byte' was declared here
17:10:41 766 | uint8_t byte;
17:10:41 | ^~~~
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>