summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2016-03-31 19:26:53 +0200
committerMatt Mower <mowerm@gmail.com>2016-03-31 19:29:52 +0200
commit14f8ac1cf88bda8df3ee70cbf74c0718d47616ac (patch)
tree95f3df5cc0883707dc83d577b3c6acee200446c8
parentImprove progress bar handling for backup / restore / image flash (diff)
downloadandroid_bootable_recovery-14f8ac1cf88bda8df3ee70cbf74c0718d47616ac.tar
android_bootable_recovery-14f8ac1cf88bda8df3ee70cbf74c0718d47616ac.tar.gz
android_bootable_recovery-14f8ac1cf88bda8df3ee70cbf74c0718d47616ac.tar.bz2
android_bootable_recovery-14f8ac1cf88bda8df3ee70cbf74c0718d47616ac.tar.lz
android_bootable_recovery-14f8ac1cf88bda8df3ee70cbf74c0718d47616ac.tar.xz
android_bootable_recovery-14f8ac1cf88bda8df3ee70cbf74c0718d47616ac.tar.zst
android_bootable_recovery-14f8ac1cf88bda8df3ee70cbf74c0718d47616ac.zip
Diffstat (limited to '')
-rw-r--r--progresstracking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/progresstracking.cpp b/progresstracking.cpp
index b43e13057..64115b924 100644
--- a/progresstracking.cpp
+++ b/progresstracking.cpp
@@ -83,7 +83,7 @@ void ProgressTracking::UpdateDisplayDetails(const bool force) {
return;
}
clock_gettime(CLOCK_MONOTONIC, &last_update);
- double display_percent, progress_percent;
+ double display_percent = 0.0, progress_percent;
string size_prog = gui_lookup("size_progress", "%lluMB of %lluMB, %i%%");
char size_progress[1024];