diff options
author | Stephen Hines <srhines@google.com> | 2018-12-11 18:53:29 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-12-11 18:53:29 -0800 |
commit | 3917a0d897b5bee06ef273ff0aaa0a3754e9f8d6 (patch) | |
tree | b4ebc27556824f7f00c532ef97c3260d3262d91f | |
parent | 9da567e1a3e2a9ccae6a1235e30b636cb6644060 (diff) | |
parent | f646481822caf9a1e9c744a8bb76820adc32ae72 (diff) | |
download | rs-3917a0d897b5bee06ef273ff0aaa0a3754e9f8d6.tar.gz |
Merge "Remove unused variable and trim down unnecessary cflags."
am: f646481822
Change-Id: Ie3521281bb00ca3609df2f10067829e792b07ead
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | rsg_generator.c | 1 |
2 files changed, 1 insertions, 6 deletions
@@ -97,11 +97,7 @@ cc_binary_host { ], cflags: [ - "-Wall", - "-Werror", - "-Wno-error=unneeded-internal-declaration", - "-Wno-error=unused-function", - "-Wno-error=unused-variable", + "-Wno-unused-function", ], stl: "none", diff --git a/rsg_generator.c b/rsg_generator.c index d0a95a28..89caa600 100644 --- a/rsg_generator.c +++ b/rsg_generator.c @@ -342,7 +342,6 @@ void printApiCpp(FILE *f) { fprintf(f, "\n"); for (ct=0; ct < apiCount; ct++) { - int needFlush = 0; const ApiEntry * api = &apis[ct]; fprintf(f, "extern \"C\" "); |