Mercurial > hg > th-libs
changeset 318:f8c385739571
No need for unsig argument when TH_PFUNC_SIGNED is not defined.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 23 Feb 2016 00:14:13 +0200 |
parents | c532088b4f05 |
children | f2af6049d958 |
files | th_printf1.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/th_printf1.c Mon Feb 22 23:43:50 2016 +0200 +++ b/th_printf1.c Tue Feb 23 00:14:13 2016 +0200 @@ -13,15 +13,16 @@ TH_PFUNC_TYPE_U val, #endif const int radix, const int f_flags, const int f_width, const int f_prec, - const BOOL unsig, const BOOL upcase) +#ifdef TH_PFUNC_SIGNED + const BOOL unsig, +#endif + const BOOL upcase) { char buf[64]; size_t pos = 0; int ret = 0; #ifdef TH_PFUNC_SIGNED BOOL neg = FALSE; -#else - (void) unsig; #endif if (radix > 16)