mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user