summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-08-21 18:25:53 -0400
committerGitHub <noreply@github.com>2020-08-21 18:25:53 -0400
commit53fbf8e206bf20596dcc14022fa25f6621a06f4c (patch)
treeae7eed9a1f4f07b9b48caa7cae7a6af03cdcea98 /src
parent3ea3de4ecd9a03da23b9e823ecc454481a60c3b9 (diff)
parent34ec64233a57cea75faa66029e2e1b50b9587d87 (diff)
Merge pull request #4523 from lioncash/self-assign
macro-interpreter: Resolve -Wself-assign-field warning
Diffstat (limited to 'src')
-rw-r--r--src/video_core/macro/macro_interpreter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/macro/macro_interpreter.cpp b/src/video_core/macro/macro_interpreter.cpp
index aa5256419..bd01fd1f2 100644
--- a/src/video_core/macro/macro_interpreter.cpp
+++ b/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;