DSWaylandZxdg*: initialize member variables @ constructor 51/241851/1
authorSung-Jin Park <sj76.park@samsung.com>
Wed, 19 Aug 2020 04:10:23 +0000 (13:10 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Thu, 20 Aug 2020 10:12:09 +0000 (19:12 +0900)
Change-Id: Ic8f3026caa343df75042c4d967e2159f1a24f9f4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/DSWaylandServer/DSWaylandZxdgShellV6.cpp

index 76b3758..70d122d 100644 (file)
@@ -490,7 +490,9 @@ void DSWaylandZxdgToplevelV6::sendConfigure(unsigned int w, unsigned int h)
 }
 
 DSWaylandZxdgToplevelV6Private::DSWaylandZxdgToplevelV6Private(DSWaylandZxdgToplevelV6 *p_ptr)
-       : DSObjectPrivate(p_ptr), __p_ptr(p_ptr)
+       : DSObjectPrivate(p_ptr),
+         __p_ptr(p_ptr),
+         __zxdgSurface(nullptr)
 {
 }
 
@@ -613,7 +615,9 @@ void DSWaylandZxdgPopupV6::sendConfigure(int x, int y, unsigned int w, unsigned
 }
 
 DSWaylandZxdgPopupV6Private::DSWaylandZxdgPopupV6Private(DSWaylandZxdgPopupV6 *p_ptr)
-       : DSObjectPrivate(p_ptr), __p_ptr(p_ptr)
+       : DSObjectPrivate(p_ptr),
+         __p_ptr(p_ptr),
+         __zxdgSurface(nullptr)
 {
 }