projects
/
platform
/
core
/
appfw
/
tizen-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f885e4f
)
Set nullptr to GSourceFuncs
14/304814/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Wed, 24 Jan 2024 03:43:21 +0000
(12:43 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Wed, 24 Jan 2024 03:43:21 +0000
(12:43 +0900)
To remove warning messages about missing-field-initializers warning,
this patch sets nullptr to GSourceFuncs.
Change-Id: I03a7921921df1c9f0f82207e4b79af85cf1c800e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tizen_base/source.cc
patch
|
blob
|
history
diff --git
a/tizen_base/source.cc
b/tizen_base/source.cc
index 1dfe8796eeefa8de67c46651f95f6313aebbe834..3215f5cf93b9d44b37fce5880f1a2abdd3aec0ef 100644
(file)
--- a/
tizen_base/source.cc
+++ b/
tizen_base/source.cc
@@
-66,6
+66,8
@@
Source::Source() {
.check = SourceCheckFunc,
.dispatch = SourceDispatchFunc,
.finalize = SourceFinalizeFunc,
+ .closure_callback = nullptr,
+ .closure_marshal = nullptr
};
handle_ = g_source_new(&source_funcs, sizeof(GSource));