I'm starting out with GtkD and have this function:
void main(string[] args) {
Main.init(args);
auto game = new GameWindow();
Main.run();
}
and this method:
void quit(Widget widget) {
Main.quit();
}
When I run dscanner --styleCheck it reports:
./src/app.d(10:10)[warn]: Variable game is never used.
./src/app.d(22:22)[warn]: Parameter widget is never used.
These are correct. However, is it possible to switch them off
individually?
(In Python you can switch off lint checks using a special text in
a comment at the end of the line.)