source/device/hid/keyboard.c:163:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
|
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?
csud/source/device/hid/keyboard.c
Lines 163 to 167 in e13b935
Are both lines supposed to be guarded by the if statement, or only the LOG_DEBUGF?