From fafbb3cc63080cbc6a9f2d46a3416357532697fe Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Mon, 12 Apr 2021 21:39:53 +0200 Subject: [PATCH] gsdx: Clean up a few warnings. --- plugins/GSdx/GSBlock.h | 4 ++-- plugins/GSdx/GSState.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/GSdx/GSBlock.h b/plugins/GSdx/GSBlock.h index 99b255bcbb..eef08abc43 100644 --- a/plugins/GSdx/GSBlock.h +++ b/plugins/GSdx/GSBlock.h @@ -1364,7 +1364,7 @@ public: for(int i = 0; i < 4; i++) s[i] = (columnTable32[j][i*2] & 0x0f) | (columnTable32[j][i*2+1] << 4); } - GSVector4i v4, v5, v6, v7; + GSVector4i v4, v5, v6; #if _M_SSE >= 0x501 @@ -1451,7 +1451,7 @@ public: __forceinline static void UnpackAndWriteBlock4HH(const uint8* RESTRICT src, int srcpitch, uint8* RESTRICT dst) { - GSVector4i v4, v5, v6, v7; + GSVector4i v4, v5, v6; #if _M_SSE >= 0x501 diff --git a/plugins/GSdx/GSState.cpp b/plugins/GSdx/GSState.cpp index cdaee1f341..8bccb4d762 100644 --- a/plugins/GSdx/GSState.cpp +++ b/plugins/GSdx/GSState.cpp @@ -2785,7 +2785,7 @@ __forceinline void GSState::VertexKick(uint32 skip) v2 = GSVector4i::loadl(&m_vertex.xy[(xy_tail + 3) & 3]); // T-1 v3 = GSVector4i::loadl(&m_vertex.xy[(xy_tail - m) & 3]); // H - GSVector4 cross; + //GSVector4 cross; switch (prim) {