From f897d50c0f04b312fd4011c411aac561eb2e9e09 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Fri, 10 May 2019 17:21:25 -0400 Subject: [PATCH] Cleanup: src.ctf.fs: erroneous comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The `len` field is already increased by the `g_ptr_array_add()` call. Signed-off-by: Francis Deslauriers Change-Id: I6c261aa20ca79b368c668d0e77879611e56b0bc6 Reviewed-on: https://review.lttng.org/c/babeltrace/+/1289 Tested-by: jenkins Reviewed-by: Jérémie Galarneau --- plugins/ctf/fs-src/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ctf/fs-src/fs.c b/plugins/ctf/fs-src/fs.c index 7d2fb08b..3a1c0e99 100644 --- a/plugins/ctf/fs-src/fs.c +++ b/plugins/ctf/fs-src/fs.c @@ -600,7 +600,7 @@ void array_insert(GPtrArray *array, gpointer element, size_t pos) (original_array_len - pos) * sizeof(gpointer)); } - /* Insert the value and bump the array len */ + /* Insert the value. */ array->pdata[pos] = element; } -- 2.34.1