mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-02 05:17:52 +00:00
video_core/ast: Eliminate variable shadowing warnings
This commit is contained in:
parent
5a0a9c7449
commit
3c54edae24
1 changed files with 3 additions and 3 deletions
|
@ -468,10 +468,10 @@ void ASTManager::Decompile() {
|
||||||
}
|
}
|
||||||
labels.clear();
|
labels.clear();
|
||||||
} else {
|
} else {
|
||||||
auto it = labels.begin();
|
auto label_it = labels.begin();
|
||||||
while (it != labels.end()) {
|
while (label_it != labels.end()) {
|
||||||
bool can_remove = true;
|
bool can_remove = true;
|
||||||
ASTNode label = *it;
|
ASTNode label = *label_it;
|
||||||
for (const ASTNode& goto_node : gotos) {
|
for (const ASTNode& goto_node : gotos) {
|
||||||
const auto label_index = goto_node->GetGotoLabel();
|
const auto label_index = goto_node->GetGotoLabel();
|
||||||
if (!label_index) {
|
if (!label_index) {
|
||||||
|
|
Loading…
Reference in a new issue