From 23d8aaef2964659bd5495638d5b85f00ef3f9620 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Fri, 6 Jan 2017 14:30:33 -0600 Subject: Unused variable cleanup Change-Id: I2397d0bd221dcf5c9d0f971ba157519bcf014a70 --- gui/keyboard.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'gui/keyboard.cpp') diff --git a/gui/keyboard.cpp b/gui/keyboard.cpp index 4a78ad798..849cf19d8 100644 --- a/gui/keyboard.cpp +++ b/gui/keyboard.cpp @@ -346,7 +346,6 @@ void GUIKeyboard::DrawKey(Key& key, int keyX, int keyY, int keyW, int keyH) void* fontResource = mLongpressFont->GetResource(); gr_color(mLongpressFontColor.red, mLongpressFontColor.green, mLongpressFontColor.blue, mLongpressFontColor.alpha); string text(1, keychar); - int textH = mLongpressFont->GetHeight(); int textW = gr_ttf_measureEx(text.c_str(), fontResource); int textX = keyX + keyW - longpressOffsetX - textW; int textY = keyY + longpressOffsetY; -- cgit v1.2.3