From a8e317ffdeb01060409d3faa944a4f0c9190b83e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Sat, 27 May 2017 15:36:45 -0400 Subject: [PATCH] Fix: missing error code on signed clock value in trimmer MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- plugins/utils/trimmer/iterator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/utils/trimmer/iterator.c b/plugins/utils/trimmer/iterator.c index 06623086..dcff7eca 100644 --- a/plugins/utils/trimmer/iterator.c +++ b/plugins/utils/trimmer/iterator.c @@ -314,6 +314,7 @@ int ns_from_integer_field(struct bt_ctf_field *integer, int64_t *ns) } } else { /* Signed clock values are unsupported. */ + ret = -1; goto end; } -- 2.34.1