Simplified "-fix FTBFS"

mhd_assert()s turn to no-op on non-debug builds
This commit is contained in:
Evgeny Grin (Karlson2k)
2025-01-06 13:23:55 +01:00
parent 7ff6d36d4a
commit 4daa9505ba
-4
View File
@@ -1718,9 +1718,7 @@ digest_update (struct DigestAlgorithm *restrict da,
{
mhd_assert (! da->uninitialised);
mhd_assert (da->algo_selected);
#ifdef _DEBUG
mhd_assert (da->ready_for_hashing);
#endif
switch (da->algo)
{
case MHD_DIGEST_BASE_ALGO_MD5:
@@ -1837,9 +1835,7 @@ digest_calc_hash (struct DigestAlgorithm *da,
{
mhd_assert (! da->uninitialised);
mhd_assert (da->algo_selected);
#ifdef _DEBUG
mhd_assert (da->ready_for_hashing);
#endif
switch (da->algo)
{
case MHD_DIGEST_BASE_ALGO_MD5: