Cleanup: remove dead assignment
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 25 Jul 2017 19:51:34 +0000 (15:51 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 28 Jul 2017 18:00:21 +0000 (14:00 -0400)
ret is not used for further error propagation.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-registry.c

index 88d66317001da76386794acaaef45ed62678b819..d63c750087249ff67c7547eaf74179f0700c8132 100644 (file)
@@ -920,7 +920,7 @@ int ust_registry_session_init(struct ust_registry_session **sessionp,
 
        session->enums = lttng_ht_new(0, LTTNG_HT_TYPE_STRING);
        if (!session->enums) {
-               ret = -ENOMEM;
+               ERR("Failed to create enums hash table");
                goto error;
        }
        /* hash/match functions are specified at call site. */
This page took 0.025707 seconds and 4 git commands to generate.