Skip to content

Avoid warning about variable getting used uninitialized. - #4065

Merged
rocallahan merged 1 commit into
rr-debugger:masterfrom
bernhardu:avoid-warning-uninitialized-wps
Apr 9, 2026
Merged

rocallahan merged 1 commit into
rr-debugger:masterfrom
bernhardu:avoid-warning-uninitialized-wps

Conversation

@bernhardu

Copy link
Copy Markdown
Contributor
src/Task.cc:1938:17: warning: ‘wps.rr::ARM64Arch::user_hwdebug_state::dbg_info’ may be used uninitialized [-Wmaybe-uninitialized]
 1938 |   *max_wp = wps.dbg_info & 0xff;
      |             ~~~~^~~~~~~~

```
src/Task.cc:1938:17: warning: ‘wps.rr::ARM64Arch::user_hwdebug_state::dbg_info’ may be used uninitialized [-Wmaybe-uninitialized]
 1938 |   *max_wp = wps.dbg_info & 0xff;
      |             ~~~~^~~~~~~~
```
@rocallahan
rocallahan merged commit 9e6dfa8 into rr-debugger:master Apr 9, 2026
4 of 5 checks passed
@bernhardu
bernhardu deleted the avoid-warning-uninitialized-wps branch April 29, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants