diff options
author | Sanket Padawe <sanketpadawe@google.com> | 2016-06-08 14:09:26 -0700 |
---|---|---|
committer | Christopher N. Hesse <raymanfx@gmail.com> | 2016-10-12 13:01:23 -0700 |
commit | 6daeeef7666894947c659d9b2998cf00c9fe6a1e (patch) | |
tree | 566c34254858eb9fe73da34753007bcf730c5790 | |
parent | cfef9bd422ad14abfcece580dc36ad064980c234 (diff) | |
download | android_hardware_samsung-6daeeef7666894947c659d9b2998cf00c9fe6a1e.tar.gz android_hardware_samsung-6daeeef7666894947c659d9b2998cf00c9fe6a1e.tar.bz2 android_hardware_samsung-6daeeef7666894947c659d9b2998cf00c9fe6a1e.zip |
Fix build failure which occurs after setting macro RILC_LOG.
Bug: 29214796
Change-Id: I5f74981a59344078f900ecf769cc962b1416d5fd
-rwxr-xr-x | ril/libril/ril.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ril/libril/ril.cpp b/ril/libril/ril.cpp index 7f086d1..f241c90 100755 --- a/ril/libril/ril.cpp +++ b/ril/libril/ril.cpp @@ -3178,9 +3178,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); @@ -3212,7 +3213,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); } |