aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/netliba/v6/ib_low.cpp
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-03-22 00:51:33 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-03-22 00:51:33 +0000
commit25754ddf6bf0d9f39deb2b793a946176b6d7c9fb (patch)
treeb81cf85ea8fbef3290618d909971b9ad02dd9e46 /library/cpp/netliba/v6/ib_low.cpp
parentc18aa245b684fef9b14c697b38e6c6695e0733f3 (diff)
parent87f8036d8027790ed03ac34feb2b5f3e141f948c (diff)
downloadydb-25754ddf6bf0d9f39deb2b793a946176b6d7c9fb.tar.gz
Merge branch 'rightlib' into merge-libs-250322-0050
Diffstat (limited to 'library/cpp/netliba/v6/ib_low.cpp')
-rw-r--r--library/cpp/netliba/v6/ib_low.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/netliba/v6/ib_low.cpp b/library/cpp/netliba/v6/ib_low.cpp
index 99d77d593f..fca97353d2 100644
--- a/library/cpp/netliba/v6/ib_low.cpp
+++ b/library/cpp/netliba/v6/ib_low.cpp
@@ -33,7 +33,7 @@ namespace NNetliba {
TIntrusivePtr<TIBContext> ctx;
TIntrusivePtr<TIBPort> resPort;
- int numDevices;
+ int numDevices{0};
ibv_device** deviceList = ibv_get_device_list(&numDevices);
//for (int i = 0; i < numDevices; ++i) {
// ibv_device *dev = deviceList[i];