agent: Fix uninitialized member usage

This commit is contained in:
Tim Kourt 2017-07-17 16:10:55 -07:00 committed by Marcel Holtmann
parent 21fae3d1d9
commit 653019c263
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ static bool find_request(const void *a, const void *b)
bool agent_request_cancel(unsigned int req_id, int reason)
{
struct agent_request *request;
struct agent_request *request = NULL;
struct agent *agent;
const struct l_queue_entry *entry;