summaryrefslogtreecommitdiff
path: root/savers/gste-popsquares.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-01 21:30:17 +0300
committermonsta <[email protected]>2016-02-01 21:30:17 +0300
commitb34717c1a3c9bd2cce18c100d7d0834387e231db (patch)
treef984a68a18d8a93311e0e7d8628dfd3d66db5e9c /savers/gste-popsquares.c
parentd12106d0091762b869ac5cdfb2a985edb82bc0ae (diff)
downloadmate-screensaver-b34717c1a3c9bd2cce18c100d7d0834387e231db.tar.bz2
mate-screensaver-b34717c1a3c9bd2cce18c100d7d0834387e231db.tar.xz
fix build warnings about unused variables
Diffstat (limited to 'savers/gste-popsquares.c')
-rw-r--r--savers/gste-popsquares.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/savers/gste-popsquares.c b/savers/gste-popsquares.c
index a279f27..837bb2c 100644
--- a/savers/gste-popsquares.c
+++ b/savers/gste-popsquares.c
@@ -553,7 +553,7 @@ draw_frame (GSTEPopsquares *pop,
int border = 1;
gboolean twitch = FALSE;
int x, y;
- int sw, sh, gw, gh;
+ int gw, gh;
int nsquares;
int window_width;
int window_height;
@@ -569,8 +569,6 @@ draw_frame (GSTEPopsquares *pop,
gs_theme_engine_get_window_size (GS_THEME_ENGINE (pop),
&window_width,
&window_height);
- sw = window_width / pop->priv->subdivision;
- sh = window_height / pop->priv->subdivision;
gw = pop->priv->subdivision;
gh = pop->priv->subdivision;