mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01:00
Remove useless variable lw
from textboxclass
This variable is only assigned to, but never read from. Hence, it is useless, and should be removed to make code analysis less complicated.
This commit is contained in:
parent
e47ff8131b
commit
69fcdf9217
2 changed files with 1 additions and 3 deletions
|
@ -6,7 +6,6 @@ textboxclass::textboxclass(void)
|
|||
{
|
||||
w = 0;
|
||||
h = 0;
|
||||
lw = 0;
|
||||
tl = 0;
|
||||
prev_tl = 0;
|
||||
tm = 0;
|
||||
|
@ -117,7 +116,6 @@ void textboxclass::resize(void)
|
|||
if (len > (unsigned int)max) max = len;
|
||||
}
|
||||
|
||||
lw = max;
|
||||
w = (max +2) * 8;
|
||||
h = (line.size() + 2) * 8;
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
public:
|
||||
//Fundamentals
|
||||
std::vector<std::string> line;
|
||||
int xp, yp, lw, w, h;
|
||||
int xp, yp, w, h;
|
||||
int r,g,b;
|
||||
int tr,tg,tb;
|
||||
int timer;
|
||||
|
|
Loading…
Reference in a new issue