X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=utf8.c;h=9efcdb9c09970127ebe37923879274b95efd526c;hb=2ce1a1f23fd83d2cab22f87aff1165fb0c7ad450;hp=4efef6faf7c71f3201935f81611806af084c45d4;hpb=6e863d6d129a1b6a13c66d0bb03f3d43db6c51fe;p=git.git diff --git a/utf8.c b/utf8.c index 4efef6faf..9efcdb9c0 100644 --- a/utf8.c +++ b/utf8.c @@ -11,7 +11,8 @@ struct interval { }; /* auxiliary function for binary search in interval table */ -static int bisearch(ucs_char_t ucs, const struct interval *table, int max) { +static int bisearch(ucs_char_t ucs, const struct interval *table, int max) +{ int min = 0; int mid; @@ -283,7 +284,6 @@ int print_wrapped_text(const char *text, int indent, int indent2, int width) text++; } } - return w; } int is_encoding_utf8(const char *name)