New major version OBS-URL: https://build.opensuse.org/request/show/1100785 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich3?expand=0&rev=1
29 lines
859 B
Diff
29 lines
859 B
Diff
From 3b99a0cda07e6836f5316e9b1ea2ed4e1d625e0e Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@gmail.com>
|
|
Date: Sun, 23 Jul 2023 11:24:13 +0200
|
|
Subject: [PATCH] fix: control reaches end of non-void function
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
|
|
---
|
|
src/mpl/src/sock/mpl_sockaddr.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/mpl/src/sock/mpl_sockaddr.c b/src/mpl/src/sock/mpl_sockaddr.c
|
|
index c0e991c..dac43fe 100644
|
|
--- a/src/mpl/src/sock/mpl_sockaddr.c
|
|
+++ b/src/mpl/src/sock/mpl_sockaddr.c
|
|
@@ -141,6 +141,7 @@ int MPL_get_sockaddr_direct(int type, MPL_sockaddr_t * p_addr)
|
|
} else {
|
|
assert(0);
|
|
}
|
|
+ return 1;
|
|
}
|
|
|
|
int MPL_get_sockaddr_iface(const char *s_iface, MPL_sockaddr_t * p_addr)
|
|
--
|
|
2.41.0
|
|
|