summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-11-16 22:03:59 +0100
committerGitHub <noreply@github.com>2022-11-16 22:03:59 +0100
commitf426fd95fe9e31beb7ea926cc7677a027a431da5 (patch)
tree7a6da8454c087bc23c73e32c39f29cab1db78795
parentMerge pull request #9247 from lat9nq/verbose-del-warn (diff)
parentexternals: microprofileui: Remove unused variables (diff)
downloadyuzu-f426fd95fe9e31beb7ea926cc7677a027a431da5.tar
yuzu-f426fd95fe9e31beb7ea926cc7677a027a431da5.tar.gz
yuzu-f426fd95fe9e31beb7ea926cc7677a027a431da5.tar.bz2
yuzu-f426fd95fe9e31beb7ea926cc7677a027a431da5.tar.lz
yuzu-f426fd95fe9e31beb7ea926cc7677a027a431da5.tar.xz
yuzu-f426fd95fe9e31beb7ea926cc7677a027a431da5.tar.zst
yuzu-f426fd95fe9e31beb7ea926cc7677a027a431da5.zip
-rw-r--r--externals/microprofile/microprofileui.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/externals/microprofile/microprofileui.h b/externals/microprofile/microprofileui.h
index 1357a08fd..ca9fe7063 100644
--- a/externals/microprofile/microprofileui.h
+++ b/externals/microprofile/microprofileui.h
@@ -845,8 +845,6 @@ inline void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int
MicroProfile& S = *MicroProfileGet();
MP_DEBUG_DUMP_RANGE();
int nY = nBaseY - UI.nOffsetY;
- int64_t nNumBoxes = 0;
- int64_t nNumLines = 0;
uint32_t nFrameNext = (S.nFrameCurrent+1) % MICROPROFILE_MAX_FRAME_HISTORY;
MicroProfileFrameState* pFrameCurrent = &S.Frames[S.nFrameCurrent];
@@ -1149,7 +1147,6 @@ inline void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int
}
}
#endif
- ++nNumBoxes;
}
else
{
@@ -1165,7 +1162,6 @@ inline void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int
}
nLinesDrawn[nStackPos] = nLineX;
MicroProfileDrawLineVertical(nLineX, fYStart + 0.5f, fYEnd + 0.5f, nColor|UI.nOpacityForeground);
- ++nNumLines;
}
}
nStackPos--;