Skip to content

Commit

Permalink
Merge branch 'es/utf8-stupid-compiler-workaround' into maint
Browse files Browse the repository at this point in the history
A compilation workaround.

* es/utf8-stupid-compiler-workaround:
  utf8: NO_ICONV: silence uninitialized variable warning
  • Loading branch information
Junio C Hamano committed Jul 15, 2015
2 parents a15ebbc + e654eb2 commit 71a8af6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utf8.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 71a8af6

Please sign in to comment.