[gnome-control-center] wacom: Remove unused variable
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Remove unused variable
- Date: Tue, 10 Jan 2012 19:58:52 +0000 (UTC)
commit 256d57f6ef5c9abb6226e97b9c188558fddc61d9
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jan 10 19:44:43 2012 +0000
wacom: Remove unused variable
panels/wacom/cc-wacom-page.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index ef3fe6b..5435465 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -135,11 +135,10 @@ set_calibration (gint *cal,
GVariant *array; /* new calibration */
GVariant **tmp;
gsize nvalues;
- const gint *values;
int i;
current = g_settings_get_value (settings, "area");
- values = g_variant_get_fixed_array (current, &nvalues, sizeof (gint32));
+ g_variant_get_fixed_array (current, &nvalues, sizeof (gint32));
if ((ncal != 4) || (nvalues != 4))
{
g_warning("Unable set set device calibration property. Got %d items to put in %d slots; expected %d items.\n", ncal, nvalues, 4);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]