Browse Source
Merge pull request #4523 from lioncash/self-assign
macro-interpreter: Resolve -Wself-assign-field warning
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
src/video_core/macro/macro_interpreter.cpp
|
|
|
@ -34,7 +34,6 @@ void MacroInterpreterImpl::Execute(const std::vector<u32>& parameters, u32 metho |
|
|
|
this->parameters = std::make_unique<u32[]>(num_parameters); |
|
|
|
} |
|
|
|
std::memcpy(this->parameters.get(), parameters.data(), num_parameters * sizeof(u32)); |
|
|
|
this->num_parameters = num_parameters; |
|
|
|
|
|
|
|
// Execute the code until we hit an exit condition.
|
|
|
|
bool keep_executing = true; |
|
|
|
|