OSDN Git Service

core/gatt-client: Fix warning when removing services
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 11 Nov 2015 13:40:56 +0000 (15:40 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 12 Nov 2015 14:37:09 +0000 (16:37 +0200)
commitc069eb2e0b3aef8abef3d066f9eaed61d4bf66b9
tree99a32d1dc11255d495ab106b0774c5104895b0cd
parent85afc7c241689e022cd83225a21854cc422170e0
core/gatt-client: Fix warning when removing services

This fixes the following warnings caused by not resetting id to 0:

GLib-CRITICAL **: Source ID 145 was not found when attempting to remove it
GLib-CRITICAL **: Source ID 151 was not found when attempting to remove it
GLib-CRITICAL **: Source ID 155 was not found when attempting to remove it
GLib-CRITICAL **: Source ID 162 was not found when attempting to remove it
src/gatt-client.c