[Pkg-running-devel] [antpm] 28/39: initialize members

Kristof Ralovich ralovich-guest at moszumanska.debian.org
Fri Nov 7 11:13:48 UTC 2014


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

ralovich-guest pushed a commit to branch upstream
in repository antpm.

commit ea0f0091f5f3967d7e18b6bda6b55f4f7c9a5830
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date:   Mon Aug 11 19:08:31 2014 +0200

    initialize members
    
    from coverity
---
 src/AntFr310XT.cpp | 2 ++
 src/AntFr405.cpp   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/AntFr310XT.cpp b/src/AntFr310XT.cpp
index 3306252..9f64f54 100644
--- a/src/AntFr310XT.cpp
+++ b/src/AntFr310XT.cpp
@@ -80,6 +80,7 @@ struct AntFr310XT_EventLoop
 AntFr310XT::AntFr310XT(Serial *s)
   : m_serial(s?s:Serial::instantiate())
   , m_antMessenger(new AntMessenger())
+  , clientState(BUSY)
   , state(ST_ANTFS_0)
   , m_eventThKill(0)
   , m_restartCount(0)
@@ -88,6 +89,7 @@ AntFr310XT::AntFr310XT(Serial *s)
   , pairedKey(0)
   , doPairing(false)
   , mode(MD_DOWNLOAD_ALL)
+  , singleFileIdx(0)
 {
   if(!m_serial) return;
   m_antMessenger->setHandler(m_serial.get());
diff --git a/src/AntFr405.cpp b/src/AntFr405.cpp
index afe8ae5..809445f 100644
--- a/src/AntFr405.cpp
+++ b/src/AntFr405.cpp
@@ -80,10 +80,12 @@ AntFr405::AntFr405()
   : m_serial(new ANTPM_SERIAL_IMPL())
   , m_antMessenger(new AntMessenger())
   , aplc(getConfigFolder()+std::string("antparse_")+getDateString()+".txt")
+  , clientState(BUSY)
   , clientSN(0)
   , pairedKey(0)
   , doPairing(false)
   , mode(MD_DOWNLOAD_ALL)
+  , singleFileIdx(0)
 {
   m_antMessenger->setHandler(m_serial.get());
   m_antMessenger->setCallback(this);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/antpm.git



More information about the Pkg-running-devel mailing list