-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
source/device/hid/keyboard.c:163:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
csud/source/device/hid/keyboard.c
Lines 163 to 167 in e13b935
| if (parse->Report[i]->Fields[j].Usage.Keyboard >= KeyboardLeftControl | |
| && parse->Report[i]->Fields[j].Usage.Keyboard <= KeyboardRightGui) | |
| LOG_DEBUGF("KBD: Modifier %d detected! Offset=%x, size=%x\n", parse->Report[i]->Fields[j].Usage.Keyboard, parse->Report[i]->Fields[j].Offset, parse->Report[i]->Fields[j].Size); | |
| data->KeyFields[(u16)parse->Report[i]->Fields[j].Usage.Keyboard - (u16)KeyboardLeftControl] = | |
| &parse->Report[i]->Fields[j]; |
Are both lines supposed to be guarded by the if statement, or only the LOG_DEBUGF?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels