summaryrefslogtreecommitdiff
path: root/savers/floaters.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/floaters.c
parentd12106d0091762b869ac5cdfb2a985edb82bc0ae (diff)
downloadmate-screensaver-b34717c1a3c9bd2cce18c100d7d0834387e231db.tar.bz2
mate-screensaver-b34717c1a3c9bd2cce18c100d7d0834387e231db.tar.xz
fix build warnings about unused variables
Diffstat (limited to 'savers/floaters.c')
-rw-r--r--savers/floaters.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/savers/floaters.c b/savers/floaters.c
index 9eb7897..dd0d85e 100644
--- a/savers/floaters.c
+++ b/savers/floaters.c
@@ -780,10 +780,6 @@ screen_saver_floater_do_draw (ScreenSaver *screen_saver,
if (screen_saver->should_show_paths && (floater->path != NULL))
{
gdouble dash_pattern[] = { 5.0 };
- gint size;
-
- size = CLAMP ((int) (FLOATER_MAX_SIZE * floater->path_start_scale),
- FLOATER_MIN_SIZE, FLOATER_MAX_SIZE);
cairo_save (context);
cairo_set_source_rgba (context, 1.0, 1.0, 1.0, .2 * floater->opacity);