summaryrefslogtreecommitdiffstats
path: root/libs/binder
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-22 08:01:17 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-22 08:01:17 +0000
commitf167968b4667df017958a653f74c60831faf5ad8 (patch)
tree97ea2b36c86f961d77dfccbcd086ee433dd3dc97 /libs/binder
parent236e790608aa3d60630d3946f54fb9a3ae01b19f (diff)
parente0f91c3731b16b010eb31117e941e5468bdfeb2e (diff)
downloadframeworks_native-f167968b4667df017958a653f74c60831faf5ad8.zip
frameworks_native-f167968b4667df017958a653f74c60831faf5ad8.tar.gz
frameworks_native-f167968b4667df017958a653f74c60831faf5ad8.tar.bz2
am e0f91c37: Merge "We HAVE_LITTLE_ENDIAN."
* commit 'e0f91c3731b16b010eb31117e941e5468bdfeb2e': We HAVE_LITTLE_ENDIAN.
Diffstat (limited to 'libs/binder')
-rw-r--r--libs/binder/Debug.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/binder/Debug.cpp b/libs/binder/Debug.cpp
index 0ffafbb..bdb7182 100644
--- a/libs/binder/Debug.cpp
+++ b/libs/binder/Debug.cpp
@@ -220,13 +220,8 @@ void printHexData(int32_t indent, const void *buf, size_t length,
for (word = 0; word < bytesPerLine; ) {
-#ifdef HAVE_LITTLE_ENDIAN
const size_t startIndex = word+(alignment-(alignment?1:0));
const ssize_t dir = -1;
-#else
- const size_t startIndex = word;
- const ssize_t dir = 1;
-#endif
for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) {