hidapi:

Run:43521388434
Check:main: bugprone-*
Status:ok
Time:0s
Warnings:22 (TP 0, FP 0, unclassified 22)

Warnings (22):

VerdictLocationMessage
-hidapi/hidapi.h:65:59macro argument should be enclosed in parentheses
-hidtest/test.c:165:6use of a signed integer operand with a binary bitwise operator
-hidtest/test.c:165:25use of a signed integer operand with a binary bitwise operator
-linux/hid.c:200:912 adjacent parameters of 'get_hid_item_size' of similar type ('int *') are easily swapped by mistake
-linux/hid.c:211:7use of a signed integer operand with a binary bitwise operator
-linux/hid.c:229:14use of a signed integer operand with a binary bitwise operator
-linux/hid.c:263:3repeated branch body in conditional chain
-linux/hid.c:294:17use of a signed integer operand with a binary bitwise operator
-linux/hid.c:300:3potential uncovered code path; add a default label
-linux/hid.c:300:3switching on non-enum value without default case may not cover all cases
-linux/hid.c:350:1062 adjacent parameters of 'get_next_hid_usage' of similar type ('unsigned short *') are easily swapped by mistake
-linux/hid.c:359:17use of a signed integer operand with a binary bitwise operator
-linux/hid.c:365:3potential uncovered code path; add a default label
-linux/hid.c:365:3switching on non-enum value without default case may not cover all cases
-linux/hid.c:492:14'sscanf' used to convert a string to an unsigned integer value, but function will not report conversion errors; consider using 'strtoul' instead
-linux/hid.c:574:22 adjacent parameters of 'parse_uevent_info' of similar type ('char **') are easily swapped by mistake
-linux/hid.c:613:14'sscanf' used to convert a string to an unsigned integer value, but function will not report conversion errors; consider using 'strtoul' instead
-linux/hid.c:754:40narrowing conversion from 'long' to signed type 'int' is implementation-defined
-linux/hid.c:1114:18narrowing conversion from 'ssize_t' (aka 'long') to signed type 'int' is implementation-defined
-linux/hid.c:1122:752 adjacent parameters of 'hid_read_timeout' of convertible types are easily swapped by mistake
-linux/hid.c:1161:8use of a signed integer operand with a binary bitwise operator
-linux/hid.c:1170:15narrowing conversion from 'ssize_t' (aka 'long') to signed type 'int' is implementation-defined

Generated from 3ddf6fa37f.