From 2204f0bf56af53b588a01701b8cf9cd05b1b3ff9 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 21 Oct 2014 23:04:54 -0700 Subject: Frameworks/base: Wall Werror in libs/androidfw Turn on -Wall -Werror in libs/androidfw. Fix warnings. Refactor some code. Change-Id: I66fe54ace433c15dee5de328b149ca142f74b2dd --- libs/androidfw/ZipFileRO.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libs/androidfw/ZipFileRO.cpp') 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 #include -/* - * 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 { -- cgit v1.2.3-59-g8ed1b