Skip to content

Commit be270d6

Browse files
committed
Removes unused declarations
1 parent c3c9c41 commit be270d6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

plugins/channel-safely/active-job-manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ void ActiveJobManager::on_job_start(df::job* job) {
257257
* test if the game crashes or the jobs start polluting the list indefinitely
258258
* prediction is that the jobs will cause the tiles to flash forever
259259
*/
260-
if (remove_worker(job) == 0) DEBUG(jobs).print(" Unable to remove worker from job.");
260+
if (remove_worker(job) == 0) { DEBUG(jobs).print(" Unable to remove worker from job."); }
261261
cancel_queue.emplace(pos);
262262
return;
263263
}

plugins/channel-safely/channel-safely-plugin.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ namespace CSP {
209209
}
210210

211211
void NewReportEvent(color_ostream &out, void* r) {
212-
int32_t tick = world->frame_counter;
213212
auto report_id = (int32_t)(intptr_t(r));
214213
df::report* report = df::report::find(report_id);
215214
if (!report) {
@@ -412,7 +411,7 @@ command_result channel_safely(color_ostream &out, std::vector<std::string> &para
412411
out.print(" %-20s\t%s\n", "risk-averse: ", config.riskaverse ? "on." : "off.");
413412
out.print(" %-20s\t%s\n", "monitoring: ", config.monitoring ? "on." : "off.");
414413
out.print(" %-20s\t%s\n", "require-vision: ", config.require_vision ? "on." : "off.");
415-
//out.print(" %-20s\t%s\n", "insta-dig: ", config.insta_dig ? "on." : "off.");
414+
out.print(" %-20s\t%s\n", "insta-dig: ", config.insta_dig ? "on." : "off.");
416415
out.print(" %-20s\t%s\n", "resurrect: ", config.resurrect ? "on." : "off.");
417416
out.print(" SETTINGS:\n");
418417
out.print(" %-20s\t%" PRIi32 "\n", "refresh-freq: ", config.refresh_freq);

0 commit comments

Comments
 (0)