Intialise *style to NULL.

*style being unitialised raises a warning which causes problems on systems which enable warnings as errors (-Werror).
This commit is contained in:
Joshua Lock 2009-02-09 14:48:08 +00:00
parent 9b5d91e33b
commit 6893ef034b

View File

@ -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,