]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#437] shellcheck fix
authorAndrei Pavel <andrei@isc.org>
Fri, 18 Dec 2020 10:57:27 +0000 (12:57 +0200)
committerAndrei Pavel <andrei@isc.org>
Tue, 29 Dec 2020 16:35:59 +0000 (16:35 +0000)
src/lib/testutils/xml_reporting_test_lib.sh.in

index 7ab08171dd46a354983b3588d77611fc1651716d..62a2240b53a220fbf2f7b20b6d42a11e071e497b 100644 (file)
@@ -158,10 +158,9 @@ _add_test_case() {
     local xml=${1}; shift
     local now=${1}; shift
 
-    # Determine the test case tag and, in case of failure - the failure tag.
+    # Determine the test case tag.
     local closing_backslash
     local closing_tag
-    local failure
     if test "${result}" = 'success'; then
         closing_backslash=' /'
     else