diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-03-24 21:35:46 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-03-24 21:35:46 +0200 |
commit | 6ae292cc726b37805424b71ea68be6022289a6b2 (patch) | |
tree | 62f08d402d0854de91c897e33ecd72e5bcef0d6a /libkms++ | |
parent | 8727f2651163832bba759fc069ced64625d4f03f (diff) |
fix a few cppcheck warnings
Diffstat (limited to 'libkms++')
-rw-r--r-- | libkms++/drmobject.cpp | 2 | ||||
-rw-r--r-- | libkms++/extframebuffer.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/libkms++/drmobject.cpp b/libkms++/drmobject.cpp index ed7a71d..76a7e8c 100644 --- a/libkms++/drmobject.cpp +++ b/libkms++/drmobject.cpp @@ -13,7 +13,7 @@ namespace kms { DrmObject::DrmObject(Card& card, uint32_t object_type) - :m_card(card), m_id(-1), m_object_type(object_type) + :m_card(card), m_id(-1), m_object_type(object_type), m_idx(0) { } diff --git a/libkms++/extframebuffer.h b/libkms++/extframebuffer.h index b83bbd5..8c17a29 100644 --- a/libkms++/extframebuffer.h +++ b/libkms++/extframebuffer.h @@ -15,8 +15,5 @@ public: virtual ~ExtFramebuffer(); private: - uint32_t m_pitch; - uint32_t m_bpp; - uint32_t m_depth; }; } |