aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Hawkins <jhawkins@google.com>2016-02-26 15:44:46 -0800
committerJames Hawkins <jhawkins@google.com>2016-02-26 15:44:46 -0800
commit85e7f90c3ce6e54fd4072a029ce3444618716cfa (patch)
tree865dca4a11fa42b8e57b1e4392a0d3bcf5bc5932
parent7454f5fe0a6f349de4089f729de9588b922ee143 (diff)
downloadcrash_reporter-85e7f90c3ce6e54fd4072a029ce3444618716cfa.tar.gz
crash_reporter: Mark the euid parameter as __unused.
This fixes an unused parameter warning. Bug: 27378717 Change-Id: Ieb50dfd60a565e0cd77e8179c21cbe8e65ebdd9d
-rw-r--r--crash_collector.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crash_collector.cc b/crash_collector.cc
index 31d9f0f..d993576 100644
--- a/crash_collector.cc
+++ b/crash_collector.cc
@@ -189,7 +189,7 @@ bool CrashCollector::GetUserInfoFromName(const std::string &name,
return true;
}
-bool CrashCollector::GetCreatedCrashDirectoryByEuid(uid_t euid,
+bool CrashCollector::GetCreatedCrashDirectoryByEuid(uid_t euid __unused,
FilePath *crash_directory,
bool *out_of_capacity) {
if (out_of_capacity) *out_of_capacity = false;