variable cleanup, removed unused stuff in print battery

This commit is contained in:
Harald Hope 2017-08-03 22:21:46 -07:00
parent ce71c40c92
commit 584b86f693

9
inxi
View file

@ -12650,9 +12650,8 @@ print_battery_data()
if [[ -n ${A_BATTERY_DATA[@]} ]];then
local battery_data='' battery_string=''
local present='' chemistry='' cycles='' voltage_min_design='' voltage_now=''
local power_now='' charge_full_design='' charge_full='' charge_now='' capacity=''
local capacity_level='' model='' company='' serial='' of_orig='' model='' condition=''
local power=''
local power_now='' capacity='' capacity_level='' model='' company='' serial=''
local of_orig='' model='' condition='' power=''
# echo ${A_BATTERY_DATA[@]}
for (( i=0; i< ${#A_BATTERY_DATA[@]}; i++ ))
@ -12664,7 +12663,6 @@ print_battery_data()
model=''
condition=''
voltage=''
name=''
status=''
present=''
@ -12673,9 +12671,6 @@ print_battery_data()
voltage_min_design=''
voltage_now=''
power_now=''
charge_full_design=''
charge_full=''
charge_now=''
capacity=''
capacity_level=''
of_orig=''