summaryrefslogtreecommitdiffstats
path: root/grapher/Graph.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-08-04 20:29:51 -0700
committerJosh Stone <jistone@redhat.com>2009-08-04 20:53:44 -0700
commit1545a93985714128927d6eac2c6e43d07fc02eb0 (patch)
treea2825d198473e7c444c6ea2820772b3363703916 /grapher/Graph.cxx
parentda01fcc64df09e39c9eb3ce364ce949e588022c0 (diff)
downloadsystemtap-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/Graph.cxx')
-rw-r--r--grapher/Graph.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/grapher/Graph.cxx b/grapher/Graph.cxx
index d36f284f..ec5e4035 100644
--- a/grapher/Graph.cxx
+++ b/grapher/Graph.cxx
@@ -10,9 +10,9 @@ namespace systemtap
using namespace std::tr1;
Graph::Graph()
- : _left(0.0), _right(1.0), _top(5.0), _bottom(0.0), _lineWidth(2),
- _autoScaling(true), _autoScrolling(true), _zoomFactor(1.0),
- _playButton(new CairoPlayButton)
+ : _lineWidth(2), _autoScaling(true), _autoScrolling(true),
+ _zoomFactor(1.0), _playButton(new CairoPlayButton),
+ _left(0.0), _right(1.0), _top(5.0), _bottom(0.0)
{
}