diff options
author | David Wagner <david.wagner@intel.com> | 2015-02-19 17:16:04 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2015-02-19 17:16:04 +0100 |
commit | 34a56231dd8313da1cf6509326be00a6bdb36465 (patch) | |
tree | 536da0c8ee6fbd6074953c768525c49a448ada5a | |
parent | 4f03c87b6eedf3c4e38c55a4a831ef3c1f63ebc8 (diff) | |
parent | 770f8e13f7608b4b7f356c0bcf662ba6392b5c02 (diff) | |
download | external_parameter-framework-34a56231dd8313da1cf6509326be00a6bdb36465.zip external_parameter-framework-34a56231dd8313da1cf6509326be00a6bdb36465.tar.gz external_parameter-framework-34a56231dd8313da1cf6509326be00a6bdb36465.tar.bz2 |
Merge pull request #51 from cc6565/fix-pipe-issue
Output parameter within getNumericalValue not initialized
-rw-r--r-- | parameter/SelectionCriterionType.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parameter/SelectionCriterionType.cpp b/parameter/SelectionCriterionType.cpp index 95e8e46..2f17379 100644 --- a/parameter/SelectionCriterionType.cpp +++ b/parameter/SelectionCriterionType.cpp @@ -80,6 +80,7 @@ bool CSelectionCriterionType::getNumericalValue(const std::string& strValue, int uint32_t uiNbValues = astrValues.size(); int iResult = 0; uint32_t uiValueIndex; + iValue = 0; // Looping on each std::string delimited by "|" token and adding the associated value for (uiValueIndex = 0; uiValueIndex < uiNbValues; uiValueIndex++) { |