From: tb Date: Tue, 30 Aug 2022 22:42:32 +0000 (+0000) Subject: Avoid dead assignment X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d38aa931dfc8ff843ed15cce6542ce3ff25aab40;p=openbsd Avoid dead assignment --- 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");