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:
87b7326
)
Common: initialize power_source
07/161107/1
author
lokilee73
<changjoo.lee@samsung.com>
Tue, 21 Nov 2017 12:46:49 +0000
(21:46 +0900)
committer
lokilee73
<changjoo.lee@samsung.com>
Tue, 21 Nov 2017 12:46:59 +0000
(21:46 +0900)
Change-Id: I1eaa737326dd634a37b9e98e0095afdb09144f10
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
src/battery.c
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/src/battery.c
b/src/battery.c
old mode 100644
(file)
new mode 100755
(executable)
index
81bfa70
..
2134eb1
--- a/
src/battery.c
+++ b/
src/battery.c
@@
-115,7
+115,7
@@
static int device_battery_get_info(struct battery_info *info)
GVariant *output = NULL;
char *status = NULL;
char *health = NULL;
- char *power_source;
+ char *power_source
= NULL
;
int online;
int present;
int capacity;