diff options
author | bigbear <ns@bigbear.dk> | 2024-02-08 02:55:50 +0100 |
---|---|---|
committer | bigbear <ns@bigbear.dk> | 2024-02-08 19:52:53 +0100 |
commit | 3c387015ab71e9a0f4ec375e194a499019272c60 (patch) | |
tree | 85c59f20fb82d21d5f732137f16194383a364e69 /hardinfo2/pci_util.c | |
parent | 3d25cd5ae8241b687b970f8c1861451636a8f6ea (diff) |
FIX GCC Compatibility
Diffstat (limited to 'hardinfo2/pci_util.c')
-rw-r--r-- | hardinfo2/pci_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hardinfo2/pci_util.c b/hardinfo2/pci_util.c index 7dbc909d..f0c5059a 100644 --- a/hardinfo2/pci_util.c +++ b/hardinfo2/pci_util.c @@ -74,9 +74,9 @@ const gchar *find_pci_ids_file() { char *pci_lookup_ids_vendor_str(uint32_t id) { gchar *ret = NULL; - ids_query_result result = {}; + ids_query_result result;// = {}; gchar *qpath; - + memset(&result,0,sizeof(ids_query_result)); if (!find_pci_ids_file()) return FALSE; @@ -92,9 +92,9 @@ char *pci_lookup_ids_vendor_str(uint32_t id) { static gboolean pci_lookup_ids(pcid *d) { gboolean ret = FALSE; - ids_query_result result = {}; + ids_query_result result;// = {}; gchar *qpath; - + memset(&result,0,sizeof(ids_query_result)); if (!find_pci_ids_file()) return FALSE; |