Skip to content

Commit

Permalink
address warnings
Browse files Browse the repository at this point in the history
Change-Id: Iae78f9950f1e82926aef8197dd60cee355a2c0f5
  • Loading branch information
rdementi committed Jan 10, 2025
1 parent e94f90d commit e6d7b00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/pmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ bool TelemetryDB::loadFromXML(const std::string& pmtXMLPath)
continue;
}
if (debug) std::cout << "Found mapping with guid: " << mapping.attribute("guid").value() << std::endl;
const auto description = mapping.child("description").text().as_string();
if (debug) std::cout << " Description: " << description << std::endl;
if (debug) std::cout << " Description: " << mapping.child("description").text().as_string() << std::endl;
const auto xmlset = mapping.child("xmlset");
const auto basedir = xmlset.child("basedir").text().as_string();
const auto aggregator = xmlset.child("aggregator").text().as_string();
Expand Down
2 changes: 1 addition & 1 deletion src/pmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class TelemetryDB
std::string description;
void print(std::ostream & os) const
{
os << "uid: " << uid << " fullName: " << fullName << " description: \"" << description <<
os << "uid: " << uid << " fullName: " << fullName << " description: \"" << description <<
"\" sampleType: " << sampleType << " qWordOffset: " << qWordOffset << " lsb: " << lsb << " msb: " << msb << std::endl;
}
};
Expand Down

0 comments on commit e6d7b00

Please sign in to comment.