Repository navigation
Commit 860f2cb
fix: silence Coverity UNUSED_VALUE in __create_descriptor_1d
The value returned by DftiFreeDescriptor on the reallocate path is
consumed only by a debug-only assert(status == 0). Under NDEBUG the
assert is stripped, so the store is dead before the unconditional
status = 0 reset, which Coverity flags as UNUSED_VALUE (one CID per
.c.src template instantiation). Mark the value as intentionally unused
with (void)status to make the intent explicit and clear the finding.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 25ceb1e commit 860f2cb
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| |||
0 commit comments