Fixed findings

List of Findings

Error: COMPILER_WARNING: [#def1]
xcb-util-cursor-0.1.5/cursor/load_cursor.c: scope_hint: In function 'xcb_cursor_load_cursor'
xcb-util-cursor-0.1.5/cursor/load_cursor.c:232:5: warning[-Wdeclaration-after-statement]: ISO C90 forbids mixed declarations and code
#  232 |     xcb_render_animcursorelt_t elements[nimg];
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  230|   
#  231|       /* create a cursor from it */
#  232|->     xcb_render_animcursorelt_t elements[nimg];
#  233|       xcb_render_picture_t pic = xcb_generate_id(c->conn);
#  234|   

Error: COMPILER_WARNING (CWE-758): [#def2]
xcb-util-cursor-0.1.5/cursor/shape_to_id.gperf:70:1: warning[-Wmissing-prototypes]: no previous prototype for 'in_word_set'
#   70 | top_left_arrow,66
#      | ^~~~~~~~~~~
#   68|   target,64
#   69|   tcross,65
#   70|-> top_left_arrow,66
#   71|   top_left_corner,67
#   72|   top_right_corner,68

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-203.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namexcb-util-cursor-0.1.6-1.fc44
diffbase-store-results-to/tmp/tmpr538hxiu/xcb-util-cursor-0.1.6-1.fc44.tar.xz
diffbase-time-created2026-01-08 22:07:07
diffbase-time-finished2026-01-08 22:08:24
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpr538hxiu/xcb-util-cursor-0.1.6-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpr538hxiu/xcb-util-cursor-0.1.6-1.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-203.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namexcb-util-cursor-0.1.5-4.fc43
store-results-to/tmp/tmpyu72glqp/xcb-util-cursor-0.1.5-4.fc43.tar.xz
time-created2026-01-08 22:05:04
time-finished2026-01-08 22:06:49
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpyu72glqp/xcb-util-cursor-0.1.5-4.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpyu72glqp/xcb-util-cursor-0.1.5-4.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9