You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kronosnet/SOURCES/1_24.testfix.patch

14 lines
485 B

diff --git a/libknet/tests/api_knet_handle_new.c b/libknet/tests/api_knet_handle_new.c
index a6ccb3a..60e5c4f 100644
--- a/libknet/tests/api_knet_handle_new.c
+++ b/libknet/tests/api_knet_handle_new.c
@@ -112,7 +112,7 @@ static void test(void)
printf("Test knet_handle_new hostid 1, proper log_fd, proper log level (DEBUG)\n");
- knet_h1 = knet_handle_start(logfds, KNET_LOG_DEBUG, knet_h);
+ (void)knet_handle_start(logfds, KNET_LOG_DEBUG, knet_h);
CLEAN_EXIT(CONTINUE);
}