From a0ccec6291a219ded9b1a86ddaa18a61456699da Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 23 May 2019 13:52:50 +0000 Subject: [PATCH] lib/util/tests: clang fix Value stored to 'lines' is never read warning Fixes lib/util/tests/file.c:153:2: warning: Value stored to 'lines' is never read <--[clang] Signed-off-by: Noel Power Reviewed-by: Andreas Schneider --- lib/util/tests/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/tests/file.c b/lib/util/tests/file.c index ca0416e20e6..55c9d4cec9a 100644 --- a/lib/util/tests/file.c +++ b/lib/util/tests/file.c @@ -150,7 +150,7 @@ static bool test_file_lines_load(struct torture_context *tctx) strlen(TEST_DATA_EMPTY)), "saving file"); - lines = file_lines_load(TEST_FILENAME, &numlines, 0, mem_ctx); + (void)file_lines_load(TEST_FILENAME, &numlines, 0, mem_ctx); torture_assert_int_equal(tctx, numlines, 0, "Lines"); -- 2.47.3