[Xfce4-commits] [panel-plugins/xfce4-hardware-monitor-plugin] 83/96: Ensure that max_value is initialised

noreply at xfce.org noreply at xfce.org
Thu Nov 27 22:21:28 CET 2014


This is an automated email from the git hooks/post-receive script.

nick pushed a commit to branch master
in repository panel-plugins/xfce4-hardware-monitor-plugin.

commit 951cf43fcfb77c5fa780b3281736467e185b2a94
Author: OmegaPhil <OmegaPhil at gmail.com>
Date:   Tue Aug 19 19:50:18 2014 +0100

    Ensure that max_value is initialised
---
 src/value-history.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/value-history.cpp b/src/value-history.cpp
index e0a6c78..bea46e8 100644
--- a/src/value-history.cpp
+++ b/src/value-history.cpp
@@ -28,10 +28,9 @@
 
 
 ValueHistory::ValueHistory(Monitor *mon)
-  : monitor(mon)
+  : monitor(mon), max_value(0), waits_remaining(0)
 {
   wait_iterations = monitor->update_interval() / Applet::update_interval;
-  waits_remaining = 0;
 }
 
 double ValueHistory::get_max_value()

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list