Fix Clang static analyzer warnings
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
0d5a8bf461
commit
1c77aad39c
22 changed files with 154 additions and 37 deletions
|
@ -1150,6 +1150,8 @@ crypto_factory_set_datawriter_crypto_tokens(
|
|||
endpoint_relation *relation;
|
||||
uint32_t key_id, i;
|
||||
|
||||
assert (num_key_mat > 0);
|
||||
|
||||
remote_writer_crypto = (remote_datawriter_crypto *)crypto_object_table_find(impl->crypto_objects, remote_writer_handle);
|
||||
if (!remote_writer_crypto)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue