mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
net/semantic/parser: fix compile warning found by sparse
Reference: https://linux.die.net/man/1/sparse Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
fb9b41221d
commit
589d4a9f8e
11 changed files with 19 additions and 16 deletions
|
|
@ -150,9 +150,9 @@ int bt_gatt_attr_read_service(FAR struct bt_conn_s *conn,
|
|||
sizeof(uuid->u.u128));
|
||||
}
|
||||
|
||||
int bt_gatt_attr_read_include(FAR struct bt_conn_s *conn,
|
||||
FAR const struct bt_gatt_attr_s *attr,
|
||||
FAR void *buf, uint8_t len, uint16_t offset)
|
||||
int bt_gatt_attr_read_included(FAR struct bt_conn_s *conn,
|
||||
FAR const struct bt_gatt_attr_s *attr,
|
||||
FAR void *buf, uint8_t len, uint16_t offset)
|
||||
{
|
||||
FAR struct bt_gatt_include_s *incl = attr->user_data;
|
||||
struct gatt_incl_s pdu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue