diff options
author | Rosen Penev <rosenp@gmail.com> | 2022-09-04 12:47:21 +0200 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2022-09-04 21:11:09 +0200 |
commit | be33e58489110d74b5b8e45f58ed3e046ac5a809 (patch) | |
tree | 500139fe06b53a4fee9be203a398cf362f3c8159 /libusb/os/windows_winusb.c | |
parent | 5c27abd59ead601177c724a87568e20e87861878 (diff) | |
download | libusb-be33e58489110d74b5b8e45f58ed3e046ac5a809.tar.gz |
windows: Fix build with --disable-log
On Windows we use UNREFERENCED_PARAMETER for UNUSED (commit 521105f).
UNREFERENCED_PARAMETER evaluates to {(ctx) = (ctx);} which errors out:
error: lvalue required as left operand of assignment.
in the cases where ctx is NULL.
Closes #1152
[Tormod: Add ctx reference to avoid unused variable warnings]
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'libusb/os/windows_winusb.c')
0 files changed, 0 insertions, 0 deletions