Fix: common: make lttng_trace_chunk_remove_subdirectory_recursive static
[lttng-tools.git] / src / common / trace-chunk.c
index ea952220b880ad4a12e106a13c90973cfdda1d19..8ac00c12083e9acf9fe698238488b765f9a894a8 100644 (file)
@@ -905,7 +905,6 @@ enum lttng_trace_chunk_status lttng_trace_chunk_rename_path_no_lock(
                if (status != LTTNG_TRACE_CHUNK_STATUS_OK) {
                        ERR("Error removing subdirectory '%s' file when deleting chunk",
                                old_path);
-                       ret = -1;
                        goto end;
                }
        } else {
@@ -1495,7 +1494,7 @@ end:
        return status;
 }
 
-LTTNG_HIDDEN
+static
 int lttng_trace_chunk_remove_subdirectory_recursive(struct lttng_trace_chunk *chunk,
                const char *path)
 {
This page took 0.023617 seconds and 4 git commands to generate.