mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 06:13:02 +00:00
style: use hash_xinsert
* gnulib: Update to get hash_xinsert. Use it where appropriate.
This commit is contained in:
@@ -680,8 +680,7 @@ ssb_append (search_state *ss)
|
||||
search_state_free (ss);
|
||||
return;
|
||||
}
|
||||
if (!hash_insert (visited, ss))
|
||||
xalloc_die ();
|
||||
hash_xinsert (visited, ss);
|
||||
// if states are only referenced by the visited set,
|
||||
// their contents should be freed as we only need
|
||||
// the metadata necessary to compute a hash.
|
||||
|
||||
Reference in New Issue
Block a user