mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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:
@@ -604,6 +604,8 @@ verify_msg_cb (FpiDeviceSynaptics *self,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_assert (resp != NULL);
|
||||||
|
|
||||||
verify_resp = &resp->response.verify_resp;
|
verify_resp = &resp->response.verify_resp;
|
||||||
|
|
||||||
switch (resp->response_id)
|
switch (resp->response_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user