# HG changeset patch # User Matti Hamalainen # Date 1456179253 -7200 # Node ID f8c3857395710a858e2c9a697efecdc6a2dfe768 # Parent c532088b4f057fea6503fa4745d04a2dba283f28 No need for unsig argument when TH_PFUNC_SIGNED is not defined. diff -r c532088b4f05 -r f8c385739571 th_printf1.c --- 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)