From eb96bae376c1deeae1782dce98393e323853acfc Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 3 Mar 2021 09:06:20 +0000 Subject: [PATCH] remove unreachable and unneeded code ok martijn@ --- usr.bin/snmp/snmpc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(); -- 2.20.1