From: Mikko Rasa Date: Fri, 20 May 2011 17:17:07 +0000 (+0000) Subject: Silence compiler warnings X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=e0a4caf7d4ef980a90cd03117705310e0469e440;p=r2c2.git Silence compiler warnings --- 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();