summaryrefslogtreecommitdiffstats
path: root/libbacktrace
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-04-30 15:11:34 -0700
committerColin Cross <ccross@android.com>2015-04-30 15:11:34 -0700
commit5b439eaf938aa27b7db04225694be7d2a25af477 (patch)
tree1ca69f20e4b788a15d6117a39b59ed165bbe9dfd /libbacktrace
parentdb134ca20c297f018bca88232cb3c151065eda3d (diff)
downloadcore-5b439eaf938aa27b7db04225694be7d2a25af477.tar.gz
core-5b439eaf938aa27b7db04225694be7d2a25af477.tar.bz2
core-5b439eaf938aa27b7db04225694be7d2a25af477.zip
Fix unused argument error on darwin
Change-Id: Ie90f7f32b5bd1496bd663c969d729ea3f96d2588
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/BacktraceMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/BacktraceMap.cpp b/libbacktrace/BacktraceMap.cpp
index b0ada46d1..ca47f6781 100644
--- a/libbacktrace/BacktraceMap.cpp
+++ b/libbacktrace/BacktraceMap.cpp
@@ -135,7 +135,7 @@ bool BacktraceMap::Build() {
#if defined(__APPLE__)
// Corkscrew and libunwind don't compile on the mac, so create a generic
// map object.
-BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) {
+BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) {
BacktraceMap* map = new BacktraceMap(pid);
if (!map->Build()) {
delete map;