Fix compile warnings
1. Remove unused variable line_no to avoid compile warnings. 2. The variables dimension_value_deprecated/fraction_value_deprecated had been introduced in the year of 2018 and will be removed later. But now the related information is still used by external modules cronet and angle. So we use compile flag to suppress the compile warnings. Bug: n/a Test: mmm frameworks/base/tools/aapt2, presubmit check. Merged-In: Iaf1c44409a2bdeff36af5a05df718be4b32caa65 Change-Id: Iaf1c44409a2bdeff36af5a05df718be4b32caa65 Signed-off-by: Jing Mike <jingyangliu@eswincomputing.com>
This commit is contained in:
committed by
Yurii Zubrytskyi
parent
abe8268dcb
commit
13f5b3829c
@@ -47,6 +47,7 @@ cc_defaults {
|
||||
"-Wno-missing-field-initializers",
|
||||
"-fno-exceptions",
|
||||
"-fno-rtti",
|
||||
"-Wno-deprecated-declarations",
|
||||
],
|
||||
target: {
|
||||
windows: {
|
||||
|
||||
Reference in New Issue
Block a user