Skip to content

mice: I_wacom_RequestData: remove useless arg#35

Open
tharvik wants to merge 1 commit intotelmich:masterfrom
tharvik:fix-uninit-var
Open

mice: I_wacom_RequestData: remove useless arg#35
tharvik wants to merge 1 commit intotelmich:masterfrom
tharvik:fix-uninit-var

Conversation

@tharvik
Copy link

@tharvik tharvik commented Aug 9, 2019

While playing with some gcc warning flags, I ended up finding this weird code construct. I_wacom_RequestData accepts a last argument char *p, but in its body, we can see p = buffer, without ever reading before. I didn't see any intented use so removing it seems the most logical.

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

Successfully merging this pull request may close these issues.

1 participant

Comments