[hamradio-commits] [gnss-sdr] 45/80: Initialize all class members in the constructor

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Sun May 15 20:11:56 UTC 2016


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

carles_fernandez-guest pushed a commit to branch upstream
in repository gnss-sdr.

commit 1cbaf99ebdde075f95c33d7a71223ec1a858d200
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Sun May 8 08:21:25 2016 +0200

    Initialize all class members in the constructor
---
 src/core/receiver/control_thread.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/core/receiver/control_thread.cc b/src/core/receiver/control_thread.cc
index 76621bd..ac7f9de 100644
--- a/src/core/receiver/control_thread.cc
+++ b/src/core/receiver/control_thread.cc
@@ -419,6 +419,10 @@ void ControlThread::init()
     stop_ = false;
     processed_control_messages_ = 0;
     applied_actions_ = 0;
+    supl_mcc = 0;
+    supl_mns = 0;
+    supl_lac = 0;
+    supl_ci = 0;
 }
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git



More information about the pkg-hamradio-commits mailing list