eliminate clang static analyzer false positive
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
ec0062542c
commit
6227fe00b3
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ dds_readcdr_impl(
|
||||||
|
|
||||||
thread_state_awake (ts1);
|
thread_state_awake (ts1);
|
||||||
rc = dds_read_lock(reader_or_condition, &rd, &cond, false);
|
rc = dds_read_lock(reader_or_condition, &rd, &cond, false);
|
||||||
if (rc >= DDS_RETCODE_OK) {
|
if (rc == DDS_RETCODE_OK) {
|
||||||
ret = dds_rhc_takecdr
|
ret = dds_rhc_takecdr
|
||||||
(
|
(
|
||||||
rd->m_rd->rhc, lock, buf, si, maxs,
|
rd->m_rd->rhc, lock, buf, si, maxs,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue