[gnome-control-center] Remove a redundant variable
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Remove a redundant variable
- Date: Mon, 17 Jan 2011 20:42:37 +0000 (UTC)
commit e5eb152ff9323ad258224f2e7bdb1be1184df873
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 17 15:42:26 2011 -0500
Remove a redundant variable
panels/universal-access/cc-ua-panel.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c
index 55a290b..c9da7b5 100644
--- a/panels/universal-access/cc-ua-panel.c
+++ b/panels/universal-access/cc-ua-panel.c
@@ -323,12 +323,10 @@ static gdouble
dpi_from_pixels_and_mm (gint pixels,
gint mm)
{
- gdouble dpi;
-
if (mm >= 1)
return pixels / (mm / 25.4);
else
- return dpi = 0;
+ return 0;
}
static gdouble
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]