From: Arran Cudbard-Bell Date: Wed, 9 Oct 2019 21:22:30 +0000 (-0400) Subject: Remove invalid assert X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9417f64f8d46af2be9931e720483e784cdae3e48;p=thirdparty%2Ffreeradius-server.git Remove invalid assert --- diff --git a/src/bin/unit_test_attribute.c b/src/bin/unit_test_attribute.c index 373b6b1a478..48a2699e49d 100644 --- a/src/bin/unit_test_attribute.c +++ b/src/bin/unit_test_attribute.c @@ -1756,9 +1756,6 @@ static int process_file(bool *exit_now, TALLOC_CTX *ctx, CONF_SECTION *features, e_p++; } - assert((size_t)(e_p - e) <= result.got_len); - assert((size_t)(e_p - e) <= result.expected_len); - spaces = talloc_zero_array(NULL, char, (e_p - e) + 1); memset(spaces, ' ', talloc_array_length(spaces) - 1); ERROR(" %s^ differs here", spaces);