[Xfce4-commits] <xfce4-panel:master> Clock: Fix compiler warning (bug #8648).

Nick Schermer noreply at xfce.org
Fri Apr 13 19:02:01 CEST 2012


Updating branch refs/heads/master
         to ee96a179c84eaea3e87b00c1034832682f563b0b (commit)
       from 817439ea720ae5ca2d6fea0e547f237dd4c6af73 (commit)

commit ee96a179c84eaea3e87b00c1034832682f563b0b
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Apr 13 18:59:50 2012 +0200

    Clock: Fix compiler warning (bug #8648).

 plugins/clock/clock-binary.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/clock/clock-binary.c b/plugins/clock/clock-binary.c
index de0e2aa..c6d26ce 100644
--- a/plugins/clock/clock-binary.c
+++ b/plugins/clock/clock-binary.c
@@ -354,7 +354,7 @@ xfce_clock_binary_expose_event_binary (XfceClockBinary *binary,
   gint         remain_h, remain_w;
   gint         offset_x, offset_y;
   gint         w, h, y;
-  gint         ticks;
+  gint         ticks = 0;
 
   if (G_UNLIKELY (GTK_WIDGET_STATE (binary) == GTK_STATE_INSENSITIVE))
     {


More information about the Xfce4-commits mailing list