summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiedrius Statkevičius <[email protected]>2015-07-25 18:23:15 +0300
committerGiedrius Statkevičius <[email protected]>2015-07-25 18:23:15 +0300
commit0b2604b1b0fef7672978b5b682915491e1aa7a71 (patch)
tree04681f99768ac735107f23ec48fb0abcafbc527a
parentdbb6e0ba03d3e049e0c33ab784740e2b4123663d (diff)
downloadmate-notification-daemon-0b2604b1b0fef7672978b5b682915491e1aa7a71.tar.bz2
mate-notification-daemon-0b2604b1b0fef7672978b5b682915491e1aa7a71.tar.xz
daemon: remove redundant initialization of scale_factor
-rw-r--r--src/daemon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 9011588..804af85 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -1123,7 +1123,7 @@ static GdkPixbuf* _notify_daemon_scale_pixbuf(GdkPixbuf *pixbuf, gboolean no_str
{
int pw;
int ph;
- float scale_factor = 1.0;
+ float scale_factor;
pw = gdk_pixbuf_get_width (pixbuf);
ph = gdk_pixbuf_get_height (pixbuf);