From 6893ef034b261599ee53a995bf1fb976b2849864 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 9 Feb 2009 14:48:08 +0000 Subject: [PATCH] Intialise *style to NULL. *style being unitialised raises a warning which causes problems on systems which enable warnings as errors (-Werror). --- src/ui/frames.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/frames.c b/src/ui/frames.c index 093af9216..8a316ce12 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -2482,7 +2482,7 @@ meta_frames_set_window_background (MetaFrames *frames, { MetaFrameFlags flags; MetaFrameType type; - MetaFrameStyle *style; + MetaFrameStyle *style = NULL; gboolean frame_exists; meta_core_get (gdk_display, frame->xwindow,