Message ID | 20241002090606.2076645-1-mh@glandium.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Fix unused-parameter warnings with NO_ICONV | expand |
On Wed, Oct 2, 2024, at 11:06, Mike Hommey wrote: > The jk/unused-parameters topic enabled -Wunused-parameter. Some code in > some non-typical configuration lacked annotations. You forgot the sign-off.
diff --git a/utf8.h b/utf8.h index fcd5167baf..cce299d274 100644 --- a/utf8.h +++ b/utf8.h @@ -33,8 +33,9 @@ char *reencode_string_len(const char *in, size_t insz, const char *in_encoding, size_t *outsz); #else -static inline char *reencode_string_len(const char *a, size_t b, - const char *c, const char *d, size_t *e) +static inline char *reencode_string_len(const char *a UNUSED, size_t b UNUSED, + const char *c UNUSED, + const char *d UNUSED, size_t *e) { if (e) *e = 0; return NULL; } #endif