diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-10-01 16:01:47 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-10-01 16:38:35 +0200 |
| commit | cc80db955d0551c2456692da6176530dd27e08ed (patch) | |
| tree | 52eb201e3fb5af9168db095fbd5fcebaf2961d9d /executor/common_usb_netbsd.h | |
| parent | 1d849ab4d892af13a249f75628790b47e42b7c74 (diff) | |
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.
Diffstat (limited to 'executor/common_usb_netbsd.h')
| -rw-r--r-- | executor/common_usb_netbsd.h | 3 |
1 files changed, 1 insertions, 2 deletions
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; |
