aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-16 11:10:10 +0200
committerMattias Andrée <maandree@kth.se>2016-07-16 11:10:10 +0200
commit73f545ac0fa167aa71b1d0f78de533cf4d5978ef (patch)
tree4942d780580622c65e276d3cfb50a1aa5274dd3e /src/util.c
parentm (diff)
downloadcoopgammad-73f545ac0fa167aa71b1d0f78de533cf4d5978ef.tar.gz
coopgammad-73f545ac0fa167aa71b1d0f78de533cf4d5978ef.tar.bz2
coopgammad-73f545ac0fa167aa71b1d0f78de533cf4d5978ef.tar.xz
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 1bcbe45..cb04154 100644
--- a/src/util.c
+++ b/src/util.c
@@ -200,7 +200,7 @@ int verify_utf8(const char* string, int allow_modified_nul)
{
static long BYTES_TO_MIN_BITS[] = {0, 0, 8, 12, 17, 22, 37};
static long BYTES_TO_MAX_BITS[] = {0, 7, 11, 16, 21, 26, 31};
- long bytes = 0, read_bytes = 0, bits = 0, c, character;
+ long bytes = 0, read_bytes = 0, bits = 0, c, character = 0;
/* min bits max bits
0....... 0 7