Frameworks/base: Wall Werror in libs/androidfw
Turn on -Wall -Werror in libs/androidfw. Fix warnings. Refactor some code. Change-Id: I66fe54ace433c15dee5de328b149ca142f74b2dd
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user