From cc80db955d0551c2456692da6176530dd27e08ed Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 1 Oct 2021 16:01:47 +0200 Subject: executor: check for single-line compound statements Historically the code base does not use single-line compound statements ({} around single-line blocks). But there are few precedents creeped into already. Add a check to keep the code base consistent. --- executor/common_usb_netbsd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'executor/common_usb_netbsd.h') diff --git a/executor/common_usb_netbsd.h b/executor/common_usb_netbsd.h index 138b50557..986555321 100644 --- a/executor/common_usb_netbsd.h +++ b/executor/common_usb_netbsd.h @@ -268,8 +268,7 @@ static volatile long syz_usb_connect_impl(int fd, uint64 speed, uint64 dev_len, if ((req.u.ctrl.bmRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD && req.u.ctrl.bRequest == USB_REQ_SET_CONFIGURATION) { - // TODO: possibly revisit. - } + } // TODO: possibly revisit. if (response_length > sizeof(data)) response_length = 0; -- cgit mrf-deployment