[Xfce4-commits] <xfwm4:ochosi/tabwin> Fix compiler warnings.

Nick Schermer noreply at xfce.org
Wed Dec 11 23:25:04 CET 2013


Updating branch refs/heads/ochosi/tabwin
         to 51a982b74c9b48b9ae20d712127187119dad7a05 (commit)
       from e7da725aab39018f54383dc6e8a64eccd8793035 (commit)

commit 51a982b74c9b48b9ae20d712127187119dad7a05
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Dec 7 12:33:03 2013 +0100

    Fix compiler warnings.

 src/compositor.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index a8abd80..01ff05f 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -808,7 +808,7 @@ root_tile (ScreenInfo *screen_info)
 {
     DisplayInfo *display_info;
     Display *dpy;
-    Picture picture;
+    Picture picture = None;
 #ifdef MONITOR_ROOT_PIXMAP
     Pixmap pixmap;
     XRenderPictureAttributes pa;
@@ -2420,7 +2420,7 @@ destroy_win (DisplayInfo *display_info, Window id)
     }
 }
 
-void
+static void
 recenter_zoomed_area (ScreenInfo *screen_info, int x_root, int y_root)
 {
     int zf = screen_info->transform.matrix[0][0];


More information about the Xfce4-commits mailing list