diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-10-04 14:21:41 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-10-04 14:21:41 -0700 |
| commit | d30c2c4c53324f316f2392714a75a8f817121af7 (patch) | |
| tree | 0d5013613d7ca11fb631e774c94806ea9605587e | |
| parent | 12841c449c8d4577b330ee18778eefdf22cd3556 (diff) | |
| parent | e03b2a2105e7969ebc804c519b0a356e20a8a8d7 (diff) | |
Merge branch 'mh/w-unused-fix'
Buildfix.
* mh/w-unused-fix:
utf8.h: squelch unused-parameter warnings with NO_ICONV
| -rw-r--r-- | utf8.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
