diff options
author | William Cohen <wcohen@redhat.com> | 2009-05-14 08:01:06 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2009-05-14 08:01:06 -0400 |
commit | fb1dad54d897d5ff1fa4e05b4c15781e8efcfd80 (patch) | |
tree | 869e357910e3688cd02c19c4904f3e63aef26e55 /grapher/GraphWidget.cxx | |
parent | 4315a3e938ac70ae9ab435cc609b8291a93feaf4 (diff) | |
download | systemtap-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.cxx | 4 |
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) { |