From 9686e94d9a8268f28d5acc5dfb7dbe9254649581 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 2 Apr 2025 13:23:47 +0900 Subject: [PATCH] test: drop unnecessary '>= 0' in ASSERT_OK() Follow-up for 2351bc991e3a4f1fbdaa2d53900980b6703babbd. Fixes CID#1596075. --- src/test/test-notify-recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test-notify-recv.c b/src/test/test-notify-recv.c index 24690b40a42..be236a3b9f5 100644 --- a/src/test/test-notify-recv.c +++ b/src/test/test-notify-recv.c @@ -72,7 +72,7 @@ TEST(notify_socket_prepare) { .pidref = PIDREF_NULL, }; _cleanup_free_ char *path = NULL; - ASSERT_OK(notify_socket_prepare(e, SD_EVENT_PRIORITY_NORMAL - 10, on_recv, &c, &path) >= 0); + ASSERT_OK(notify_socket_prepare(e, SD_EVENT_PRIORITY_NORMAL - 10, on_recv, &c, &path)); ASSERT_OK(sigprocmask_many(SIG_BLOCK, NULL, SIGCHLD)); -- 2.47.3