Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
sol-gatt: Fix possible use of unitialized variable warning
Browse files Browse the repository at this point in the history
Signed-off-by: Vinicius Costa Gomes <[email protected]>
  • Loading branch information
vcgomes committed May 27, 2016
1 parent 60104e3 commit 179f314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/comms/sol-gatt-impl-bluez.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ sol_gatt_pending_reply(struct sol_gatt_pending *pending, int error,
struct context *ctx = bluetooth_get_context();
const struct sol_gatt_attr *attr;
const char *interface;
int r;
int r = 0;

SOL_NULL_CHECK(pending, -EINVAL);

Expand Down

0 comments on commit 179f314

Please sign in to comment.