aboutsummaryrefslogtreecommitdiff
path: root/src/xz/message.h
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.h
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.h')
-rw-r--r--src/xz/message.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xz/message.h b/src/xz/message.h
index fd3333a7..1734f0ea 100644
--- a/src/xz/message.h
+++ b/src/xz/message.h
@@ -23,7 +23,10 @@ enum message_verbosity {
extern const int message_progress_sigs[];
-/// \brief Initializes the message functions
+/// \brief Initializes the progress message functions
+///
+/// message_fatal() and such can be called even before message_init()
+/// has been called.
///
/// If an error occurs, this function doesn't return.
///