aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc/thread_name.h
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2023-12-21 15:05:38 +0100
committerGitHub <noreply@github.com>2023-12-21 15:05:38 +0100
commite98bcbc74422492351c51646dba3849a138a8ffc (patch)
tree38ad7a09b1f9c201ce8a7e3d69f2017388769224 /library/cpp/yt/misc/thread_name.h
parent559d7083cd8378cb25b9e966dedcca21d413e338 (diff)
downloadydb-e98bcbc74422492351c51646dba3849a138a8ffc.tar.gz
Import libs 1 (#590)
* Import libs 1 * Add new file without extension * Add file missed in export config
Diffstat (limited to 'library/cpp/yt/misc/thread_name.h')
-rw-r--r--library/cpp/yt/misc/thread_name.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/misc/thread_name.h b/library/cpp/yt/misc/thread_name.h
index 96b8ed1995..233808f99f 100644
--- a/library/cpp/yt/misc/thread_name.h
+++ b/library/cpp/yt/misc/thread_name.h
@@ -17,7 +17,7 @@ struct TThreadName
static constexpr int BufferCapacity = 16; // including zero terminator
std::array<char, BufferCapacity> Buffer{}; // zero-terminated
- int Length; // not including zero terminator
+ int Length = 0; // not including zero terminator
};
TThreadName GetCurrentThreadName();