summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--obexd/plugins/phonebook-dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/obexd/plugins/phonebook-dummy.c b/obexd/plugins/phonebook-dummy.c
index 035ec3578..6b9d0403f 100644
--- a/obexd/plugins/phonebook-dummy.c
+++ b/obexd/plugins/phonebook-dummy.c
@@ -218,7 +218,7 @@ static gboolean read_dir(void *user_data)
struct dummy_data *dummy = user_data;
GString *buffer;
DIR *dp;
- uint16_t count, max, offset;
+ uint16_t count = 0, max, offset;
buffer = g_string_new("");