aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts_parse_contact.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-04 11:07:28 +0200
committerMattias Andrée <maandree@kth.se>2021-04-04 11:07:28 +0200
commit930117bb1e08662ff3612b4bc2be688206dc5eca (patch)
treebb5ca77fbc1ee777c42ba70d54cb1ac82d43617c /libcontacts_parse_contact.c
parentFix change if ID is unique when generate one (diff)
downloadlibcontacts-930117bb1e08662ff3612b4bc2be688206dc5eca.tar.gz
libcontacts-930117bb1e08662ff3612b4bc2be688206dc5eca.tar.bz2
libcontacts-930117bb1e08662ff3612b4bc2be688206dc5eca.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libcontacts_parse_contact.c')
-rw-r--r--libcontacts_parse_contact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcontacts_parse_contact.c b/libcontacts_parse_contact.c
index 1c2b336..3cfd54e 100644
--- a/libcontacts_parse_contact.c
+++ b/libcontacts_parse_contact.c
@@ -201,7 +201,7 @@ libcontacts_parse_contact(char *data, struct libcontacts_contact *contact)
} while (0)
char *p, *q, *test_tmp;
- size_t i;
+ size_t i = 0; /* initialised to make compiler happy */
time_t t;
void *temp;
int state = 0;