Common: initialize power_source 07/161107/1
authorlokilee73 <changjoo.lee@samsung.com>
Tue, 21 Nov 2017 12:46:49 +0000 (21:46 +0900)
committerlokilee73 <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]

old mode 100644 (file)
new mode 100755 (executable)
index 81bfa70..2134eb1
@@ -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;