summaryrefslogtreecommitdiffstats
path: root/libs/binder
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-06-04 15:04:29 +0100
committerNarayan Kamath <narayan@google.com>2014-06-04 15:05:13 +0100
commit2c68d380c9ef765a7d46e5a4735f39e6c27849f2 (patch)
treeefa3691e4a5c64584e8f7283ea714282a9262352 /libs/binder
parentedcf7f4d3ac452500d68e254d367f559d538695d (diff)
downloadframeworks_native-2c68d380c9ef765a7d46e5a4735f39e6c27849f2.zip
frameworks_native-2c68d380c9ef765a7d46e5a4735f39e6c27849f2.tar.gz
frameworks_native-2c68d380c9ef765a7d46e5a4735f39e6c27849f2.tar.bz2
Fix mips build for libbinder.
Mips specific code was using an uninitialized variable. Change-Id: I445043c76ebfa420b26376ade60f8068b4ea0b11
Diffstat (limited to 'libs/binder')
-rw-r--r--libs/binder/Parcel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp
index 52fff82..66823de 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -1062,6 +1062,7 @@ status_t Parcel::readDouble(double *pArg) const
double d;
unsigned long long ll;
} u;
+ u.d = 0;
status_t status;
status = readAligned(&u.ll);
*pArg = u.d;