diff options
author | Rechi <Rechi@users.noreply.github.com> | 2023-02-08 07:59:59 +0100 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2023-02-08 07:59:59 +0100 |
commit | 45a5062a1db8fd6525e1ea95ffba75ac23433f28 (patch) | |
tree | 57e26414dcfb307cd6218262f1729945899715a2 /xbmc-xrandr.c | |
parent | 8c1f36041b9f10219715fe8f1587226f3e34c96d (diff) |
[fix] maybe-uninitialized warning
Diffstat (limited to 'xbmc-xrandr.c')
-rw-r--r-- | xbmc-xrandr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc-xrandr.c b/xbmc-xrandr.c index 6b916f083d..a6391c5feb 100644 --- a/xbmc-xrandr.c +++ b/xbmc-xrandr.c @@ -1646,6 +1646,7 @@ static void get_outputs(void) name_t output_name; if (!output_info) fatal("could not get output 0x%x 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); |