summaryrefslogtreecommitdiff
path: root/tools/aidl/aidl.cpp
diff options
context:
space:
mode:
author Christopher Wiley <wiley@google.com> 2015-08-24 15:06:58 -0700
committer Christopher Wiley <wiley@google.com> 2015-08-31 13:55:46 -0700
commit5b88363ed30c9501e0bfa6de5a216e0ea24317b9 (patch)
tree7ab5fe162e01cf4c0b1acb834f127cb16f16d401 /tools/aidl/aidl.cpp
parent60dd5d5966ebe993f5a81c46d9dea62c207abfd3 (diff)
Tighten up compiler flags for aidl
Turn all warnings to errors, with special cases for places where yacc forces us to be lenient. Remove one variable with 0 references elsewhere in the code. These flags are confined to be clang only because the Windows SDK build is using an older compiler that does not understand these flags. Change-Id: I6407bd331c25b8845bde46e9a917bce1d6857bd8
Diffstat (limited to 'tools/aidl/aidl.cpp')
-rw-r--r--tools/aidl/aidl.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/aidl/aidl.cpp b/tools/aidl/aidl.cpp
index a3cd12657f9a..d77f2b13dd97 100644
--- a/tools/aidl/aidl.cpp
+++ b/tools/aidl/aidl.cpp
@@ -165,11 +165,6 @@ import_import_parsed(buffer_type* statement)
{
}
-static ParserCallbacks g_importCallbacks = {
- &main_document_parsed,
- &import_import_parsed
-};
-
// ==========================================================
static int
check_filename(const char* filename, const char* package, buffer_type* name)