Conversation

{sigh} Go home CodeQL, you are drunk…

int main(int argc, char *argv[])
Poorly documented function: fewer than 2% comments for a function of 129 lines.

Code in question is at: https://github.com/gregkh/usbutils/blob/master/lsusb.c#L3835 if people are curious. It’s as if the tool hasn’t seen C code before…

1
9
17

@gregkh

Would

/* This is the main function. */

make it happy? 🤔

1
0
0

I feel reminded of bygone times, where productivity was measured in lines of code, so people added heaps of comments, typically consisting of lots of asterisks everywhere.

@gregkh @gustavoars

0
0
0