@@ -65,8 +65,10 @@ static ssize_t write_location(struct bt_conn *conn, const struct bt_gatt_attr *a
6565 BT_DBG ("%02x" , inst -> location );
6666
6767 if (old_location != inst -> location ) {
68- bt_gatt_notify_uuid (NULL , BT_UUID_VOCS_LOCATION , inst -> service_p -> attrs ,
69- & inst -> location , sizeof (inst -> location ));
68+ (void )bt_gatt_notify_uuid (NULL , BT_UUID_VOCS_LOCATION ,
69+ inst -> service_p -> attrs ,
70+ & inst -> location ,
71+ sizeof (inst -> location ));
7072
7173 if (inst -> cb && inst -> cb -> location ) {
7274 inst -> cb -> location (NULL , (struct bt_vocs * )inst , 0 , inst -> location );
@@ -140,8 +142,9 @@ static ssize_t write_vocs_control(struct bt_conn *conn, const struct bt_gatt_att
140142 inst -> state .change_counter ++ ;
141143 BT_DBG ("New state: offset %d, counter %u" ,
142144 inst -> state .offset , inst -> state .change_counter );
143- bt_gatt_notify_uuid (NULL , BT_UUID_VOCS_STATE , inst -> service_p -> attrs ,
144- & inst -> state , sizeof (inst -> state ));
145+ (void )bt_gatt_notify_uuid (NULL , BT_UUID_VOCS_STATE ,
146+ inst -> service_p -> attrs ,
147+ & inst -> state , sizeof (inst -> state ));
145148
146149 if (inst -> cb && inst -> cb -> state ) {
147150 inst -> cb -> state (NULL , (struct bt_vocs * )inst , 0 , inst -> state .offset );
@@ -179,8 +182,10 @@ static ssize_t write_output_desc(struct bt_conn *conn, const struct bt_gatt_attr
179182 memcpy (inst -> output_desc , buf , len );
180183 inst -> output_desc [len ] = '\0' ;
181184
182- bt_gatt_notify_uuid (NULL , BT_UUID_VOCS_DESCRIPTION , inst -> service_p -> attrs ,
183- & inst -> output_desc , strlen (inst -> output_desc ));
185+ (void )bt_gatt_notify_uuid (NULL , BT_UUID_VOCS_DESCRIPTION ,
186+ inst -> service_p -> attrs ,
187+ & inst -> output_desc ,
188+ strlen (inst -> output_desc ));
184189
185190 if (inst -> cb && inst -> cb -> description ) {
186191 inst -> cb -> description (NULL , (struct bt_vocs * )inst , 0 , inst -> output_desc );
0 commit comments