[Pkg-running-devel] [openambit] 16/131: Set unitialized variable
Christian Perrier
bubulle at moszumanska.debian.org
Thu Jul 17 20:19:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
bubulle pushed a commit to branch master
in repository openambit.
commit edc6d66303d083c8d8d5a48d20be896192ca7b97
Author: Emil Ljungdahl <emil at kratern.se>
Date: Sat Dec 14 11:43:54 2013 +0100
Set unitialized variable
---
src/openambit/logstore.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/openambit/logstore.cpp b/src/openambit/logstore.cpp
index 8e43407..e8f60bf 100644
--- a/src/openambit/logstore.cpp
+++ b/src/openambit/logstore.cpp
@@ -635,6 +635,7 @@ void LogStore::XMLReader::readLogSamples()
if (xml.name() == "Sample") {
QList<ambit_log_sample_periodic_value_t> periodicValues;
int ibiCount = 0;
+ type = ambit_log_sample_type_unknown;
while (xml.readNextStartElement()) {
if (xml.name() == "Type") {
type = (ambit_log_sample_type_t)xml.attributes().value("id").toString().toUInt();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/openambit.git
More information about the Pkg-running-devel
mailing list