Task #879 - libwacom-2.12.2-1.fc41/scan-results.err
back to task #879download
Error: CPPCHECK_WARNING:
libwacom-2.12.2-build/libwacom-2.12.2/libwacom/libwacom-database.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476):
libwacom-2.12.2-build/libwacom-2.12.2/libwacom/libwacom-error.c: scope_hint: In function ‘libwacom_error_new’
libwacom-2.12.2-build/libwacom-2.12.2/libwacom/libwacom-error.c:40:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘error’
# 38| {
# 39| WacomError *error = malloc(sizeof(*error));
# 40|-> error->code = WERROR_NONE;
# 41| error->msg = NULL;
# 42| return error;
Error: CPPCHECK_WARNING:
libwacom-2.12.2-build/libwacom-2.12.2/libwacom/libwacom.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
libwacom-2.12.2-build/libwacom-2.12.2/tools/list-devices.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING:
libwacom-2.12.2-build/libwacom-2.12.2/tools/list-local-devices.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING:
libwacom-2.12.2-build/libwacom-2.12.2/tools/list-local-devices.c:149:15: warning[deadcode.DeadStores]: Value stored to 'type' during its initialization is never read
# 147| for (int i = 0; i < nstyli; i++) {
# 148| const WacomStylus *stylus = libwacom_stylus_get_for_id(db, styli[i]);
# 149|-> const char *type = "invalid";
# 150| WacomAxisTypeFlags axes = libwacom_stylus_get_axes(stylus);
# 151| WacomEraserType eraser_type = libwacom_stylus_get_eraser_type(stylus);
Error: CLANG_WARNING:
libwacom-2.12.2-build/libwacom-2.12.2/tools/list-local-devices.c:152:15: warning[deadcode.DeadStores]: Value stored to 'etype' during its initialization is never read
# 150| WacomAxisTypeFlags axes = libwacom_stylus_get_axes(stylus);
# 151| WacomEraserType eraser_type = libwacom_stylus_get_eraser_type(stylus);
# 152|-> const char *etype= "unknown";
# 153|
# 154| switch (libwacom_stylus_get_type(stylus)) {