mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Make it obvious that we don't care about the return value of
usbd_endpoint_count(), the failure case is handled implicit in the following code. Found by: Coverity Prevent (tm) CID: 56
This commit is contained in:
parent
daa88cdf0a
commit
2acfcc2d4c
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ USB_ATTACH(ubser)
|
|||
|
||||
/* find our bulk endpoints */
|
||||
epcount = 0;
|
||||
usbd_endpoint_count(sc->sc_iface, &epcount);
|
||||
(void)usbd_endpoint_count(sc->sc_iface, &epcount);
|
||||
sc->sc_bulkin_no = -1;
|
||||
sc->sc_bulkout_no = -1;
|
||||
for (i = 0; i < epcount; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue