OSDN Git Service
(root)
/
android-x86
/
hardware-ril.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build failure which occurs after setting macro RILC_LOG.
[android-x86/hardware-ril.git]
/
libril
/
ril.cpp
diff --git
a/libril/ril.cpp
b/libril/ril.cpp
index
1bb5643
..
7a469c1
100755
(executable)
--- a/
libril/ril.cpp
+++ b/
libril/ril.cpp
@@
-3166,9
+3166,10
@@
static int responseRilSignalStrength(Parcel &p,
return RIL_ERRNO_INVALID_RESPONSE;
}
return RIL_ERRNO_INVALID_RESPONSE;
}
+ RIL_SignalStrength_v10 *p_cur;
if (s_callbacks.version <= LAST_IMPRECISE_RIL_VERSION) {
if (responselen >= sizeof (RIL_SignalStrength_v5)) {
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);
responseRilSignalStrengthV5(p, p_cur);
@@
-3200,7
+3201,7
@@
static int responseRilSignalStrength(Parcel &p,
assert(0);
}
}
assert(0);
}
}
-
RIL_SignalStrength_v10 *
p_cur = ((RIL_SignalStrength_v10 *) response);
+ p_cur = ((RIL_SignalStrength_v10 *) response);
responseRilSignalStrengthV10(p, p_cur);
}
startResponse;
responseRilSignalStrengthV10(p, p_cur);
}
startResponse;