backends/x11: Ensure reply is initialised to NULL

This commit is contained in:
Ikey Doherty 2015-11-06 03:29:05 +00:00 committed by Jeremy Bicha
parent f5f0ff0a2f
commit e9c9ee844c

View File

@ -359,7 +359,7 @@ output_get_backlight_limits_xrandr (MetaMonitorManagerXrandr *manager_xrandr,
{ {
Atom atom; Atom atom;
xcb_connection_t *xcb_conn; xcb_connection_t *xcb_conn;
g_autofree xcb_randr_query_output_property_reply_t *reply; g_autofree xcb_randr_query_output_property_reply_t *reply = NULL;
atom = XInternAtom (manager_xrandr->xdisplay, "Backlight", False); atom = XInternAtom (manager_xrandr->xdisplay, "Backlight", False);