projects
/
platform
/
core
/
api
/
device.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce0ba65
)
power: initialize local GError
45/269145/1
author
Youngjae Cho
<y0.cho@samsung.com>
Mon, 10 Jan 2022 10:21:47 +0000
(19:21 +0900)
committer
Youngjae Cho
<y0.cho@samsung.com>
Mon, 10 Jan 2022 10:21:47 +0000
(19:21 +0900)
Change-Id: I6b6bbba478be5a923ed2dc44f063cfdce9a871a0
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/power-internal.c
patch
|
blob
|
history
diff --git
a/src/power-internal.c
b/src/power-internal.c
index
45d22d6
..
04a6d27
100644
(file)
--- a/
src/power-internal.c
+++ b/
src/power-internal.c
@@
-127,7
+127,7
@@
int device_power_change_state_wait_done(uint64_t id)
{
GDBusConnection *connection;
GVariant *retgv;
- GError *err;
+ GError *err
= NULL
;
int ret;
connection = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &err);