From 5c1220ec6ef72412942de5a332a9e318cfac6e33 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 9 Nov 2023 23:22:01 -0500 Subject: [PATCH] tests/utils/utils.sh: bt_diff(): remove useless `ret` var. and `return` Signed-off-by: Philippe Proulx Change-Id: I8970f29a926fbf7c707d3bf6a6516a36e6995679 --- tests/utils/utils.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 28361a63..739ec225 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -249,11 +249,8 @@ bt_cli() { bt_diff() { local -r expected_file="$1" local -r actual_file="$2" - local ret=0 diff -u <(bt_remove_cr_inline "$expected_file") <(bt_remove_cr_inline "$actual_file") 1>&2 - - return $? } # Checks the difference between: -- 2.34.1