25 lines
695 B
Diff
25 lines
695 B
Diff
From 86cc439a028dfa6e26a10786e9472d6a1a798f6b Mon Sep 17 00:00:00 2001
|
|
Date: Sun, 20 Oct 2019 23:50:56 +0300
|
|
Subject: [PATCH 5/5] Fix warnings
|
|
|
|
---
|
|
src/uct/tcp/tcp_net.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/src/uct/tcp/tcp_net.c b/src/uct/tcp/tcp_net.c
|
|
index 4aaf880..37e7728 100644
|
|
--- a/src/uct/tcp/tcp_net.c
|
|
+++ b/src/uct/tcp/tcp_net.c
|
|
@@ -41,7 +41,7 @@ ucs_status_t uct_tcp_netif_caps(const char *if_name, double *latency_p,
|
|
double *bandwidth_p)
|
|
{
|
|
struct ethtool_cmd edata;
|
|
- uint32_t speed_mbps;
|
|
+ uint32_t speed_mbps=0;
|
|
ucs_status_t status;
|
|
struct ifreq ifr;
|
|
size_t mtu, ll_headers;
|
|
--
|
|
2.1.4
|
|
|