diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-05-03 14:40:20 +0200 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-05-24 13:40:22 +0200 |
commit | 6681a98594680fe6ab15abeeb0ea915c44d7ad6a (patch) | |
tree | b1dbb1d46a5019963d4061fb4463032ef4deb09d /AudioManagerDaemon/include | |
parent | bfafb8c4ded216a2cae6e376e69c9bc2dca117e6 (diff) | |
download | audiomanager-6681a98594680fe6ab15abeeb0ea915c44d7ad6a.tar.gz |
* [GAM-74] resolving issues found by coverity scan
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/include')
-rw-r--r-- | AudioManagerDaemon/include/CAmDatabaseHandler.h | 2 | ||||
-rw-r--r-- | AudioManagerDaemon/include/CAmRoutingReceiver.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/AudioManagerDaemon/include/CAmDatabaseHandler.h b/AudioManagerDaemon/include/CAmDatabaseHandler.h index 8509594..e8e44c2 100644 --- a/AudioManagerDaemon/include/CAmDatabaseHandler.h +++ b/AudioManagerDaemon/include/CAmDatabaseHandler.h @@ -129,7 +129,7 @@ public: am_Error_e getDomainOfSource(const am_sourceID_t sourceID, am_domainID_t& domainID) const; am_Error_e getDomainOfSink(const am_sinkID_t sinkID, am_domainID_t& domainID) const; am_Error_e getSoureState(const am_sourceID_t sourceID, am_SourceState_e& sourceState) const; - am_Error_e getDomainState(const am_domainID_t domainID, am_DomainState_e state) const; + am_Error_e getDomainState(const am_domainID_t domainID, am_DomainState_e& state) const; am_Error_e getRoutingTree(bool onlyfree, CAmRoutingTree& tree, std::vector<CAmRoutingTreeItem*>& flatTree); am_Error_e peekDomain(const std::string& name, am_domainID_t& domainID); am_Error_e peekSink(const std::string& name, am_sinkID_t& sinkID); diff --git a/AudioManagerDaemon/include/CAmRoutingReceiver.h b/AudioManagerDaemon/include/CAmRoutingReceiver.h index e8558c1..ca2a4b4 100644 --- a/AudioManagerDaemon/include/CAmRoutingReceiver.h +++ b/AudioManagerDaemon/include/CAmRoutingReceiver.h @@ -95,9 +95,9 @@ private: CAmSocketHandler *mpSocketHandler; //!< pointer to sockethandler CAmDbusWrapper *mpDBusWrapper; //!< pointer to dbuswrapper - uint16_t handleCount; //!< counts all handles std::vector<uint16_t> mListStartupHandles; //!< list of handles that wait for a confirm std::vector<uint16_t> mListRundownHandles; //!< list of handles that wait for a confirm + uint16_t handleCount; //!< counts all handles bool mWaitStartup; //!< if true confirmation will be sent if list of handles = 0 bool mWaitRundown; //!< if true confirmation will be sent if list of handles = 0 |