Blob Blame History Raw
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);
 }