Fix uninitialized use of relay_only
Fix using the variable relay_only uninitialized in the function connect_proxy_writer_with_reader when security is disabled in the build configuration. Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>
This commit is contained in:
parent
7c7814e878
commit
6260824251
1 changed files with 1 additions and 0 deletions
|
@ -1290,6 +1290,7 @@ inline bool q_omg_reader_is_submessage_protected(UNUSED_ARG(const struct reader
|
|||
|
||||
inline bool q_omg_security_check_remote_reader_permissions(UNUSED_ARG(const struct proxy_reader *prd), UNUSED_ARG(uint32_t domain_id), UNUSED_ARG(struct participant *pp), UNUSED_ARG(bool *relay_only))
|
||||
{
|
||||
*relay_only = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue