diff options
| author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-04-06 10:42:44 -0300 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-04-06 10:42:44 -0300 | 
| commit | 2e97dad917a3dda37f1c4b4c49d206affb169deb (patch) | |
| tree | 3e304972ea36daf64499f4603963c134e04fce0d | |
| parent | abccc1fc3e385d4e5dae8b52644e0da4ef086679 (diff) | |
Minor cleanup
| -rw-r--r-- | hardinfo2/devices.c | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/hardinfo2/devices.c b/hardinfo2/devices.c index 49f84413..35c3ea27 100644 --- a/hardinfo2/devices.c +++ b/hardinfo2/devices.c @@ -424,16 +424,14 @@ guchar hi_module_get_weight(void)  void hi_module_init(void)  {      if (!g_file_test("/usr/share/misc/pci.ids", G_FILE_TEST_EXISTS)) { -        static SyncEntry se[] = { -            { +        static SyncEntry se = {               .fancy_name = "Update PCI ID listing",               .name = "GetPCIIds",               .save_to = "pci.ids",               .get_data = NULL -            }          }; -        sync_manager_add_entry(&se[0]); +        sync_manager_add_entry(&se);      }      moreinfo = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); | 
