From b2de40a4fcf9b4850c1cf79ff8fbe45337fb6d90 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Fri, 26 Feb 2016 15:44:46 -0800 Subject: [PATCH] crash_reporter: Mark the euid parameter as __unused. This fixes an unused parameter warning. Bug: 27378717 Change-Id: Ieb50dfd60a565e0cd77e8179c21cbe8e65ebdd9d --- crash_reporter/crash_collector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crash_reporter/crash_collector.cc b/crash_reporter/crash_collector.cc index 31d9f0f6d..d993576eb 100644 --- a/crash_reporter/crash_collector.cc +++ b/crash_reporter/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;