mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
Fix build failure which occurs after setting macro RILC_LOG.
Bug: 29214796 Change-Id: I5f74981a59344078f900ecf769cc962b1416d5fd
This commit is contained in:
parent
cfef9bd422
commit
6daeeef766
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue