diff options
Diffstat (limited to 'modules/devices/monitors.c')
-rw-r--r-- | modules/devices/monitors.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/devices/monitors.c b/modules/devices/monitors.c index 38f3c9e6..02fb1d67 100644 --- a/modules/devices/monitors.c +++ b/modules/devices/monitors.c @@ -111,8 +111,9 @@ gchar *monitor_vendor_str(monitor *m, gboolean include_value, gboolean link_name if (!m || !m->e) return NULL; edid_ven ven = m->e->ven; gchar v[20] = "", t[4] = ""; - ids_query_result result = {}; + ids_query_result result;// = {}; + memset(&result,0,sizeof(ids_query_result)); if (ven.type == VEN_TYPE_PNP) { strcpy(v, ven.pnp); strcpy(t, "PNP"); |