Silence warnings on GCC 4.8 with -Wmaybe-uninitialized
[lttng-tools.git] / src / bin / lttng-sessiond / action-executor.c
index 8b8aba7618dc1836229bb2c597c0cb4658edab2e..14ac8103b1fe0c7738314c7ac962ca538234cb29 100644 (file)
@@ -748,7 +748,7 @@ static void *action_executor_thread(void *_data)
        DBG("Entering work execution loop");
        pthread_mutex_lock(&executor->work.lock);
        while (!executor->should_quit) {
-               int ret;
+               int ret = 0;
                struct action_work_item *work_item;
 
                health_code_update();
@@ -983,7 +983,7 @@ error_unlock:
 static int add_action_to_subitem_array(struct lttng_action *action,
                struct lttng_dynamic_array *subitems)
 {
-       int ret;
+       int ret = 0;
        enum lttng_action_type type = lttng_action_get_type(action);
        const char *session_name = NULL;
        enum lttng_action_status status;
This page took 0.023358 seconds and 4 git commands to generate.