diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-12-09 11:40:43 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-12-09 11:40:55 +0100 |
| commit | 08e59770aa2be8e3aa91c0593e91f5d19f007bc3 (patch) | |
| tree | 093f51fb85bf469c5532c6aefbd05a5da1dfda1c /src/xutf8 | |
| parent | 5a7a70b8958b726b92e76b4aedeba4a04b85085f (diff) | |
Remove compiler warnings about unused parameters (issue #307) - cont'd
Diffstat (limited to 'src/xutf8')
| -rw-r--r-- | src/xutf8/lcUniConv/big5.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/cp1251.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/cp936ext.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/gb2312.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_10.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_11.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_13.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_14.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_15.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_3.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_4.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_5.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_6.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_7.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_8.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/iso8859_9.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/jisx0201.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/jisx0208.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/jisx0212.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/koi8_r.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/koi8_u.h | 1 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/ksc5601.h | 1 |
22 files changed, 22 insertions, 0 deletions
diff --git a/src/xutf8/lcUniConv/big5.h b/src/xutf8/lcUniConv/big5.h index 3b39c80cd..fe10354d8 100644 --- a/src/xutf8/lcUniConv/big5.h +++ b/src/xutf8/lcUniConv/big5.h @@ -4103,6 +4103,7 @@ static const Summary16 big5_uni2indx_pagefe[23] = { static int big5_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; if (n >= 2) { const Summary16 *summary = NULL; if (wc < 0x0100) diff --git a/src/xutf8/lcUniConv/cp1251.h b/src/xutf8/lcUniConv/cp1251.h index 8c0b54c5c..4ae3e239a 100644 --- a/src/xutf8/lcUniConv/cp1251.h +++ b/src/xutf8/lcUniConv/cp1251.h @@ -91,6 +91,7 @@ static const unsigned char cp1251_page20[48] = { static int cp1251_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x0080) { *r = wc; diff --git a/src/xutf8/lcUniConv/cp936ext.h b/src/xutf8/lcUniConv/cp936ext.h index 4fff93bae..a01df9641 100644 --- a/src/xutf8/lcUniConv/cp936ext.h +++ b/src/xutf8/lcUniConv/cp936ext.h @@ -33,6 +33,7 @@ cp936ext_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) static int cp936ext_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)r; (void)wc; (void)n; return 0; } #endif /* NEED_TOMB */ diff --git a/src/xutf8/lcUniConv/gb2312.h b/src/xutf8/lcUniConv/gb2312.h index acd21be0f..e1de80c94 100644 --- a/src/xutf8/lcUniConv/gb2312.h +++ b/src/xutf8/lcUniConv/gb2312.h @@ -2518,6 +2518,7 @@ static const Summary16 gb2312_uni2indx_pageff[15] = { static int gb2312_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; if (n >= 2) { const Summary16 *summary = NULL; if (wc < 0x0460) diff --git a/src/xutf8/lcUniConv/iso8859_10.h b/src/xutf8/lcUniConv/iso8859_10.h index 94e1c6985..591fdfc85 100644 --- a/src/xutf8/lcUniConv/iso8859_10.h +++ b/src/xutf8/lcUniConv/iso8859_10.h @@ -74,6 +74,7 @@ static const unsigned char iso8859_10_page00[224] = { static int iso8859_10_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_11.h b/src/xutf8/lcUniConv/iso8859_11.h index 0d4d126fd..506c1f247 100644 --- a/src/xutf8/lcUniConv/iso8859_11.h +++ b/src/xutf8/lcUniConv/iso8859_11.h @@ -66,6 +66,7 @@ static const unsigned char iso8859_11_page0e[96] = { static int iso8859_11_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x0080 || wc == 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_13.h b/src/xutf8/lcUniConv/iso8859_13.h index 1f4ccd06c..0e9d883e8 100644 --- a/src/xutf8/lcUniConv/iso8859_13.h +++ b/src/xutf8/lcUniConv/iso8859_13.h @@ -77,6 +77,7 @@ static const unsigned char iso8859_13_page20[8] = { static int iso8859_13_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_14.h b/src/xutf8/lcUniConv/iso8859_14.h index b36b6b916..ac0d82db1 100644 --- a/src/xutf8/lcUniConv/iso8859_14.h +++ b/src/xutf8/lcUniConv/iso8859_14.h @@ -89,6 +89,7 @@ static const unsigned char iso8859_14_page1e_1[8] = { static int iso8859_14_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_15.h b/src/xutf8/lcUniConv/iso8859_15.h index 99d5ceb1a..7744ea8be 100644 --- a/src/xutf8/lcUniConv/iso8859_15.h +++ b/src/xutf8/lcUniConv/iso8859_15.h @@ -45,6 +45,7 @@ static const unsigned char iso8859_15_page01[48] = { static int iso8859_15_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_3.h b/src/xutf8/lcUniConv/iso8859_3.h index b2f3c7154..84ca0b38d 100644 --- a/src/xutf8/lcUniConv/iso8859_3.h +++ b/src/xutf8/lcUniConv/iso8859_3.h @@ -84,6 +84,7 @@ static const unsigned char iso8859_3_page02[8] = { static int iso8859_3_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_4.h b/src/xutf8/lcUniConv/iso8859_4.h index c5e261f7d..76551d9c4 100644 --- a/src/xutf8/lcUniConv/iso8859_4.h +++ b/src/xutf8/lcUniConv/iso8859_4.h @@ -80,6 +80,7 @@ static const unsigned char iso8859_4_page02[32] = { static int iso8859_4_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_5.h b/src/xutf8/lcUniConv/iso8859_5.h index 6d1970100..0381e70c5 100644 --- a/src/xutf8/lcUniConv/iso8859_5.h +++ b/src/xutf8/lcUniConv/iso8859_5.h @@ -61,6 +61,7 @@ static const unsigned char iso8859_5_page04[96] = { static int iso8859_5_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_6.h b/src/xutf8/lcUniConv/iso8859_6.h index bcff11928..d239be070 100644 --- a/src/xutf8/lcUniConv/iso8859_6.h +++ b/src/xutf8/lcUniConv/iso8859_6.h @@ -66,6 +66,7 @@ static const unsigned char iso8859_6_page06[80] = { static int iso8859_6_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_7.h b/src/xutf8/lcUniConv/iso8859_7.h index c85a68776..ee6452f65 100644 --- a/src/xutf8/lcUniConv/iso8859_7.h +++ b/src/xutf8/lcUniConv/iso8859_7.h @@ -72,6 +72,7 @@ static const unsigned char iso8859_7_page20[16] = { static int iso8859_7_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_8.h b/src/xutf8/lcUniConv/iso8859_8.h index a31e2aca5..0631e5dcf 100644 --- a/src/xutf8/lcUniConv/iso8859_8.h +++ b/src/xutf8/lcUniConv/iso8859_8.h @@ -73,6 +73,7 @@ static const unsigned char iso8859_8_page20[16] = { static int iso8859_8_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00a0) { *r = wc; diff --git a/src/xutf8/lcUniConv/iso8859_9.h b/src/xutf8/lcUniConv/iso8859_9.h index 0986c2292..e244307e3 100644 --- a/src/xutf8/lcUniConv/iso8859_9.h +++ b/src/xutf8/lcUniConv/iso8859_9.h @@ -53,6 +53,7 @@ static const unsigned char iso8859_9_page01[72] = { static int iso8859_9_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x00d0) { *r = wc; diff --git a/src/xutf8/lcUniConv/jisx0201.h b/src/xutf8/lcUniConv/jisx0201.h index 1c7a8513d..f6fc26a24 100644 --- a/src/xutf8/lcUniConv/jisx0201.h +++ b/src/xutf8/lcUniConv/jisx0201.h @@ -32,6 +32,7 @@ jisx0201_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) static int jisx0201_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; if (wc < 0x0080 && !(wc == 0x005c || wc == 0x007e)) { *r = wc; return 1; diff --git a/src/xutf8/lcUniConv/jisx0208.h b/src/xutf8/lcUniConv/jisx0208.h index 37db9150d..e7910a5f4 100644 --- a/src/xutf8/lcUniConv/jisx0208.h +++ b/src/xutf8/lcUniConv/jisx0208.h @@ -2361,6 +2361,7 @@ static const Summary16 jisx0208_uni2indx_pageff[15] = { static int jisx0208_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; if (n >= 2) { const Summary16 *summary = NULL; if (wc < 0x0100) diff --git a/src/xutf8/lcUniConv/jisx0212.h b/src/xutf8/lcUniConv/jisx0212.h index d0cb69fb0..ba6e38b6f 100644 --- a/src/xutf8/lcUniConv/jisx0212.h +++ b/src/xutf8/lcUniConv/jisx0212.h @@ -2136,6 +2136,7 @@ static const Summary16 jisx0212_uni2indx_page4e[1307] = { static int jisx0212_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; if (n >= 2) { const Summary16 *summary = NULL; if (wc < 0x0460) diff --git a/src/xutf8/lcUniConv/koi8_r.h b/src/xutf8/lcUniConv/koi8_r.h index d85f41a28..95f5621ee 100644 --- a/src/xutf8/lcUniConv/koi8_r.h +++ b/src/xutf8/lcUniConv/koi8_r.h @@ -115,6 +115,7 @@ static const unsigned char koi8_r_page25[168] = { static int koi8_r_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x0080) { *r = wc; diff --git a/src/xutf8/lcUniConv/koi8_u.h b/src/xutf8/lcUniConv/koi8_u.h index abb6c8979..5e85062f6 100644 --- a/src/xutf8/lcUniConv/koi8_u.h +++ b/src/xutf8/lcUniConv/koi8_u.h @@ -122,6 +122,7 @@ static const unsigned char koi8_u_page25[168] = { static int koi8_u_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; (void)n; unsigned char c = 0; if (wc < 0x0080) { *r = wc; diff --git a/src/xutf8/lcUniConv/ksc5601.h b/src/xutf8/lcUniConv/ksc5601.h index 277c8d44b..72c9608ed 100644 --- a/src/xutf8/lcUniConv/ksc5601.h +++ b/src/xutf8/lcUniConv/ksc5601.h @@ -2966,6 +2966,7 @@ static const Summary16 ksc5601_uni2indx_pageff[15] = { static int ksc5601_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { + (void)conv; if (n >= 2) { const Summary16 *summary = NULL; if (wc < 0x0460) |
