Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb_capture.c:81: read uninit local variable ? #2

Open
dcb314 opened this issue Nov 19, 2015 · 0 comments
Open

usb_capture.c:81: read uninit local variable ? #2

dcb314 opened this issue Nov 19, 2015 · 0 comments

Comments

@dcb314
Copy link

dcb314 commented Nov 19, 2015

usb_capture.c:81:20: warning: variable 'last_request_type' is uninitialized when used here [-Wuninitialized]

if(last_urb_id && last_request_type == 128) {

Also

usb_replay.c:111:12: warning: variable 'r' is uninitialized when used here [-Wuninitialized]

ASSERT2(r == 0, TRANSFER_FAILED_MESSAGE, libusb_error_name(r));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant