aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorbigbear <ns@bigbear.dk>2024-02-08 02:55:50 +0100
committerbigbear <ns@bigbear.dk>2024-02-08 19:52:53 +0100
commit3c387015ab71e9a0f4ec375e194a499019272c60 (patch)
tree85c59f20fb82d21d5f732137f16194383a364e69 /modules
parent3d25cd5ae8241b687b970f8c1861451636a8f6ea (diff)
FIX GCC Compatibility
Diffstat (limited to 'modules')
-rw-r--r--modules/devices/monitors.c3
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");