mirror of
https://github.com/RPCS3/libusb.git
synced 2026-07-19 21:03:32 -04:00
Fixed clang static analyzer warning about dereferencing null
It looks like *ifcp should be the same as iface, so I just use the latter instead of the former. Closes pull request #13 Signed-off-by: Nathan Hjelm <hjelmn@me.com>
This commit is contained in:
committed by
Nathan Hjelm
parent
7dfdf8e1b1
commit
e6902b2b0f
@@ -175,7 +175,7 @@ static int ep_to_pipeRef(struct libusb_device_handle *dev_handle, uint8_t ep, ui
|
||||
if (interface_out)
|
||||
*interface_out = cInterface;
|
||||
|
||||
usbi_dbg ("pipe %d on interface %d matches", *pipep, *ifcp);
|
||||
usbi_dbg ("pipe %d on interface %d matches", *pipep, iface);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define LIBUSB_NANO 10902
|
||||
#define LIBUSB_NANO 10903
|
||||
|
||||
Reference in New Issue
Block a user