diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
commit | 1f457376b478257b88d4a857f5ec1b6155442dd7 (patch) | |
tree | 2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/dk3maul.ctr | |
parent | ac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff) |
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/dk3maul.ctr')
-rw-r--r-- | support/dktools/dk3maul.ctr | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/support/dktools/dk3maul.ctr b/support/dktools/dk3maul.ctr index 72d803d1cd..2462c97dab 100644 --- a/support/dktools/dk3maul.ctr +++ b/support/dktools/dk3maul.ctr @@ -2,7 +2,7 @@ copyright owner = Dirk Krause copyright year = 2014-xxxx -license = bsd +SPDX-License-Identifier: BSD-3-Clause @@ -272,6 +272,7 @@ dk3ma_um_to_sz(dk3_um_t um, int *ec); #include "dk3ma.h" +#include "dk3unused.h" @@ -324,7 +325,7 @@ dk3ma_ul_mul_ok(unsigned long a, unsigned long b, int *ec) unsigned long dk3ma_ul_div_ok(unsigned long a, unsigned long b, int *ec) { - unsigned long back = (unsigned long)0; + unsigned long back = 0UL; $? "+ dk3ma_ul_div_ok %lu %lu", a, b if (0UL != b) { back = a / b; @@ -690,9 +691,11 @@ dk3ma_um_gcd(dk3_um_t a, dk3_um_t b) size_t -dk3ma_um_to_sz(dk3_um_t um, int *ec) +dk3ma_um_to_sz(dk3_um_t um, int * DK3_ARG_UNUSED(ec) ) { size_t back = 0; + + DK3_UNUSED_ARG(ec) #if DK3_SIZEOF_SIZE_T >= DK3_SIZEOF_UM back = (size_t)um; #else |