From: Yu Watanabe Date: Wed, 2 Apr 2025 04:23:47 +0000 (+0900) Subject: test: drop unnecessary '>= 0' in ASSERT_OK() X-Git-Tag: v258-rc1~965 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9686e94d9a8268f28d5acc5dfb7dbe9254649581;p=thirdparty%2Fsystemd.git test: drop unnecessary '>= 0' in ASSERT_OK() Follow-up for 2351bc991e3a4f1fbdaa2d53900980b6703babbd. Fixes CID#1596075. --- 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));