tools/reduce: Remove unused variable detected by cppcheck
[reduce.cpp:475]: (style) Variable 'decl' is assigned a value that is never used.
This commit is contained in:
parent
7417144784
commit
4a2d2f78ef
|
@ -472,7 +472,6 @@ static bool cleanupStatements(const ReduceSettings &settings, std::vector<std::s
|
||||||
{
|
{
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
|
|
||||||
bool decl = true;
|
|
||||||
for (std::size_t i = 0; i < filedata.size(); ++i) {
|
for (std::size_t i = 0; i < filedata.size(); ++i) {
|
||||||
std::string line = filedata[i];
|
std::string line = filedata[i];
|
||||||
if (line.empty())
|
if (line.empty())
|
||||||
|
|
Loading…
Reference in New Issue