[clutter] cogl/glx: Silence a compiler warning



commit 1b17ca5d8f853eef8cd45c6a777da5867922bdeb
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Mon Apr 18 15:53:25 2011 +0100

    cogl/glx: Silence a compiler warning

 clutter/cogl/cogl/winsys/cogl-winsys-glx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/cogl/cogl/winsys/cogl-winsys-glx.c b/clutter/cogl/cogl/winsys/cogl-winsys-glx.c
index 0e01968..a5b0748 100644
--- a/clutter/cogl/cogl/winsys/cogl-winsys-glx.c
+++ b/clutter/cogl/cogl/winsys/cogl-winsys-glx.c
@@ -1191,7 +1191,7 @@ _cogl_winsys_onscreen_swap_buffers (CoglOnscreen *onscreen)
 
   if (onscreen->swap_throttled)
     {
-      guint32 end_frame_vsync_counter;
+      guint32 end_frame_vsync_counter = 0;
 
       have_counter =
         _cogl_winsys_has_feature (COGL_WINSYS_FEATURE_VBLANK_COUNTER);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]