From 81964517d6a7f78d0d1c7e3fb20b50adc62eaffa Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 17 Oct 2013 20:38:49 -0400 Subject: [PATCH] Remove a redundant assignment in Init() within PowerPC.cpp. We already assign zero to ppcState.dtlb_last. --- Source/Core/Core/Src/PowerPC/PowerPC.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Core/Core/Src/PowerPC/PowerPC.cpp b/Source/Core/Core/Src/PowerPC/PowerPC.cpp index b082960175..82ae74ee15 100644 --- a/Source/Core/Core/Src/PowerPC/PowerPC.cpp +++ b/Source/Core/Core/Src/PowerPC/PowerPC.cpp @@ -121,7 +121,6 @@ void Init(int cpu_core) memset(ppcState.sr, 0, sizeof(ppcState.sr)); ppcState.DebugCount = 0; ppcState.dtlb_last = 0; - ppcState.dtlb_last = 0; memset(ppcState.dtlb_va, 0, sizeof(ppcState.dtlb_va)); memset(ppcState.dtlb_pa, 0, sizeof(ppcState.dtlb_pa)); ppcState.itlb_last = 0;