From d38aa931dfc8ff843ed15cce6542ce3ff25aab40 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 30 Aug 2022 22:42:32 +0000 Subject: [PATCH] Avoid dead assignment --- usr.sbin/rpki-client/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c index d67925b89d3..e04e153c1c5 100644 --- a/usr.sbin/rpki-client/main.c +++ b/usr.sbin/rpki-client/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.214 2022/08/30 18:56:49 job Exp $ */ +/* $OpenBSD: main.c,v 1.215 2022/08/30 22:42:32 tb Exp $ */ /* * Copyright (c) 2021 Claudio Jeker * Copyright (c) 2019 Kristaps Dzonsons @@ -1089,7 +1089,7 @@ main(int argc, char *argv[]) polltim = repo_check_timeout(INFTIM); - if ((c = poll(pfd, NPFD, polltim)) == -1) { + if (poll(pfd, NPFD, polltim) == -1) { if (errno == EINTR) continue; err(1, "poll"); -- 2.20.1