aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordcherednik <dcherednik@ydb.tech>2023-11-03 18:14:49 +0300
committerdcherednik <dcherednik@ydb.tech>2023-11-03 18:40:31 +0300
commit4810810af252c32a13f0c2ede367b746fc0cc165 (patch)
treedf17bad954e06ef91b9f8fa386e17a967a005e8a
parent1178192f5cd2d8de16c71acdea284cb42327165a (diff)
downloadydb-4810810af252c32a13f0c2ede367b746fc0cc165.tar.gz
Fix use-of-uninitialized-value. KIKIMR-19980
-rw-r--r--ydb/public/lib/ydb_cli/commands/topic_operations_scenario.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/public/lib/ydb_cli/commands/topic_operations_scenario.h b/ydb/public/lib/ydb_cli/commands/topic_operations_scenario.h
index dc702ed79c..6974df0ea1 100644
--- a/ydb/public/lib/ydb_cli/commands/topic_operations_scenario.h
+++ b/ydb/public/lib/ydb_cli/commands/topic_operations_scenario.h
@@ -49,8 +49,8 @@ public:
TDuration WindowSec;
TDuration WarmupSec;
bool Quiet = false;
- bool PrintTimestamp;
- double Percentile;
+ bool PrintTimestamp = false;
+ double Percentile = 99.0;
TString TopicName;
ui32 TopicPartitionCount = 1;
ui32 ProducerThreadCount = 0;