coverty: solve  #7149

This commit is contained in:
Matthieu Coudron
2017-08-15 18:26:41 +02:00
parent 44dc8bbb13
commit 1f4090011e
2 changed files with 6 additions and 5 deletions

View File

@@ -18,6 +18,9 @@
#define MB_BYTE2LEN(b) utf8len_tab[b]
#define MB_BYTE2LEN_CHECK(b) (((b) < 0 || (b) > 255) ? 1 : utf8len_tab[b])
// max length of an unicode char
#define MB_MAXCHAR 6
/* properties used in enc_canon_table[] (first three mutually exclusive) */
#define ENC_8BIT 0x01
#define ENC_DBCS 0x02