From: jsg Date: Wed, 3 Mar 2021 09:06:20 +0000 (+0000) Subject: remove unreachable and unneeded code X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=eb96bae376c1deeae1782dce98393e323853acfc;p=openbsd remove unreachable and unneeded code ok martijn@ --- diff --git a/usr.bin/snmp/snmpc.c b/usr.bin/snmp/snmpc.c index 560a329c783..854aa4c0df5 100644 --- a/usr.bin/snmp/snmpc.c +++ b/usr.bin/snmp/snmpc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpc.c,v 1.31 2020/12/02 15:45:51 martijn Exp $ */ +/* $OpenBSD: snmpc.c,v 1.32 2021/03/03 09:06:20 jsg Exp $ */ /* * Copyright (c) 2019 Martijn van Duren @@ -456,8 +456,6 @@ main(int argc, char *argv[]) if (boots < 0 || strtolp == optarg || strtolp[0] != ',') usage(); strtolp++; - while (strtolp[0] == ' ' && strtolp[0] == '\t') - strtolp++; time = strtoll(strtolp, &strtolp, 10); if (boots < 0 || strtolp == optarg) usage();