synaptics: Add an explicit assert on the response
The response must be non-NULL in the function. Add an explicit assert to appease to static code analysis tools.
This commit is contained in:
parent
ada5d488fa
commit
8ba6f4dad2
1 changed files with 2 additions and 0 deletions
|
@ -604,6 +604,8 @@ verify_msg_cb (FpiDeviceSynaptics *self,
|
|||
return;
|
||||
}
|
||||
|
||||
g_assert (resp != NULL);
|
||||
|
||||
verify_resp = &resp->response.verify_resp;
|
||||
|
||||
switch (resp->response_id)
|
||||
|
|
Loading…
Reference in a new issue