unit: fix GCC 6.0 compilation issues

-Werror=unused-const-variable
This commit is contained in:
Kuba Pawlak 2016-04-18 13:45:36 +02:00 committed by Denis Kenzior
parent dee50a7565
commit eb23a88956
2 changed files with 0 additions and 56 deletions

View File

@ -234,29 +234,6 @@ static const struct cb_data testdata_query_invalid_3 = {
.error_type = OFONO_ERROR_TYPE_FAILURE,
};
/*
* The following structure contains test data for a
* RIL_REQUEST_GET_FACILITY_LOCK reply with an incomplete
* integer parameter, which will trigger a malformed parcel
* error.
*/
static const guchar reply_get_facility_lock_data_invalid_4[] = {
0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00
};
static const struct cb_data testdata_query_invalid_4 = {
.start_func = trigger_query,
.lock = "OI",
.cls = BEARER_CLASS_VOICE,
.rtd = {
.req_data = req_get_facility_lock_parcel_1,
.req_size = sizeof(req_get_facility_lock_parcel_1),
.rsp_data = reply_get_facility_lock_data_invalid_4,
.rsp_size = sizeof(reply_get_facility_lock_data_invalid_4),
},
.error_type = OFONO_ERROR_TYPE_FAILURE,
};
/* RIL_REQUEST_SET_FACILITY_LOCK witht the following parameters:
*
* facility="OI" (outgoing international calls)

View File

@ -16867,11 +16867,6 @@ static const struct terminal_response_test get_input_response_data_181 = {
},
};
static const unsigned char get_input_response_191b[] = {
0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x82,
0x81, 0x83, 0x01, 0x00, 0x8d, 0x00,
};
static const struct terminal_response_test get_input_response_data_191 = {
/* Either get_input_response_191a or get_input_response_191b is ok */
.pdu = get_input_response_191a,
@ -17349,11 +17344,6 @@ static const unsigned char poll_interval_response_111a[] = {
0x81, 0x83, 0x01, 0x00, 0x84, 0x02, 0x00, 0x01,
};
static const unsigned char poll_interval_response_111b[] = {
0x81, 0x03, 0x01, 0x03, 0x00, 0x82, 0x02, 0x82,
0x81, 0x83, 0x01, 0x00, 0x84, 0x02, 0x01, 0x3c,
};
static const struct terminal_response_test poll_interval_response_data_111a = {
/* Either poll_interval_response_111a or b is ok */
.pdu = poll_interval_response_111a,
@ -17476,26 +17466,6 @@ static const struct terminal_response_test refresh_response_data_131a = {
},
};
static const unsigned char refresh_response_131b[] = {
0x81, 0x03, 0x01, 0x01, 0x02, 0x82, 0x02, 0x82,
0x81, 0x83, 0x01, 0x03,
};
static const struct terminal_response_test refresh_response_data_131b = {
.pdu = refresh_response_131b,
.pdu_len = sizeof(refresh_response_131b),
.response = {
.number = 1,
.type = STK_COMMAND_TYPE_REFRESH,
.qualifier = 0x02, /* USIM Initialization & File Change */
.src = STK_DEVICE_IDENTITY_TYPE_TERMINAL,
.dst = STK_DEVICE_IDENTITY_TYPE_UICC,
.result = {
.type = STK_RESULT_TYPE_REFRESH_WITH_EFS,
},
},
};
static const unsigned char refresh_response_141a[] = {
0x81, 0x03, 0x01, 0x01, 0x00, 0x82, 0x02, 0x82,
0x81, 0x83, 0x01, 0x00,
@ -18338,9 +18308,6 @@ static const unsigned char provide_local_info_response_131[] = {
0x06, 0x45, 0x91, 0xa4, 0x90,
};
static const short bcch_channels_131[] = {
};
static const struct terminal_response_test
provide_local_info_response_data_131 = {
.pdu = provide_local_info_response_131,