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:
Chih-Hung Hsieh
2017-10-03 13:45:03 -07:00
parent 40ef25d7bd
commit 2a5bc9dfbf
9 changed files with 7 additions and 8 deletions

View File

@@ -9,5 +9,6 @@ cc_binary_host {
"files.cpp",
"fs.cpp",
],
cflags: ["-Wall", "-Werror"],
static_libs: ["libhost"],
}

View File

@@ -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);