From e88c149d3b5a032bcce55f80e67ad2fd6a7237d7 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 13 Jan 2015 14:13:05 -0200 Subject: [PATCH] shared/gatt-db: Fix using plain integer as NULL pointer --- src/shared/gatt-db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/gatt-db.c b/src/shared/gatt-db.c index 13aa5e433..e4a6f7343 100644 --- a/src/shared/gatt-db.c +++ b/src/shared/gatt-db.c @@ -686,7 +686,7 @@ gatt_db_service_add_descriptor(struct gatt_db_attribute *attrib, int i; if (!attrib) - return false; + return NULL; service = attrib->service; -- 2.47.3