Diff between 07fd4b948251f0613df230ca365b8440808c5a5c and 9c739ba22f094496381a6bce88ed4c118ef020b9

Changed Files

File Additions Deletions Status
src/settings.c +1 -0 modified

Full Patch

diff --git a/src/settings.c b/src/settings.c
index 0f05300..85534f2 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -269,6 +269,7 @@ static int gatt_db_load(struct gatt_db *db, GKeyFile *key_file, char **keys)
 							&primary, &uuid);
 
 			bt_uuid_to_string(&uuid, uuid_str, sizeof(uuid_str));
+			ret = 0;
 		} else if (g_str_equal(type, GATT_INCLUDE_UUID_STR)) {
 			ret = load_incl(db, *handle, value, current_service);
 		} else if (g_str_equal(type, GATT_CHARAC_UUID_STR)) {