mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 22:20:58 +00:00
avoid unused warning
This commit is contained in:
parent
f3e036dc9d
commit
929f36c4de
@ -109,7 +109,6 @@ static void report_found_services(void){
|
|||||||
|
|
||||||
static void handle_query_rfcomm_event(sdp_query_event_t * event, void * context){
|
static void handle_query_rfcomm_event(sdp_query_event_t * event, void * context){
|
||||||
sdp_query_rfcomm_service_event_t * ve;
|
sdp_query_rfcomm_service_event_t * ve;
|
||||||
sdp_query_complete_event_t * ce;
|
|
||||||
|
|
||||||
switch (event->type){
|
switch (event->type){
|
||||||
case SDP_QUERY_RFCOMM_SERVICE:
|
case SDP_QUERY_RFCOMM_SERVICE:
|
||||||
@ -117,7 +116,6 @@ static void handle_query_rfcomm_event(sdp_query_event_t * event, void * context)
|
|||||||
store_found_service(ve->service_name, ve->channel_nr);
|
store_found_service(ve->service_name, ve->channel_nr);
|
||||||
break;
|
break;
|
||||||
case SDP_QUERY_COMPLETE:
|
case SDP_QUERY_COMPLETE:
|
||||||
ce = (sdp_query_complete_event_t*) event;
|
|
||||||
report_found_services();
|
report_found_services();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user