fix: g_hash_table_insert prior to glib 2.40 returns void
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 3 May 2019 19:06:45 +0000 (15:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 6 May 2019 14:21:32 +0000 (10:21 -0400)
commitc8f043d2a53fb06bfc7dc996ac21fe833a06d9b2
treeb7984950f6c94e1f0e30e25431927b99daffd5fa
parent171465a14d7b3d955fddd8e5ff59d9bd2b124421
fix: g_hash_table_insert prior to glib 2.40 returns void

Even the post glib 2.40 version will only return false if the value is
already present in the hashtable but will not fail to add it. The old
value will be handled according to the configuration of the hashtable
which should not be an error.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I5512c921ce220bf8a956c61f594d6a27e6ceb41e
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1247
Tested-by: jenkins
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
compat/compat_mman.c
fd-cache/fd-cache.c
This page took 0.023902 seconds and 4 git commands to generate.