diff options
| author | 2021-04-21 06:10:04 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:28 -0400 | |
| commit | c8f9772d6590a018665d47a165951864ff783017 (patch) | |
| tree | d9f72b06b624ec4921a6aeca63504d0e71490460 /src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp | |
| parent | shader: Inline common Value getters (diff) | |
| download | yuzu-c8f9772d6590a018665d47a165951864ff783017.tar.gz yuzu-c8f9772d6590a018665d47a165951864ff783017.tar.xz yuzu-c8f9772d6590a018665d47a165951864ff783017.zip | |
shader: Fix gcc warnings
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp index b85b613f3..cc5410c6d 100644 --- a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp +++ b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp | |||
| @@ -267,7 +267,7 @@ bool IsIndirectlyRelated(Node goto_stmt, Node label_stmt) { | |||
| 267 | return goto_stmt->up != label_stmt->up && !IsDirectlyRelated(goto_stmt, label_stmt); | 267 | return goto_stmt->up != label_stmt->up && !IsDirectlyRelated(goto_stmt, label_stmt); |
| 268 | } | 268 | } |
| 269 | 269 | ||
| 270 | bool AreSiblings(Node goto_stmt, Node label_stmt) noexcept { | 270 | [[maybe_unused]] bool AreSiblings(Node goto_stmt, Node label_stmt) noexcept { |
| 271 | Node it{goto_stmt}; | 271 | Node it{goto_stmt}; |
| 272 | do { | 272 | do { |
| 273 | if (it == label_stmt) { | 273 | if (it == label_stmt) { |