summaryrefslogtreecommitdiffstats
path: root/grapher/GraphWidget.cxx
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-05-14 08:01:06 -0400
committerWilliam Cohen <wcohen@redhat.com>2009-05-14 08:01:06 -0400
commitfb1dad54d897d5ff1fa4e05b4c15781e8efcfd80 (patch)
tree869e357910e3688cd02c19c4904f3e63aef26e55 /grapher/GraphWidget.cxx
parent4315a3e938ac70ae9ab435cc609b8291a93feaf4 (diff)
downloadsystemtap-steved-fb1dad54d897d5ff1fa4e05b4c15781e8efcfd80.tar.gz
systemtap-steved-fb1dad54d897d5ff1fa4e05b4c15781e8efcfd80.tar.xz
systemtap-steved-fb1dad54d897d5ff1fa4e05b4c15781e8efcfd80.zip
Initialize variables in GraphWidget::on_motion_notify_event().
Diffstat (limited to 'grapher/GraphWidget.cxx')
-rw-r--r--grapher/GraphWidget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/grapher/GraphWidget.cxx b/grapher/GraphWidget.cxx
index a82a8bb6..38f8078d 100644
--- a/grapher/GraphWidget.cxx
+++ b/grapher/GraphWidget.cxx
@@ -281,8 +281,8 @@ namespace systemtap
Glib::RefPtr<Gdk::Window> win = get_window();
if(!win)
return true;
- double x;
- double y;
+ double x = 0.0;
+ double y = 0.0;
// XXX Hint
if (event->is_hint)
{