From 85d0900d7da6d4fc4324e342b828adf61f4d42d2 Mon Sep 17 00:00:00 2001 From: joevt Date: Wed, 21 Dec 2022 03:41:17 -0800 Subject: [PATCH] Fix compiler warnings: possible misuse of comma. --- devices/common/machineid.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devices/common/machineid.h b/devices/common/machineid.h index d483418..7d81c50 100644 --- a/devices/common/machineid.h +++ b/devices/common/machineid.h @@ -75,7 +75,8 @@ private: class GossamerID : public MMIODevice { public: GossamerID(const uint16_t id) { - this->id = id, this->name = "Machine-id"; + this->id = id; + this->name = "Machine-id"; supports_types(HWCompType::MMIO_DEV); }; ~GossamerID() = default;