From fb1dad54d897d5ff1fa4e05b4c15781e8efcfd80 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Thu, 14 May 2009 08:01:06 -0400 Subject: Initialize variables in GraphWidget::on_motion_notify_event(). --- grapher/GraphWidget.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grapher/GraphWidget.cxx') 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 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) { -- cgit