mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix unused variables
In almost all cases these can be removed. The only exception is in ShaderViewer.cpp, where regIdx should have been used.
This commit is contained in:
committed by
Baldur Karlsson
parent
b227229d9f
commit
58b628ee8b
@@ -858,7 +858,6 @@ void TimelineBar::paintMarkers(QPainter &p, const QVector<Marker> &markers,
|
||||
if(elided == tooshort)
|
||||
elided = QString();
|
||||
|
||||
QRectF textRect = r;
|
||||
r.setLeft(qRound(r.left() + margin));
|
||||
|
||||
p.drawText(r, elided, to);
|
||||
|
||||
Reference in New Issue
Block a user