Commit a4cecda
committed
test/librados/c_read_operations.cc: fix invalid checks
Wrong variable for return of rados_getxattrs_next() and
rados_omap_get_next() used (len vs. val_len).
Fix for:
CID 1219464 (#1 of 1): Logically dead code (DEADCODE)
dead_error_line: Execution cannot reach this expression
key == NULL inside statement if (len == 0UL && key == NU...
CID 1219465 (#1 of 1): Logically dead code (DEADCODE)
dead_error_line: Execution cannot reach this expression
key == NULL inside statement if (len == 0UL && key == NU...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>1 parent 97ed2ae commit a4cecda
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments