From d0514ba8064513864469906b19d1c055e6c3b481 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 22 Oct 2015 14:17:47 -0500 Subject: Fix a bunch of warnings Mostly adding __unused where needed. Change-Id: Ia4f675b9b360782728c361ed1699db0cc277c3a5 --- gui/scrolllist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/scrolllist.cpp') diff --git a/gui/scrolllist.cpp b/gui/scrolllist.cpp index 7bd4598e7..a033205bb 100644 --- a/gui/scrolllist.cpp +++ b/gui/scrolllist.cpp @@ -311,7 +311,7 @@ int GUIScrollList::Render(void) return 0; } -void GUIScrollList::RenderItem(size_t itemindex, int yPos, bool selected) +void GUIScrollList::RenderItem(size_t itemindex __unused, int yPos, bool selected) { RenderStdItem(yPos, selected, NULL, "implement RenderItem!"); } @@ -397,7 +397,7 @@ int GUIScrollList::Update(void) return 0; } -size_t GUIScrollList::HitTestItem(int x, int y) +size_t GUIScrollList::HitTestItem(int x __unused, int y) { // We only care about y position if (y < mRenderY || y - mRenderY <= mHeaderH || y - mRenderY > mRenderH) -- cgit v1.2.3