Cleanup: remove dead assignment
[lttng-tools.git] / 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) {
 
        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. */
                goto error;
        }
        /* hash/match functions are specified at call site. */
This page took 0.023579 seconds and 4 git commands to generate.