summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2016-06-07 01:29:38 +0000
committertedu <tedu@openbsd.org>2016-06-07 01:29:38 +0000
commit252fb110d292fd9dcb15c00b1d34dba43ce70757 (patch)
tree8f229692150b70f7fd783e08a41c7aca062d558d /sbin/fsdb
parentSet BN_FLG_CONSTTIME on the correct variable. beck committed wrong fix. (diff)
downloadwireguard-openbsd-252fb110d292fd9dcb15c00b1d34dba43ce70757.tar.xz
wireguard-openbsd-252fb110d292fd9dcb15c00b1d34dba43ce70757.zip
per trending style, add continue to emtpy loop bodies.
ok mglocker
Diffstat (limited to 'sbin/fsdb')
-rw-r--r--sbin/fsdb/fsdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c
index ef0e3570ac9..9206f55b72f 100644
--- a/sbin/fsdb/fsdb.c
+++ b/sbin/fsdb/fsdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fsdb.c,v 1.29 2015/01/20 18:22:21 deraadt Exp $ */
+/* $OpenBSD: fsdb.c,v 1.30 2016/06/07 01:29:38 tedu Exp $ */
/* $NetBSD: fsdb.c,v 1.7 1997/01/11 06:50:53 lukem Exp $ */
/*-
@@ -451,7 +451,7 @@ CMDFUNCSTART(focusname)
}
for (p = argv[1]; p != NULL;) {
while ((val = strsep(&p, "/")) != NULL && *val == '\0')
- ;
+ continue;
if (val) {
printf("component `%s': ", val);
fflush(stdout);