Merge branch 'es/utf8-stupid-compiler-workaround'
A compilation workaround. * es/utf8-stupid-compiler-workaround: utf8: NO_ICONV: silence uninitialized variable warning
This commit is contained in:
commit
5d24b109a6
4
utf8.h
4
utf8.h
@ -31,7 +31,9 @@ char *reencode_string_len(const char *in, int insz,
|
||||
const char *in_encoding,
|
||||
int *outsz);
|
||||
#else
|
||||
#define reencode_string_len(a,b,c,d,e) NULL
|
||||
static inline char *reencode_string_len(const char *a, int b,
|
||||
const char *c, const char *d, int *e)
|
||||
{ if (e) *e = 0; return NULL; }
|
||||
#endif
|
||||
|
||||
static inline char *reencode_string(const char *in,
|
||||
|
Loading…
Reference in New Issue
Block a user