style: use hash_xinsert

* gnulib: Update to get hash_xinsert.
Use it where appropriate.
This commit is contained in:
Akim Demaille
2020-05-17 12:00:02 +02:00
parent ac3b6c18a5
commit 4590071287
8 changed files with 22 additions and 34 deletions

View File

@@ -91,8 +91,7 @@ append_lssi (lssi *sn, Hash_table *visited, gl_list_t queue)
lssi_free (sn);
return false;
}
if (!hash_insert (visited, sn))
xalloc_die ();
hash_xinsert (visited, sn);
gl_list_add_last (queue, sn);
return true;
}