kronosnet/1_24.testfix.patch
Christine Caulfield 67bb6c62c6 Fix minor covscan in knet_hand_new test
Don't run api_nozzle_run_updown_test test
2022-07-15 15:08:11 +01:00

14 lines
485 B
Diff

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);
}