summaryrefslogtreecommitdiff
path: root/tools/atree/files.cpp
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2017-10-03 13:45:03 -0700
committer Chih-Hung Hsieh <chh@google.com> 2017-10-03 13:53:13 -0700
commit2a5bc9dfbf7c6a80e5f7cb4dd05b4036741478bc (patch)
tree568cf642f3b1ec7945bdef71e3cfbc197a7c5bdb /tools/atree/files.cpp
parent40ef25d7bd9de2a33c56d9777243b96d91fdec6b (diff)
Use -Werror in build/make
* Remove unused local variables. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Iced5bb903902f49d7cd5cf5f572906a512c75e18
Diffstat (limited to 'tools/atree/files.cpp')
-rw-r--r--tools/atree/files.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/atree/files.cpp b/tools/atree/files.cpp
index d945f589c2..d5c8a977dd 100644
--- a/tools/atree/files.cpp
+++ b/tools/atree/files.cpp
@@ -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);