summaryrefslogtreecommitdiffstats
path: root/ril/libril/ril_service.cpp
diff options
context:
space:
mode:
authorDominggoes Isakh <drjisakh@gmail.com>2018-08-13 22:39:50 +0200
committerShilin Victor <chrono.monochrome@gmail.com>2019-02-23 16:50:49 +0300
commitc21a5d8bba7e13608bcdfee19da2593713ac755f (patch)
tree23c315d96b9b3b67e41180ada836cbad28bfb445 /ril/libril/ril_service.cpp
parentacb3230496c70d4f8bfe2aa2d31f31da6e4eb73d (diff)
downloadhardware_samsung-c21a5d8bba7e13608bcdfee19da2593713ac755f.tar.gz
hardware_samsung-c21a5d8bba7e13608bcdfee19da2593713ac755f.tar.bz2
hardware_samsung-c21a5d8bba7e13608bcdfee19da2593713ac755f.zip
Resolve compiler errors
* remove all unused variables * remove all unused functions * build with -no-error Change-Id: I8cdf30b9e650b4905c6c122122cd3630bf153275
Diffstat (limited to 'ril/libril/ril_service.cpp')
-rw-r--r--ril/libril/ril_service.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/ril/libril/ril_service.cpp b/ril/libril/ril_service.cpp
index 2f7b574..e7a98d8 100644
--- a/ril/libril/ril_service.cpp
+++ b/ril/libril/ril_service.cpp
@@ -1428,7 +1428,6 @@ Return<void> RadioImpl::writeSmsToSim(int32_t serial, const SmsWriteArgs& smsWri
RIL_SMS_WriteArgs args;
args.status = (int) smsWriteArgs.status;
- int len;
if (!copyHidlStringToRil(&args.pdu, smsWriteArgs.pdu, pRI)) {
return Void();
}
@@ -2328,7 +2327,6 @@ Return<void> RadioImpl::requestIccSimAuthentication(int32_t serial, int32_t auth
pf.authContext = authContext;
- int len;
if (!copyHidlStringToRil(&pf.authData, authData, pRI)) {
return Void();
}
@@ -4329,7 +4327,6 @@ int radio::getNetworkSelectionModeResponse(int slotId,
RadioResponseInfo responseInfo = {};
populateResponseInfo(responseInfo, serial, responseType, e);
bool manual = false;
- int serviceClass;
if (response == NULL || responseLen % sizeof(int) != 0) {
RLOGE("getNetworkSelectionModeResponse Invalid response: NULL");
if (e == RIL_E_SUCCESS) responseInfo.error = RadioError::INVALID_RESPONSE;
@@ -4568,7 +4565,6 @@ int radio::getMuteResponse(int slotId,
RadioResponseInfo responseInfo = {};
populateResponseInfo(responseInfo, serial, responseType, e);
bool enable = false;
- int serviceClass;
if (response == NULL || responseLen % sizeof(int) != 0) {
RLOGE("getMuteResponse Invalid response: NULL");
if (e == RIL_E_SUCCESS) responseInfo.error = RadioError::INVALID_RESPONSE;