From patchwork Thu Jun 16 20:29:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 1994 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3695623E54 for ; Thu, 16 Jun 2011 20:31:48 +0000 (UTC) Received: from mail-vx0-f180.google.com (mail-vx0-f180.google.com [209.85.220.180]) by fiordland.canonical.com (Postfix) with ESMTP id 0641AA18585 for ; Thu, 16 Jun 2011 20:31:47 +0000 (UTC) Received: by mail-vx0-f180.google.com with SMTP id 12so2092646vxk.11 for ; Thu, 16 Jun 2011 13:31:47 -0700 (PDT) Received: by 10.52.95.194 with SMTP id dm2mr353009vdb.47.1308256307825; Thu, 16 Jun 2011 13:31:47 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.52.183.130 with SMTP id em2cs211208vdc; Thu, 16 Jun 2011 13:31:47 -0700 (PDT) Received: by 10.227.206.21 with SMTP id fs21mr1383889wbb.40.1308256303868; Thu, 16 Jun 2011 13:31:43 -0700 (PDT) Received: from smtp.smtpout.orange.fr (smtp08.smtpout.orange.fr [80.12.242.130]) by mx.google.com with ESMTP id j2si1974267wed.48.2011.06.16.13.31.43; Thu, 16 Jun 2011 13:31:43 -0700 (PDT) Received-SPF: neutral (google.com: 80.12.242.130 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=80.12.242.130; Authentication-Results: mx.google.com; spf=neutral (google.com: 80.12.242.130 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: from monster.dhcp.lxc ([92.134.76.78]) by mwinf5d16 with ME id wkXf1g0031hMfSL03kXiJZ; Thu, 16 Jun 2011 22:31:43 +0200 From: Daniel Lezcano To: patches@linaro.org Subject: [PATCH 09/28] remove unused variable Date: Thu, 16 Jun 2011 22:29:38 +0200 Message-Id: <1308256197-29155-9-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1308256197-29155-1-git-send-email-daniel.lezcano@linaro.org> References: <1308256197-29155-1-git-send-email-daniel.lezcano@linaro.org> Signed-off-by: Daniel Lezcano --- display.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/display.c b/display.c index 2d63908..2ab2167 100644 --- a/display.c +++ b/display.c @@ -34,11 +34,10 @@ static WINDOW *header_win; static WINDOW *regulator_win; static WINDOW *clock_win; static WINDOW *sensor_win; -static WINDOW *selected_win; static WINDOW *footer_win; int maxx, maxy; -char footer_items[NUM_FOOTER_ITEMS][64]; +static char footer_items[NUM_FOOTER_ITEMS][64]; static char *win_names[TOTAL_FEATURE_WINS] = { "Clocks", @@ -149,8 +148,6 @@ void create_selectedwindow(int selectedwindow) break; } - selected_win = win; - refresh(); }