mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 14:29:20 +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:
1 parent
e47ff8131b
commit
69fcdf9217
2 files changed
+1
-3
No files matched your search
@@ -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