diff --git a/Fw/Types/ObjectName.cpp b/Fw/Types/ObjectName.cpp index 6fafbeefc8..a3c2171e5d 100644 --- a/Fw/Types/ObjectName.cpp +++ b/Fw/Types/ObjectName.cpp @@ -4,15 +4,15 @@ namespace Fw { ObjectName::ObjectName(const CHAR* src) : StringBase() { - Fw::StringUtils::string_copy(this->m_buf, src, sizeof(this->m_buf)); + (void) Fw::StringUtils::string_copy(this->m_buf, src, sizeof(this->m_buf)); } ObjectName::ObjectName(const StringBase& src) : StringBase() { - Fw::StringUtils::string_copy(this->m_buf, src.toChar(), sizeof(this->m_buf)); + (void) Fw::StringUtils::string_copy(this->m_buf, src.toChar(), sizeof(this->m_buf)); } ObjectName::ObjectName(const ObjectName& src) : StringBase() { - Fw::StringUtils::string_copy(this->m_buf, src.toChar(), sizeof(this->m_buf)); + (void) Fw::StringUtils::string_copy(this->m_buf, src.toChar(), sizeof(this->m_buf)); } ObjectName::ObjectName() : StringBase() { @@ -24,7 +24,7 @@ namespace Fw { return *this; } - Fw::StringUtils::string_copy(this->m_buf, other.toChar(), sizeof(this->m_buf)); + (void) Fw::StringUtils::string_copy(this->m_buf, other.toChar(), sizeof(this->m_buf)); return *this; } @@ -33,12 +33,12 @@ namespace Fw { return *this; } - Fw::StringUtils::string_copy(this->m_buf, other.toChar(), sizeof(this->m_buf)); + (void) Fw::StringUtils::string_copy(this->m_buf, other.toChar(), sizeof(this->m_buf)); return *this; } ObjectName& ObjectName::operator=(const CHAR* other) { - Fw::StringUtils::string_copy(this->m_buf, other, sizeof(this->m_buf)); + (void) Fw::StringUtils::string_copy(this->m_buf, other, sizeof(this->m_buf)); return *this; }