diff options
author | Josh Stone <jistone@redhat.com> | 2009-08-04 20:29:51 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-08-04 20:53:44 -0700 |
commit | 1545a93985714128927d6eac2c6e43d07fc02eb0 (patch) | |
tree | a2825d198473e7c444c6ea2820772b3363703916 /grapher/GraphWidget.cxx | |
parent | da01fcc64df09e39c9eb3ce364ce949e588022c0 (diff) | |
download | systemtap-steved-1545a93985714128927d6eac2c6e43d07fc02eb0.tar.gz systemtap-steved-1545a93985714128927d6eac2c6e43d07fc02eb0.tar.xz systemtap-steved-1545a93985714128927d6eac2c6e43d07fc02eb0.zip |
Fix grapher compilation warnings from rpm build
* grapher/Graph.cxx (Graph::Graph): Initialize in declaration order.
* grapher/GraphWidget.cxx (GraphWidget::on_expose_event): Remove several
unused local variables.
Diffstat (limited to 'grapher/GraphWidget.cxx')
-rw-r--r-- | grapher/GraphWidget.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/grapher/GraphWidget.cxx b/grapher/GraphWidget.cxx index 5b0d1b1c..4a1e0918 100644 --- a/grapher/GraphWidget.cxx +++ b/grapher/GraphWidget.cxx @@ -54,13 +54,6 @@ namespace systemtap if(!window) return true; - Gtk::Allocation allocation = get_allocation(); - - const int graphWidth = allocation.get_width(); - const int graphHeight = allocation.get_height(); - const int width = graphWidth - 20; - const int height = graphHeight - 20; - Cairo::RefPtr<Cairo::Context> cr = window->create_cairo_context(); #if 0 if(event && !_autoScaling) |