From e0a4caf7d4ef980a90cd03117705310e0469e440 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 20 May 2011 17:17:07 +0000 Subject: [PATCH] Silence compiler warnings --- source/libr2c2/intellibox.cpp | 1 - source/remote/trainpanel.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/libr2c2/intellibox.cpp b/source/libr2c2/intellibox.cpp index 4e6bb76..ebaac8d 100644 --- a/source/libr2c2/intellibox.cpp +++ b/source/libr2c2/intellibox.cpp @@ -355,7 +355,6 @@ void Intellibox::tick() void Intellibox::flush() { - Time::TimeStamp t = Time::now(); for(list::iterator i=queue.begin(); i!=queue.end(); ++i) { write(serial_fd, i->data, i->length); diff --git a/source/remote/trainpanel.cpp b/source/remote/trainpanel.cpp index 7675b27..e0f2658 100644 --- a/source/remote/trainpanel.cpp +++ b/source/remote/trainpanel.cpp @@ -54,7 +54,7 @@ TrainPanel::TrainPanel(Remote &r, R2C2::Client &c, R2C2::NetTrain &t): } Glib::RefPtr route_store = Gtk::ListStore::create(route_columns); - vbox->add(*manage(cmb_route = new Gtk::ComboBox(route_store))); + vbox->add(*manage(cmb_route = new Gtk::ComboBox(static_cast &>(route_store)))); cmb_route->pack_start(route_columns.name); route_store->append(); const list &routes = client.get_routes(); -- 2.43.0