mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Fix cppcheck warnings and cleanup suppression config
- redundantAssignment - knownConditionTrueFalse
This commit is contained in:
committed by
Klaus Basan
parent
000bdee457
commit
3774f2b60f
@@ -53,8 +53,7 @@ namespace XSwiftBus
|
||||
|
||||
std::string CDBusMessage::getSender() const
|
||||
{
|
||||
const char *sender = nullptr;
|
||||
sender = dbus_message_get_sender(m_message);
|
||||
const char *sender = dbus_message_get_sender(m_message);
|
||||
return sender ? std::string(sender) : std::string();
|
||||
}
|
||||
|
||||
|
||||
Submodule src/xswiftbus/libxplanemp updated: 860edd58f0...ef11f55adc
Reference in New Issue
Block a user