aboutsummaryrefslogtreecommitdiff
path: root/src/xz/message.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-02-17 23:07:35 +0200
committerLasse Collin <lasse.collin@tukaani.org>2024-02-17 23:07:35 +0200
commitc701a5909ad9882469fbab4fab5d2d5556d3ba78 (patch)
tree5f78498911f919bd37c9fc7689127298241cd47e /src/xz/message.c
parentBuild: Makefile.am: Sort EXTRA_DIST. (diff)
downloadxz-c701a5909ad9882469fbab4fab5d2d5556d3ba78.tar.xz
xz: Fix message_init() description.
Also explicitly initialize progress_automatic to make it clear that it can be read before message_init() sets it. Static variable was initialized to false by default already so this is only for clarity.
Diffstat (limited to 'src/xz/message.c')
-rw-r--r--src/xz/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/message.c b/src/xz/message.c
index 46d7f0c8..0dfbebe1 100644
--- a/src/xz/message.c
+++ b/src/xz/message.c
@@ -42,7 +42,7 @@ static bool current_filename_printed = false;
/// True if we should print progress indicator and update it automatically
/// if also verbose >= V_VERBOSE.
-static bool progress_automatic;
+static bool progress_automatic = false;
/// True if message_progress_start() has been called but
/// message_progress_end() hasn't been called yet.