Just got a compiler warning message about this and it seems legit.

Signed-off-by: Keith Packard <[email protected]>
---
 xrandr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xrandr.c b/xrandr.c
index 2d4cb72..f992201 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -1822,6 +1822,7 @@ get_outputs (void)
        output_t        *output;
        name_t          output_name;
        if (!output_info) fatal ("could not get output 0x%lx information\n", 
res->outputs[o]);
+       init_name (&output_name);
        set_name_xid (&output_name, res->outputs[o]);
        set_name_index (&output_name, o);
        set_name_string (&output_name, output_info->name);
-- 
2.15.1

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to