diff options
author | George Burgess IV <gbiv@google.com> | 2017-08-14 18:29:21 -0700 |
---|---|---|
committer | George Burgess IV <gbiv@google.com> | 2017-08-14 18:55:40 -0700 |
commit | f4160311dde8e4b76107ab72f9dd45f4077fb096 (patch) | |
tree | bdd0f4aea3a9dcd0a5de3e201ca1c52be8cd90f8 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 677e8d24c8ca75b730de3895cd6c76784a96f457 (diff) |
Remove useless open modes
Previously, the machinery that detected these was only enabled in
optimized builds. We're expanding it to work in code built with -O0, as
well. Thus, we now get compile-time warnings about these calls (which
get turned into errors by -Werror).
Bug: 12231437
Test: Builds without warnings about useless mode bits in calls to open()
Change-Id: Icb1bc5f0a7941bb90d8581d6c3bde7cc076f3e01
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions