Common: initialize power_source 09/161109/1
authorlokilee73 <changjoo.lee@samsung.com>
Tue, 21 Nov 2017 12:48:13 +0000 (21:48 +0900)
committerlokilee73 <changjoo.lee@samsung.com>
Tue, 21 Nov 2017 12:48:18 +0000 (21:48 +0900)
Change-Id: I5c07aeed3379164d9c653b911a1ff080625b718b
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;