Diff between 3a6be99b027bf984428e12f2014845ca1541d876 and 3052f58750d98b97cebe65adf44e971c1b54d72e
Changed Files
| File | Additions | Deletions | Status |
| obexd/plugins/phonebook-dummy.c | +1 | -1 | modified |
Full Patch
diff --git a/obexd/plugins/phonebook-dummy.c b/obexd/plugins/phonebook-dummy.c
index b63b876..da625b6 100644
--- a/obexd/plugins/phonebook-dummy.c
+++ b/obexd/plugins/phonebook-dummy.c
@@ -364,7 +364,7 @@ char *phonebook_set_folder(const char *current_folder,
{
gboolean root, child;
char *tmp1, *tmp2, *base, *absolute, *relative = NULL;
- int ret, len;
+ int len, ret = 0;
root = (g_strcmp0("/", current_folder) == 0);
child = (new_folder && strlen(new_folder) != 0);