Use -Werror in build/make
* Remove unused local variables. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Iced5bb903902f49d7cd5cf5f572906a512c75e18
This commit is contained in:
@@ -9,5 +9,6 @@ cc_binary_host {
|
||||
"files.cpp",
|
||||
"fs.cpp",
|
||||
],
|
||||
cflags: ["-Wall", "-Werror"],
|
||||
static_libs: ["libhost"],
|
||||
}
|
||||
|
@@ -425,8 +425,6 @@ list_dir(const string& path, const FileRecord& rec,
|
||||
const vector<string>& excludes,
|
||||
vector<FileRecord>* more)
|
||||
{
|
||||
int err;
|
||||
|
||||
string full = path_append(rec.sourceBase, rec.sourceName);
|
||||
full = path_append(full, path);
|
||||
|
||||
|
Reference in New Issue
Block a user