[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r1230: Initialize two member variables in ZImageView to make Valgri (trunk/src/gui/network)



Author: edmanm
Date: 2006-09-22 23:29:17 -0400 (Fri, 22 Sep 2006)
New Revision: 1230

Modified:
   trunk/src/gui/network/zimageview.cpp
Log:
Initialize two member variables in ZImageView to make Valgrind happier.


Modified: trunk/src/gui/network/zimageview.cpp
===================================================================
--- trunk/src/gui/network/zimageview.cpp	2006-09-23 02:32:06 UTC (rev 1229)
+++ trunk/src/gui/network/zimageview.cpp	2006-09-23 03:29:17 UTC (rev 1230)
@@ -37,6 +37,8 @@
 {
   /* Initialize members */
   _zoom = 0.0;
+  _desiredX = 0.0;
+  _desiredY = 0.0;
   _mouseDown = false;
   _maxZoomFactor = 2.0;
   _padding = 60;