Commit bbf82d5
[viogpu] Fix Coverity UNUSED_VALUE issues
- Return early from `VioGpuAdapter::HWInit()` when init block fails.
- Remove redundant `offset = 0` assignment in `ExecutePresentDisplayOnly()` (was overwritten immediately).
Signed-off-by: Elizabeth Ashurov <eashurov@redhat.com>1 parent 5a1023a commit bbf82d5
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2517 | 2517 | | |
2518 | 2518 | | |
2519 | 2519 | | |
2520 | | - | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
2521 | 2525 | | |
2522 | 2526 | | |
2523 | 2527 | | |
| |||
2755 | 2759 | | |
2756 | 2760 | | |
2757 | 2761 | | |
2758 | | - | |
2759 | 2762 | | |
2760 | 2763 | | |
2761 | 2764 | | |
| |||
0 commit comments