1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-23 21:18:29 +02: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:
Misa 2021-09-05 23:04:34 -07:00
parent e47ff8131b
commit 69fcdf9217
2 changed files with 1 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;