diff options
author | Sanket Padawe <sanketpadawe@google.com> | 2016-06-08 14:09:26 -0700 |
---|---|---|
committer | Sanket Padawe <sanketpadawe@google.com> | 2016-06-08 14:09:26 -0700 |
commit | 626099ec9b53f7480d2f2ab5522eeb40c99de549 (patch) | |
tree | ce8bb36176b9fafb906856c0055e88aada3abf37 | |
parent | 22b45625aa72ef9311bf23cd785eccce9535efa5 (diff) | |
download | platform_hardware_ril-nougat-dev.tar.gz platform_hardware_ril-nougat-dev.tar.bz2 platform_hardware_ril-nougat-dev.zip |
Fix build failure which occurs after setting macro RILC_LOG.nougat-dev
Bug: 29214796
Change-Id: I5f74981a59344078f900ecf769cc962b1416d5fd
-rwxr-xr-x | libril/ril.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libril/ril.cpp b/libril/ril.cpp index c283eaff..e1d30eae 100755 --- a/libril/ril.cpp +++ b/libril/ril.cpp @@ -3069,9 +3069,10 @@ static int responseRilSignalStrength(Parcel &p, return RIL_ERRNO_INVALID_RESPONSE; } + RIL_SignalStrength_v10 *p_cur; if (s_callbacks.version <= LAST_IMPRECISE_RIL_VERSION) { if (responselen >= sizeof (RIL_SignalStrength_v5)) { - RIL_SignalStrength_v10 *p_cur = ((RIL_SignalStrength_v10 *) response); + p_cur = ((RIL_SignalStrength_v10 *) response); responseRilSignalStrengthV5(p, p_cur); @@ -3103,7 +3104,7 @@ static int responseRilSignalStrength(Parcel &p, assert(0); } } - RIL_SignalStrength_v10 *p_cur = ((RIL_SignalStrength_v10 *) response); + p_cur = ((RIL_SignalStrength_v10 *) response); responseRilSignalStrengthV10(p, p_cur); } startResponse; |