Remove some dead code that's no longer needed

* Reported by Coverity Scan
This commit is contained in:
baldurk
2017-11-22 19:11:18 +00:00
parent e4555e0d53
commit 2514ad4126
6 changed files with 56 additions and 103 deletions
+2 -2
View File
@@ -824,8 +824,8 @@ void TextureViewer::UI_UpdateStatusText()
y = qMax(0, y);
int x = m_CurHoverPixel.x() >> (int)m_TexDisplay.mip;
float invWidth = mipWidth > 0 ? 1.0f / mipWidth : 0.0f;
float invHeight = mipHeight > 0 ? 1.0f / mipHeight : 0.0f;
float invWidth = 1.0f / mipWidth;
float invHeight = 1.0f / mipHeight;
QString hoverCoords = QFormatStr("%1, %2 (%3, %4)")
.arg(x, 4)