Skip to content

Commit d8818f6

Browse files
authored
Merge pull request #5576 from cppcooper/latest-gcc-warning-fixes
Removes unused declarations to fix warnings (i.e. errors)
2 parents 516ade1 + 2c3ba28 commit d8818f6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

library/modules/Burrows.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ bool Burrows::isAssignedUnit(df::burrow *burrow, df::unit *unit)
9999

100100
void Burrows::setAssignedUnit(df::burrow *burrow, df::unit *unit, bool enable)
101101
{
102-
using df::global::plotinfo;
103-
104102
CHECK_NULL_POINTER(unit);
105103
CHECK_NULL_POINTER(burrow);
106104

plugins/remotefortressreader/remotefortressreader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,8 +1679,8 @@ static command_result GetUnitListInside(color_ostream &stream, const BlockReques
16791679
continue;
16801680
}
16811681

1682-
using df::global::cur_year;
1683-
using df::global::cur_year_tick;
1682+
//using df::global::cur_year;
1683+
//using df::global::cur_year_tick;
16841684

16851685
send_unit->set_age(Units::getAge(unit, false));
16861686

0 commit comments

Comments
 (0)