summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-10-21 23:04:54 -0700
committerAndreas Gampe <agampe@google.com>2014-11-07 13:35:05 -0800
commit2204f0bf56af53b588a01701b8cf9cd05b1b3ff9 (patch)
treed163b59ccc8d10a3181bc77ea99f83c94e6748ce /libs/androidfw/ZipFileRO.cpp
parent59701b9ba5c453e327bc0e6873a9f6ff87a10391 (diff)
Frameworks/base: Wall Werror in libs/androidfw
Turn on -Wall -Werror in libs/androidfw. Fix warnings. Refactor some code. Change-Id: I66fe54ace433c15dee5de328b149ca142f74b2dd
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
-rw-r--r--libs/androidfw/ZipFileRO.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/androidfw/ZipFileRO.cpp b/libs/androidfw/ZipFileRO.cpp
index 5f6e831a0200..ef0d07295120 100644
--- a/libs/androidfw/ZipFileRO.cpp
+++ b/libs/androidfw/ZipFileRO.cpp
@@ -34,14 +34,6 @@
#include <assert.h>
#include <unistd.h>
-/*
- * We must open binary files using open(path, ... | O_BINARY) under Windows.
- * Otherwise strange read errors will happen.
- */
-#ifndef O_BINARY
-# define O_BINARY 0
-#endif
-
using namespace android;
class _ZipEntryRO {