Diff between 6b3f0f3ab935e192db9cf73b68a27271d4febd74 and f060c3a5dc22ab50692b07c1da65e598f6e92535
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avrcp.c | +1 | -1 | modified |
Full Patch
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 37bc291..70c184b 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -3112,7 +3112,7 @@ static gboolean avrcp_get_total_numberofitems_rsp(struct avctp *conn,
struct avrcp *session = user_data;
struct avrcp_player *player = session->controller->player;
struct media_player *mp = player->user_data;
- uint32_t num_of_items;
+ uint32_t num_of_items = 0;
if (pdu == NULL)
return -ETIMEDOUT;