Task #882 - libxcb-1.17.0-1.fc41/scan-results.err
back to task #882download
Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dbe.c:116:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 114| xcb_buffer_len += xcb_block_len + xcb_pad; # 115| if (0 != xcb_pad) { # 116|-> xcb_tmp += xcb_pad; # 117| xcb_pad = 0; # 118| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dbe.c:117:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 115| if (0 != xcb_pad) { # 116| xcb_tmp += xcb_pad; # 117|-> xcb_pad = 0; # 118| } # 119| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dbe.c:119:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 117| xcb_pad = 0; # 118| } # 119|-> xcb_block_len = 0; # 120| # 121| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dbe.c:372:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 370| xcb_buffer_len += xcb_block_len + xcb_pad; # 371| if (0 != xcb_pad) { # 372|-> xcb_tmp += xcb_pad; # 373| xcb_pad = 0; # 374| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dbe.c:373:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 371| if (0 != xcb_pad) { # 372| xcb_tmp += xcb_pad; # 373|-> xcb_pad = 0; # 374| } # 375| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dbe.c:375:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 373| xcb_pad = 0; # 374| } # 375|-> xcb_block_len = 0; # 376| # 377| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dbe.c:585:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 583| xcb_buffer_len += xcb_block_len + xcb_pad; # 584| if (0 != xcb_pad) { # 585|-> xcb_tmp += xcb_pad; # 586| xcb_pad = 0; # 587| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dbe.c:586:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 584| if (0 != xcb_pad) { # 585| xcb_tmp += xcb_pad; # 586|-> xcb_pad = 0; # 587| } # 588| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dbe.c:588:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 586| xcb_pad = 0; # 587| } # 588|-> xcb_block_len = 0; # 589| # 590| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:145:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 143| if (0 != xcb_pad) { # 144| xcb_tmp += xcb_pad; # 145|-> xcb_pad = 0; # 146| } # 147| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:157:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 155| if (0 != xcb_pad) { # 156| xcb_tmp += xcb_pad; # 157|-> xcb_pad = 0; # 158| } # 159| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:168:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 166| xcb_buffer_len += xcb_block_len + xcb_pad; # 167| if (0 != xcb_pad) { # 168|-> xcb_tmp += xcb_pad; # 169| xcb_pad = 0; # 170| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:169:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 167| if (0 != xcb_pad) { # 168| xcb_tmp += xcb_pad; # 169|-> xcb_pad = 0; # 170| } # 171| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:171:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 169| xcb_pad = 0; # 170| } # 171|-> xcb_block_len = 0; # 172| # 173| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:501:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 499| xcb_buffer_len += xcb_block_len + xcb_pad; # 500| if (0 != xcb_pad) { # 501|-> xcb_tmp += xcb_pad; # 502| xcb_pad = 0; # 503| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:502:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 500| if (0 != xcb_pad) { # 501| xcb_tmp += xcb_pad; # 502|-> xcb_pad = 0; # 503| } # 504| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:504:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 502| xcb_pad = 0; # 503| } # 504|-> xcb_block_len = 0; # 505| # 506| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:704:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 702| xcb_buffer_len += xcb_block_len + xcb_pad; # 703| if (0 != xcb_pad) { # 704|-> xcb_tmp += xcb_pad; # 705| xcb_pad = 0; # 706| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:705:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 703| if (0 != xcb_pad) { # 704| xcb_tmp += xcb_pad; # 705|-> xcb_pad = 0; # 706| } # 707| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri2.c:707:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 705| xcb_pad = 0; # 706| } # 707|-> xcb_block_len = 0; # 708| # 709| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri3.c:494:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 492| if (0 != xcb_pad) { # 493| xcb_tmp += xcb_pad; # 494|-> xcb_pad = 0; # 495| } # 496| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri3.c:505:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 503| xcb_buffer_len += xcb_block_len + xcb_pad; # 504| if (0 != xcb_pad) { # 505|-> xcb_tmp += xcb_pad; # 506| xcb_pad = 0; # 507| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri3.c:506:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 504| if (0 != xcb_pad) { # 505| xcb_tmp += xcb_pad; # 506|-> xcb_pad = 0; # 507| } # 508| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri3.c:508:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 506| xcb_pad = 0; # 507| } # 508|-> xcb_block_len = 0; # 509| # 510| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri3.c:782:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 780| if (0 != xcb_pad) { # 781| xcb_tmp += xcb_pad; # 782|-> xcb_pad = 0; # 783| } # 784| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri3.c:793:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 791| xcb_buffer_len += xcb_block_len + xcb_pad; # 792| if (0 != xcb_pad) { # 793|-> xcb_tmp += xcb_pad; # 794| xcb_pad = 0; # 795| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri3.c:794:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 792| if (0 != xcb_pad) { # 793| xcb_tmp += xcb_pad; # 794|-> xcb_pad = 0; # 795| } # 796| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/dri3.c:796:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 794| xcb_pad = 0; # 795| } # 796|-> xcb_block_len = 0; # 797| # 798| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:224:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 222| xcb_buffer_len += xcb_block_len + xcb_pad; # 223| if (0 != xcb_pad) { # 224|-> xcb_tmp += xcb_pad; # 225| xcb_pad = 0; # 226| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:225:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 223| if (0 != xcb_pad) { # 224| xcb_tmp += xcb_pad; # 225|-> xcb_pad = 0; # 226| } # 227| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:227:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 225| xcb_pad = 0; # 226| } # 227|-> xcb_block_len = 0; # 228| # 229| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:343:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 341| xcb_buffer_len += xcb_block_len + xcb_pad; # 342| if (0 != xcb_pad) { # 343|-> xcb_tmp += xcb_pad; # 344| xcb_pad = 0; # 345| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:344:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 342| if (0 != xcb_pad) { # 343| xcb_tmp += xcb_pad; # 344|-> xcb_pad = 0; # 345| } # 346| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:346:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 344| xcb_pad = 0; # 345| } # 346|-> xcb_block_len = 0; # 347| # 348| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1142:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1140| xcb_buffer_len += xcb_block_len + xcb_pad; # 1141| if (0 != xcb_pad) { # 1142|-> xcb_tmp += xcb_pad; # 1143| xcb_pad = 0; # 1144| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1143:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1141| if (0 != xcb_pad) { # 1142| xcb_tmp += xcb_pad; # 1143|-> xcb_pad = 0; # 1144| } # 1145| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1145:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1143| xcb_pad = 0; # 1144| } # 1145|-> xcb_block_len = 0; # 1146| # 1147| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1307:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1305| xcb_buffer_len += xcb_block_len + xcb_pad; # 1306| if (0 != xcb_pad) { # 1307|-> xcb_tmp += xcb_pad; # 1308| xcb_pad = 0; # 1309| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1308:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1306| if (0 != xcb_pad) { # 1307| xcb_tmp += xcb_pad; # 1308|-> xcb_pad = 0; # 1309| } # 1310| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1310:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1308| xcb_pad = 0; # 1309| } # 1310|-> xcb_block_len = 0; # 1311| # 1312| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1430:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1428| xcb_buffer_len += xcb_block_len + xcb_pad; # 1429| if (0 != xcb_pad) { # 1430|-> xcb_tmp += xcb_pad; # 1431| xcb_pad = 0; # 1432| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1431:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1429| if (0 != xcb_pad) { # 1430| xcb_tmp += xcb_pad; # 1431|-> xcb_pad = 0; # 1432| } # 1433| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1433:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1431| xcb_pad = 0; # 1432| } # 1433|-> xcb_block_len = 0; # 1434| # 1435| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1621:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1619| xcb_buffer_len += xcb_block_len + xcb_pad; # 1620| if (0 != xcb_pad) { # 1621|-> xcb_tmp += xcb_pad; # 1622| xcb_pad = 0; # 1623| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1622:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1620| if (0 != xcb_pad) { # 1621| xcb_tmp += xcb_pad; # 1622|-> xcb_pad = 0; # 1623| } # 1624| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1624:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1622| xcb_pad = 0; # 1623| } # 1624|-> xcb_block_len = 0; # 1625| # 1626| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1738:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1736| xcb_buffer_len += xcb_block_len + xcb_pad; # 1737| if (0 != xcb_pad) { # 1738|-> xcb_tmp += xcb_pad; # 1739| xcb_pad = 0; # 1740| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1739:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1737| if (0 != xcb_pad) { # 1738| xcb_tmp += xcb_pad; # 1739|-> xcb_pad = 0; # 1740| } # 1741| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1741:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1739| xcb_pad = 0; # 1740| } # 1741|-> xcb_block_len = 0; # 1742| # 1743| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1863:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1861| xcb_buffer_len += xcb_block_len + xcb_pad; # 1862| if (0 != xcb_pad) { # 1863|-> xcb_tmp += xcb_pad; # 1864| xcb_pad = 0; # 1865| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1864:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1862| if (0 != xcb_pad) { # 1863| xcb_tmp += xcb_pad; # 1864|-> xcb_pad = 0; # 1865| } # 1866| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1866:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1864| xcb_pad = 0; # 1865| } # 1866|-> xcb_block_len = 0; # 1867| # 1868| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1976:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1974| xcb_buffer_len += xcb_block_len + xcb_pad; # 1975| if (0 != xcb_pad) { # 1976|-> xcb_tmp += xcb_pad; # 1977| xcb_pad = 0; # 1978| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1977:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1975| if (0 != xcb_pad) { # 1976| xcb_tmp += xcb_pad; # 1977|-> xcb_pad = 0; # 1978| } # 1979| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:1979:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1977| xcb_pad = 0; # 1978| } # 1979|-> xcb_block_len = 0; # 1980| # 1981| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2235:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2233| xcb_buffer_len += xcb_block_len + xcb_pad; # 2234| if (0 != xcb_pad) { # 2235|-> xcb_tmp += xcb_pad; # 2236| xcb_pad = 0; # 2237| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2236:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2234| if (0 != xcb_pad) { # 2235| xcb_tmp += xcb_pad; # 2236|-> xcb_pad = 0; # 2237| } # 2238| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2238:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2236| xcb_pad = 0; # 2237| } # 2238|-> xcb_block_len = 0; # 2239| # 2240| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2420:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2418| xcb_buffer_len += xcb_block_len + xcb_pad; # 2419| if (0 != xcb_pad) { # 2420|-> xcb_tmp += xcb_pad; # 2421| xcb_pad = 0; # 2422| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2421:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2419| if (0 != xcb_pad) { # 2420| xcb_tmp += xcb_pad; # 2421|-> xcb_pad = 0; # 2422| } # 2423| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2423:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2421| xcb_pad = 0; # 2422| } # 2423|-> xcb_block_len = 0; # 2424| # 2425| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2601:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2599| xcb_buffer_len += xcb_block_len + xcb_pad; # 2600| if (0 != xcb_pad) { # 2601|-> xcb_tmp += xcb_pad; # 2602| xcb_pad = 0; # 2603| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2602:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2600| if (0 != xcb_pad) { # 2601| xcb_tmp += xcb_pad; # 2602|-> xcb_pad = 0; # 2603| } # 2604| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2604:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2602| xcb_pad = 0; # 2603| } # 2604|-> xcb_block_len = 0; # 2605| # 2606| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2714:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2712| xcb_buffer_len += xcb_block_len + xcb_pad; # 2713| if (0 != xcb_pad) { # 2714|-> xcb_tmp += xcb_pad; # 2715| xcb_pad = 0; # 2716| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2715:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2713| if (0 != xcb_pad) { # 2714| xcb_tmp += xcb_pad; # 2715|-> xcb_pad = 0; # 2716| } # 2717| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2717:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2715| xcb_pad = 0; # 2716| } # 2717|-> xcb_block_len = 0; # 2718| # 2719| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2835:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2833| xcb_buffer_len += xcb_block_len + xcb_pad; # 2834| if (0 != xcb_pad) { # 2835|-> xcb_tmp += xcb_pad; # 2836| xcb_pad = 0; # 2837| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2836:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2834| if (0 != xcb_pad) { # 2835| xcb_tmp += xcb_pad; # 2836|-> xcb_pad = 0; # 2837| } # 2838| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:2838:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2836| xcb_pad = 0; # 2837| } # 2838|-> xcb_block_len = 0; # 2839| # 2840| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3021:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3019| if (0 != xcb_pad) { # 3020| xcb_tmp += xcb_pad; # 3021|-> xcb_pad = 0; # 3022| } # 3023| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3027:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3025| xcb_block_len += _aux->gl_str_len * sizeof(char); # 3026| xcb_tmp += xcb_block_len; # 3027|-> xcb_align_to = ALIGNOF(char); # 3028| xcb_align_to = 4; # 3029| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3034:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3032| if (0 != xcb_pad) { # 3033| xcb_tmp += xcb_pad; # 3034|-> xcb_pad = 0; # 3035| } # 3036| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3042:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3040| if (0 != xcb_pad) { # 3041| xcb_tmp += xcb_pad; # 3042|-> xcb_pad = 0; # 3043| } # 3044| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3053:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3051| xcb_buffer_len += xcb_block_len + xcb_pad; # 3052| if (0 != xcb_pad) { # 3053|-> xcb_tmp += xcb_pad; # 3054| xcb_pad = 0; # 3055| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3054:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3052| if (0 != xcb_pad) { # 3053| xcb_tmp += xcb_pad; # 3054|-> xcb_pad = 0; # 3055| } # 3056| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3056:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3054| xcb_pad = 0; # 3055| } # 3056|-> xcb_block_len = 0; # 3057| # 3058| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3258:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3256| xcb_buffer_len += xcb_block_len + xcb_pad; # 3257| if (0 != xcb_pad) { # 3258|-> xcb_tmp += xcb_pad; # 3259| xcb_pad = 0; # 3260| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3259:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3257| if (0 != xcb_pad) { # 3258| xcb_tmp += xcb_pad; # 3259|-> xcb_pad = 0; # 3260| } # 3261| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3261:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3259| xcb_pad = 0; # 3260| } # 3261|-> xcb_block_len = 0; # 3262| # 3263| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3398:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3396| if (0 != xcb_pad) { # 3397| xcb_tmp += xcb_pad; # 3398|-> xcb_pad = 0; # 3399| } # 3400| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3404:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3402| xcb_block_len += _aux->gl_str_len * sizeof(char); # 3403| xcb_tmp += xcb_block_len; # 3404|-> xcb_align_to = ALIGNOF(char); # 3405| xcb_align_to = 4; # 3406| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3411:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3409| if (0 != xcb_pad) { # 3410| xcb_tmp += xcb_pad; # 3411|-> xcb_pad = 0; # 3412| } # 3413| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3419:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3417| if (0 != xcb_pad) { # 3418| xcb_tmp += xcb_pad; # 3419|-> xcb_pad = 0; # 3420| } # 3421| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3430:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3428| xcb_buffer_len += xcb_block_len + xcb_pad; # 3429| if (0 != xcb_pad) { # 3430|-> xcb_tmp += xcb_pad; # 3431| xcb_pad = 0; # 3432| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3431:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3429| if (0 != xcb_pad) { # 3430| xcb_tmp += xcb_pad; # 3431|-> xcb_pad = 0; # 3432| } # 3433| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3433:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3431| xcb_pad = 0; # 3432| } # 3433|-> xcb_block_len = 0; # 3434| # 3435| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3987:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3985| xcb_buffer_len += xcb_block_len + xcb_pad; # 3986| if (0 != xcb_pad) { # 3987|-> xcb_tmp += xcb_pad; # 3988| xcb_pad = 0; # 3989| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3988:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3986| if (0 != xcb_pad) { # 3987| xcb_tmp += xcb_pad; # 3988|-> xcb_pad = 0; # 3989| } # 3990| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:3990:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3988| xcb_pad = 0; # 3989| } # 3990|-> xcb_block_len = 0; # 3991| # 3992| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4284:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4282| xcb_buffer_len += xcb_block_len + xcb_pad; # 4283| if (0 != xcb_pad) { # 4284|-> xcb_tmp += xcb_pad; # 4285| xcb_pad = 0; # 4286| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4285:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4283| if (0 != xcb_pad) { # 4284| xcb_tmp += xcb_pad; # 4285|-> xcb_pad = 0; # 4286| } # 4287| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4287:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4285| xcb_pad = 0; # 4286| } # 4287|-> xcb_block_len = 0; # 4288| # 4289| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4429:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4427| xcb_buffer_len += xcb_block_len + xcb_pad; # 4428| if (0 != xcb_pad) { # 4429|-> xcb_tmp += xcb_pad; # 4430| xcb_pad = 0; # 4431| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4430:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4428| if (0 != xcb_pad) { # 4429| xcb_tmp += xcb_pad; # 4430|-> xcb_pad = 0; # 4431| } # 4432| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4432:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4430| xcb_pad = 0; # 4431| } # 4432|-> xcb_block_len = 0; # 4433| # 4434| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4546:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4544| xcb_buffer_len += xcb_block_len + xcb_pad; # 4545| if (0 != xcb_pad) { # 4546|-> xcb_tmp += xcb_pad; # 4547| xcb_pad = 0; # 4548| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4547:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4545| if (0 != xcb_pad) { # 4546| xcb_tmp += xcb_pad; # 4547|-> xcb_pad = 0; # 4548| } # 4549| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4549:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4547| xcb_pad = 0; # 4548| } # 4549|-> xcb_block_len = 0; # 4550| # 4551| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4663:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4661| xcb_buffer_len += xcb_block_len + xcb_pad; # 4662| if (0 != xcb_pad) { # 4663|-> xcb_tmp += xcb_pad; # 4664| xcb_pad = 0; # 4665| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4664:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4662| if (0 != xcb_pad) { # 4663| xcb_tmp += xcb_pad; # 4664|-> xcb_pad = 0; # 4665| } # 4666| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4666:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4664| xcb_pad = 0; # 4665| } # 4666|-> xcb_block_len = 0; # 4667| # 4668| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4840:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4838| xcb_buffer_len += xcb_block_len + xcb_pad; # 4839| if (0 != xcb_pad) { # 4840|-> xcb_tmp += xcb_pad; # 4841| xcb_pad = 0; # 4842| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4841:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4839| if (0 != xcb_pad) { # 4840| xcb_tmp += xcb_pad; # 4841|-> xcb_pad = 0; # 4842| } # 4843| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4843:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4841| xcb_pad = 0; # 4842| } # 4843|-> xcb_block_len = 0; # 4844| # 4845| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4957:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4955| xcb_buffer_len += xcb_block_len + xcb_pad; # 4956| if (0 != xcb_pad) { # 4957|-> xcb_tmp += xcb_pad; # 4958| xcb_pad = 0; # 4959| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4958:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4956| if (0 != xcb_pad) { # 4957| xcb_tmp += xcb_pad; # 4958|-> xcb_pad = 0; # 4959| } # 4960| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:4960:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4958| xcb_pad = 0; # 4959| } # 4960|-> xcb_block_len = 0; # 4961| # 4962| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5074:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5072| xcb_buffer_len += xcb_block_len + xcb_pad; # 5073| if (0 != xcb_pad) { # 5074|-> xcb_tmp += xcb_pad; # 5075| xcb_pad = 0; # 5076| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5075:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5073| if (0 != xcb_pad) { # 5074| xcb_tmp += xcb_pad; # 5075|-> xcb_pad = 0; # 5076| } # 5077| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5077:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5075| xcb_pad = 0; # 5076| } # 5077|-> xcb_block_len = 0; # 5078| # 5079| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5195:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5193| xcb_buffer_len += xcb_block_len + xcb_pad; # 5194| if (0 != xcb_pad) { # 5195|-> xcb_tmp += xcb_pad; # 5196| xcb_pad = 0; # 5197| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5196:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5194| if (0 != xcb_pad) { # 5195| xcb_tmp += xcb_pad; # 5196|-> xcb_pad = 0; # 5197| } # 5198| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5198:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5196| xcb_pad = 0; # 5197| } # 5198|-> xcb_block_len = 0; # 5199| # 5200| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5316:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5314| xcb_buffer_len += xcb_block_len + xcb_pad; # 5315| if (0 != xcb_pad) { # 5316|-> xcb_tmp += xcb_pad; # 5317| xcb_pad = 0; # 5318| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5317:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5315| if (0 != xcb_pad) { # 5316| xcb_tmp += xcb_pad; # 5317|-> xcb_pad = 0; # 5318| } # 5319| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5319:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5317| xcb_pad = 0; # 5318| } # 5319|-> xcb_block_len = 0; # 5320| # 5321| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5437:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5435| xcb_buffer_len += xcb_block_len + xcb_pad; # 5436| if (0 != xcb_pad) { # 5437|-> xcb_tmp += xcb_pad; # 5438| xcb_pad = 0; # 5439| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5438:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5436| if (0 != xcb_pad) { # 5437| xcb_tmp += xcb_pad; # 5438|-> xcb_pad = 0; # 5439| } # 5440| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5440:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5438| xcb_pad = 0; # 5439| } # 5440|-> xcb_block_len = 0; # 5441| # 5442| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5558:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5556| xcb_buffer_len += xcb_block_len + xcb_pad; # 5557| if (0 != xcb_pad) { # 5558|-> xcb_tmp += xcb_pad; # 5559| xcb_pad = 0; # 5560| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5559:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5557| if (0 != xcb_pad) { # 5558| xcb_tmp += xcb_pad; # 5559|-> xcb_pad = 0; # 5560| } # 5561| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5561:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5559| xcb_pad = 0; # 5560| } # 5561|-> xcb_block_len = 0; # 5562| # 5563| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5679:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5677| xcb_buffer_len += xcb_block_len + xcb_pad; # 5678| if (0 != xcb_pad) { # 5679|-> xcb_tmp += xcb_pad; # 5680| xcb_pad = 0; # 5681| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5680:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5678| if (0 != xcb_pad) { # 5679| xcb_tmp += xcb_pad; # 5680|-> xcb_pad = 0; # 5681| } # 5682| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5682:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5680| xcb_pad = 0; # 5681| } # 5682|-> xcb_block_len = 0; # 5683| # 5684| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5800:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5798| xcb_buffer_len += xcb_block_len + xcb_pad; # 5799| if (0 != xcb_pad) { # 5800|-> xcb_tmp += xcb_pad; # 5801| xcb_pad = 0; # 5802| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5801:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5799| if (0 != xcb_pad) { # 5800| xcb_tmp += xcb_pad; # 5801|-> xcb_pad = 0; # 5802| } # 5803| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5803:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5801| xcb_pad = 0; # 5802| } # 5803|-> xcb_block_len = 0; # 5804| # 5805| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5921:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5919| xcb_buffer_len += xcb_block_len + xcb_pad; # 5920| if (0 != xcb_pad) { # 5921|-> xcb_tmp += xcb_pad; # 5922| xcb_pad = 0; # 5923| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5922:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5920| if (0 != xcb_pad) { # 5921| xcb_tmp += xcb_pad; # 5922|-> xcb_pad = 0; # 5923| } # 5924| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:5924:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5922| xcb_pad = 0; # 5923| } # 5924|-> xcb_block_len = 0; # 5925| # 5926| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6038:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6036| xcb_buffer_len += xcb_block_len + xcb_pad; # 6037| if (0 != xcb_pad) { # 6038|-> xcb_tmp += xcb_pad; # 6039| xcb_pad = 0; # 6040| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6039:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6037| if (0 != xcb_pad) { # 6038| xcb_tmp += xcb_pad; # 6039|-> xcb_pad = 0; # 6040| } # 6041| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6041:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6039| xcb_pad = 0; # 6040| } # 6041|-> xcb_block_len = 0; # 6042| # 6043| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6155:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6153| xcb_buffer_len += xcb_block_len + xcb_pad; # 6154| if (0 != xcb_pad) { # 6155|-> xcb_tmp += xcb_pad; # 6156| xcb_pad = 0; # 6157| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6156:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6154| if (0 != xcb_pad) { # 6155| xcb_tmp += xcb_pad; # 6156|-> xcb_pad = 0; # 6157| } # 6158| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6158:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6156| xcb_pad = 0; # 6157| } # 6158|-> xcb_block_len = 0; # 6159| # 6160| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6272:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6270| xcb_buffer_len += xcb_block_len + xcb_pad; # 6271| if (0 != xcb_pad) { # 6272|-> xcb_tmp += xcb_pad; # 6273| xcb_pad = 0; # 6274| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6273:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6271| if (0 != xcb_pad) { # 6272| xcb_tmp += xcb_pad; # 6273|-> xcb_pad = 0; # 6274| } # 6275| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6275:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6273| xcb_pad = 0; # 6274| } # 6275|-> xcb_block_len = 0; # 6276| # 6277| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6389:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6387| xcb_buffer_len += xcb_block_len + xcb_pad; # 6388| if (0 != xcb_pad) { # 6389|-> xcb_tmp += xcb_pad; # 6390| xcb_pad = 0; # 6391| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6390:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6388| if (0 != xcb_pad) { # 6389| xcb_tmp += xcb_pad; # 6390|-> xcb_pad = 0; # 6391| } # 6392| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6392:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6390| xcb_pad = 0; # 6391| } # 6392|-> xcb_block_len = 0; # 6393| # 6394| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6506:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6504| xcb_buffer_len += xcb_block_len + xcb_pad; # 6505| if (0 != xcb_pad) { # 6506|-> xcb_tmp += xcb_pad; # 6507| xcb_pad = 0; # 6508| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6507:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6505| if (0 != xcb_pad) { # 6506| xcb_tmp += xcb_pad; # 6507|-> xcb_pad = 0; # 6508| } # 6509| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6509:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6507| xcb_pad = 0; # 6508| } # 6509|-> xcb_block_len = 0; # 6510| # 6511| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6627:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6625| xcb_buffer_len += xcb_block_len + xcb_pad; # 6626| if (0 != xcb_pad) { # 6627|-> xcb_tmp += xcb_pad; # 6628| xcb_pad = 0; # 6629| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6628:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6626| if (0 != xcb_pad) { # 6627| xcb_tmp += xcb_pad; # 6628|-> xcb_pad = 0; # 6629| } # 6630| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6630:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6628| xcb_pad = 0; # 6629| } # 6630|-> xcb_block_len = 0; # 6631| # 6632| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6748:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6746| xcb_buffer_len += xcb_block_len + xcb_pad; # 6747| if (0 != xcb_pad) { # 6748|-> xcb_tmp += xcb_pad; # 6749| xcb_pad = 0; # 6750| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6749:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6747| if (0 != xcb_pad) { # 6748| xcb_tmp += xcb_pad; # 6749|-> xcb_pad = 0; # 6750| } # 6751| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6751:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6749| xcb_pad = 0; # 6750| } # 6751|-> xcb_block_len = 0; # 6752| # 6753| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6869:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6867| xcb_buffer_len += xcb_block_len + xcb_pad; # 6868| if (0 != xcb_pad) { # 6869|-> xcb_tmp += xcb_pad; # 6870| xcb_pad = 0; # 6871| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6870:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6868| if (0 != xcb_pad) { # 6869| xcb_tmp += xcb_pad; # 6870|-> xcb_pad = 0; # 6871| } # 6872| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6872:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6870| xcb_pad = 0; # 6871| } # 6872|-> xcb_block_len = 0; # 6873| # 6874| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6990:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6988| xcb_buffer_len += xcb_block_len + xcb_pad; # 6989| if (0 != xcb_pad) { # 6990|-> xcb_tmp += xcb_pad; # 6991| xcb_pad = 0; # 6992| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6991:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6989| if (0 != xcb_pad) { # 6990| xcb_tmp += xcb_pad; # 6991|-> xcb_pad = 0; # 6992| } # 6993| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:6993:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6991| xcb_pad = 0; # 6992| } # 6993|-> xcb_block_len = 0; # 6994| # 6995| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7111:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7109| xcb_buffer_len += xcb_block_len + xcb_pad; # 7110| if (0 != xcb_pad) { # 7111|-> xcb_tmp += xcb_pad; # 7112| xcb_pad = 0; # 7113| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7112:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7110| if (0 != xcb_pad) { # 7111| xcb_tmp += xcb_pad; # 7112|-> xcb_pad = 0; # 7113| } # 7114| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7114:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7112| xcb_pad = 0; # 7113| } # 7114|-> xcb_block_len = 0; # 7115| # 7116| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7244:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7242| xcb_buffer_len += xcb_block_len + xcb_pad; # 7243| if (0 != xcb_pad) { # 7244|-> xcb_tmp += xcb_pad; # 7245| xcb_pad = 0; # 7246| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7245:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7243| if (0 != xcb_pad) { # 7244| xcb_tmp += xcb_pad; # 7245|-> xcb_pad = 0; # 7246| } # 7247| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7247:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7245| xcb_pad = 0; # 7246| } # 7247|-> xcb_block_len = 0; # 7248| # 7249| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7365:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7363| xcb_buffer_len += xcb_block_len + xcb_pad; # 7364| if (0 != xcb_pad) { # 7365|-> xcb_tmp += xcb_pad; # 7366| xcb_pad = 0; # 7367| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7366:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7364| if (0 != xcb_pad) { # 7365| xcb_tmp += xcb_pad; # 7366|-> xcb_pad = 0; # 7367| } # 7368| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7368:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7366| xcb_pad = 0; # 7367| } # 7368|-> xcb_block_len = 0; # 7369| # 7370| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7486:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7484| xcb_buffer_len += xcb_block_len + xcb_pad; # 7485| if (0 != xcb_pad) { # 7486|-> xcb_tmp += xcb_pad; # 7487| xcb_pad = 0; # 7488| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7487:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7485| if (0 != xcb_pad) { # 7486| xcb_tmp += xcb_pad; # 7487|-> xcb_pad = 0; # 7488| } # 7489| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7489:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7487| xcb_pad = 0; # 7488| } # 7489|-> xcb_block_len = 0; # 7490| # 7491| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7611:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7609| xcb_buffer_len += xcb_block_len + xcb_pad; # 7610| if (0 != xcb_pad) { # 7611|-> xcb_tmp += xcb_pad; # 7612| xcb_pad = 0; # 7613| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7612:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7610| if (0 != xcb_pad) { # 7611| xcb_tmp += xcb_pad; # 7612|-> xcb_pad = 0; # 7613| } # 7614| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7614:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7612| xcb_pad = 0; # 7613| } # 7614|-> xcb_block_len = 0; # 7615| # 7616| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7916:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7914| xcb_buffer_len += xcb_block_len + xcb_pad; # 7915| if (0 != xcb_pad) { # 7916|-> xcb_tmp += xcb_pad; # 7917| xcb_pad = 0; # 7918| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7917:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7915| if (0 != xcb_pad) { # 7916| xcb_tmp += xcb_pad; # 7917|-> xcb_pad = 0; # 7918| } # 7919| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:7919:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7917| xcb_pad = 0; # 7918| } # 7919|-> xcb_block_len = 0; # 7920| # 7921| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8045:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8043| xcb_buffer_len += xcb_block_len + xcb_pad; # 8044| if (0 != xcb_pad) { # 8045|-> xcb_tmp += xcb_pad; # 8046| xcb_pad = 0; # 8047| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8046:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8044| if (0 != xcb_pad) { # 8045| xcb_tmp += xcb_pad; # 8046|-> xcb_pad = 0; # 8047| } # 8048| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8048:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8046| xcb_pad = 0; # 8047| } # 8048|-> xcb_block_len = 0; # 8049| # 8050| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8166:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8164| xcb_buffer_len += xcb_block_len + xcb_pad; # 8165| if (0 != xcb_pad) { # 8166|-> xcb_tmp += xcb_pad; # 8167| xcb_pad = 0; # 8168| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8167:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8165| if (0 != xcb_pad) { # 8166| xcb_tmp += xcb_pad; # 8167|-> xcb_pad = 0; # 8168| } # 8169| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8169:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8167| xcb_pad = 0; # 8168| } # 8169|-> xcb_block_len = 0; # 8170| # 8171| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8347:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8345| xcb_buffer_len += xcb_block_len + xcb_pad; # 8346| if (0 != xcb_pad) { # 8347|-> xcb_tmp += xcb_pad; # 8348| xcb_pad = 0; # 8349| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8348:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8346| if (0 != xcb_pad) { # 8347| xcb_tmp += xcb_pad; # 8348|-> xcb_pad = 0; # 8349| } # 8350| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8350:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8348| xcb_pad = 0; # 8349| } # 8350|-> xcb_block_len = 0; # 8351| # 8352| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8476:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8474| xcb_buffer_len += xcb_block_len + xcb_pad; # 8475| if (0 != xcb_pad) { # 8476|-> xcb_tmp += xcb_pad; # 8477| xcb_pad = 0; # 8478| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8477:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8475| if (0 != xcb_pad) { # 8476| xcb_tmp += xcb_pad; # 8477|-> xcb_pad = 0; # 8478| } # 8479| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8479:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8477| xcb_pad = 0; # 8478| } # 8479|-> xcb_block_len = 0; # 8480| # 8481| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8597:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8595| xcb_buffer_len += xcb_block_len + xcb_pad; # 8596| if (0 != xcb_pad) { # 8597|-> xcb_tmp += xcb_pad; # 8598| xcb_pad = 0; # 8599| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8598:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8596| if (0 != xcb_pad) { # 8597| xcb_tmp += xcb_pad; # 8598|-> xcb_pad = 0; # 8599| } # 8600| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8600:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8598| xcb_pad = 0; # 8599| } # 8600|-> xcb_block_len = 0; # 8601| # 8602| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8718:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8716| xcb_buffer_len += xcb_block_len + xcb_pad; # 8717| if (0 != xcb_pad) { # 8718|-> xcb_tmp += xcb_pad; # 8719| xcb_pad = 0; # 8720| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8719:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8717| if (0 != xcb_pad) { # 8718| xcb_tmp += xcb_pad; # 8719|-> xcb_pad = 0; # 8720| } # 8721| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8721:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8719| xcb_pad = 0; # 8720| } # 8721|-> xcb_block_len = 0; # 8722| # 8723| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8847:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8845| xcb_buffer_len += xcb_block_len + xcb_pad; # 8846| if (0 != xcb_pad) { # 8847|-> xcb_tmp += xcb_pad; # 8848| xcb_pad = 0; # 8849| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8848:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8846| if (0 != xcb_pad) { # 8847| xcb_tmp += xcb_pad; # 8848|-> xcb_pad = 0; # 8849| } # 8850| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8850:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8848| xcb_pad = 0; # 8849| } # 8850|-> xcb_block_len = 0; # 8851| # 8852| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8968:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8966| xcb_buffer_len += xcb_block_len + xcb_pad; # 8967| if (0 != xcb_pad) { # 8968|-> xcb_tmp += xcb_pad; # 8969| xcb_pad = 0; # 8970| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8969:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8967| if (0 != xcb_pad) { # 8968| xcb_tmp += xcb_pad; # 8969|-> xcb_pad = 0; # 8970| } # 8971| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:8971:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8969| xcb_pad = 0; # 8970| } # 8971|-> xcb_block_len = 0; # 8972| # 8973| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9089:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9087| xcb_buffer_len += xcb_block_len + xcb_pad; # 9088| if (0 != xcb_pad) { # 9089|-> xcb_tmp += xcb_pad; # 9090| xcb_pad = 0; # 9091| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9090:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9088| if (0 != xcb_pad) { # 9089| xcb_tmp += xcb_pad; # 9090|-> xcb_pad = 0; # 9091| } # 9092| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9092:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9090| xcb_pad = 0; # 9091| } # 9092|-> xcb_block_len = 0; # 9093| # 9094| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9218:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9216| xcb_buffer_len += xcb_block_len + xcb_pad; # 9217| if (0 != xcb_pad) { # 9218|-> xcb_tmp += xcb_pad; # 9219| xcb_pad = 0; # 9220| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9219:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9217| if (0 != xcb_pad) { # 9218| xcb_tmp += xcb_pad; # 9219|-> xcb_pad = 0; # 9220| } # 9221| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9221:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9219| xcb_pad = 0; # 9220| } # 9221|-> xcb_block_len = 0; # 9222| # 9223| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9351:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9349| xcb_buffer_len += xcb_block_len + xcb_pad; # 9350| if (0 != xcb_pad) { # 9351|-> xcb_tmp += xcb_pad; # 9352| xcb_pad = 0; # 9353| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9352:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9350| if (0 != xcb_pad) { # 9351| xcb_tmp += xcb_pad; # 9352|-> xcb_pad = 0; # 9353| } # 9354| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9354:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9352| xcb_pad = 0; # 9353| } # 9354|-> xcb_block_len = 0; # 9355| # 9356| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9472:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9470| xcb_buffer_len += xcb_block_len + xcb_pad; # 9471| if (0 != xcb_pad) { # 9472|-> xcb_tmp += xcb_pad; # 9473| xcb_pad = 0; # 9474| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9473:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9471| if (0 != xcb_pad) { # 9472| xcb_tmp += xcb_pad; # 9473|-> xcb_pad = 0; # 9474| } # 9475| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9475:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9473| xcb_pad = 0; # 9474| } # 9475|-> xcb_block_len = 0; # 9476| # 9477| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9593:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9591| xcb_buffer_len += xcb_block_len + xcb_pad; # 9592| if (0 != xcb_pad) { # 9593|-> xcb_tmp += xcb_pad; # 9594| xcb_pad = 0; # 9595| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9594:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9592| if (0 != xcb_pad) { # 9593| xcb_tmp += xcb_pad; # 9594|-> xcb_pad = 0; # 9595| } # 9596| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9596:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9594| xcb_pad = 0; # 9595| } # 9596|-> xcb_block_len = 0; # 9597| # 9598| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9726:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9724| xcb_buffer_len += xcb_block_len + xcb_pad; # 9725| if (0 != xcb_pad) { # 9726|-> xcb_tmp += xcb_pad; # 9727| xcb_pad = 0; # 9728| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9727:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9725| if (0 != xcb_pad) { # 9726| xcb_tmp += xcb_pad; # 9727|-> xcb_pad = 0; # 9728| } # 9729| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9729:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9727| xcb_pad = 0; # 9728| } # 9729|-> xcb_block_len = 0; # 9730| # 9731| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9847:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9845| xcb_buffer_len += xcb_block_len + xcb_pad; # 9846| if (0 != xcb_pad) { # 9847|-> xcb_tmp += xcb_pad; # 9848| xcb_pad = 0; # 9849| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9848:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9846| if (0 != xcb_pad) { # 9847| xcb_tmp += xcb_pad; # 9848|-> xcb_pad = 0; # 9849| } # 9850| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9850:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9848| xcb_pad = 0; # 9849| } # 9850|-> xcb_block_len = 0; # 9851| # 9852| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9968:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9966| xcb_buffer_len += xcb_block_len + xcb_pad; # 9967| if (0 != xcb_pad) { # 9968|-> xcb_tmp += xcb_pad; # 9969| xcb_pad = 0; # 9970| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9969:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9967| if (0 != xcb_pad) { # 9968| xcb_tmp += xcb_pad; # 9969|-> xcb_pad = 0; # 9970| } # 9971| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:9971:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9969| xcb_pad = 0; # 9970| } # 9971|-> xcb_block_len = 0; # 9972| # 9973| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10089:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #10087| xcb_buffer_len += xcb_block_len + xcb_pad; #10088| if (0 != xcb_pad) { #10089|-> xcb_tmp += xcb_pad; #10090| xcb_pad = 0; #10091| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10090:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10088| if (0 != xcb_pad) { #10089| xcb_tmp += xcb_pad; #10090|-> xcb_pad = 0; #10091| } #10092| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10092:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #10090| xcb_pad = 0; #10091| } #10092|-> xcb_block_len = 0; #10093| #10094| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10210:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #10208| xcb_buffer_len += xcb_block_len + xcb_pad; #10209| if (0 != xcb_pad) { #10210|-> xcb_tmp += xcb_pad; #10211| xcb_pad = 0; #10212| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10211:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10209| if (0 != xcb_pad) { #10210| xcb_tmp += xcb_pad; #10211|-> xcb_pad = 0; #10212| } #10213| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10213:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #10211| xcb_pad = 0; #10212| } #10213|-> xcb_block_len = 0; #10214| #10215| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10391:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #10389| xcb_buffer_len += xcb_block_len + xcb_pad; #10390| if (0 != xcb_pad) { #10391|-> xcb_tmp += xcb_pad; #10392| xcb_pad = 0; #10393| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10392:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10390| if (0 != xcb_pad) { #10391| xcb_tmp += xcb_pad; #10392|-> xcb_pad = 0; #10393| } #10394| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10394:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #10392| xcb_pad = 0; #10393| } #10394|-> xcb_block_len = 0; #10395| #10396| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10512:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #10510| xcb_buffer_len += xcb_block_len + xcb_pad; #10511| if (0 != xcb_pad) { #10512|-> xcb_tmp += xcb_pad; #10513| xcb_pad = 0; #10514| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10513:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10511| if (0 != xcb_pad) { #10512| xcb_tmp += xcb_pad; #10513|-> xcb_pad = 0; #10514| } #10515| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10515:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #10513| xcb_pad = 0; #10514| } #10515|-> xcb_block_len = 0; #10516| #10517| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10633:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #10631| xcb_buffer_len += xcb_block_len + xcb_pad; #10632| if (0 != xcb_pad) { #10633|-> xcb_tmp += xcb_pad; #10634| xcb_pad = 0; #10635| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10634:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10632| if (0 != xcb_pad) { #10633| xcb_tmp += xcb_pad; #10634|-> xcb_pad = 0; #10635| } #10636| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/glx.c:10636:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #10634| xcb_pad = 0; #10635| } #10636|-> xcb_block_len = 0; #10637| #10638| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/present.c:130:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 128| xcb_buffer_len += xcb_block_len + xcb_pad; # 129| if (0 != xcb_pad) { # 130|-> xcb_tmp += xcb_pad; # 131| xcb_pad = 0; # 132| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/present.c:131:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 129| if (0 != xcb_pad) { # 130| xcb_tmp += xcb_pad; # 131|-> xcb_pad = 0; # 132| } # 133| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/present.c:133:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 131| xcb_pad = 0; # 132| } # 133|-> xcb_block_len = 0; # 134| # 135| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/present.c:511:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 509| xcb_buffer_len += xcb_block_len + xcb_pad; # 510| if (0 != xcb_pad) { # 511|-> xcb_tmp += xcb_pad; # 512| xcb_pad = 0; # 513| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/present.c:512:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 510| if (0 != xcb_pad) { # 511| xcb_tmp += xcb_pad; # 512|-> xcb_pad = 0; # 513| } # 514| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/present.c:514:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 512| xcb_pad = 0; # 513| } # 514|-> xcb_block_len = 0; # 515| # 516| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/present.c:692:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 690| xcb_buffer_len += xcb_block_len + xcb_pad; # 691| if (0 != xcb_pad) { # 692|-> xcb_tmp += xcb_pad; # 693| xcb_pad = 0; # 694| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/present.c:693:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 691| if (0 != xcb_pad) { # 692| xcb_tmp += xcb_pad; # 693|-> xcb_pad = 0; # 694| } # 695| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/present.c:695:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 693| xcb_pad = 0; # 694| } # 695|-> xcb_block_len = 0; # 696| # 697| return xcb_buffer_len; Error: CPPCHECK_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:153:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 151| xcb_buffer_len += xcb_block_len + xcb_pad; # 152| if (0 != xcb_pad) { # 153|-> xcb_tmp += xcb_pad; # 154| xcb_pad = 0; # 155| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:154:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 152| if (0 != xcb_pad) { # 153| xcb_tmp += xcb_pad; # 154|-> xcb_pad = 0; # 155| } # 156| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:156:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 154| xcb_pad = 0; # 155| } # 156|-> xcb_block_len = 0; # 157| # 158| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:436:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 434| if (0 != xcb_pad) { # 435| xcb_tmp += xcb_pad; # 436|-> xcb_pad = 0; # 437| } # 438| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:450:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 448| xcb_buffer_len += xcb_block_len + xcb_pad; # 449| if (0 != xcb_pad) { # 450|-> xcb_tmp += xcb_pad; # 451| xcb_pad = 0; # 452| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:451:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 449| if (0 != xcb_pad) { # 450| xcb_tmp += xcb_pad; # 451|-> xcb_pad = 0; # 452| } # 453| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:453:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 451| xcb_pad = 0; # 452| } # 453|-> xcb_block_len = 0; # 454| # 455| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:727:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 725| if (0 != xcb_pad) { # 726| xcb_tmp += xcb_pad; # 727|-> xcb_pad = 0; # 728| } # 729| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:739:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 737| if (0 != xcb_pad) { # 738| xcb_tmp += xcb_pad; # 739|-> xcb_pad = 0; # 740| } # 741| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:751:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 749| if (0 != xcb_pad) { # 750| xcb_tmp += xcb_pad; # 751|-> xcb_pad = 0; # 752| } # 753| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:762:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 760| xcb_buffer_len += xcb_block_len + xcb_pad; # 761| if (0 != xcb_pad) { # 762|-> xcb_tmp += xcb_pad; # 763| xcb_pad = 0; # 764| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:763:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 761| if (0 != xcb_pad) { # 762| xcb_tmp += xcb_pad; # 763|-> xcb_pad = 0; # 764| } # 765| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:765:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 763| xcb_pad = 0; # 764| } # 765|-> xcb_block_len = 0; # 766| # 767| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:948:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 946| if (0 != xcb_pad) { # 947| xcb_tmp += xcb_pad; # 948|-> xcb_pad = 0; # 949| } # 950| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:960:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 958| if (0 != xcb_pad) { # 959| xcb_tmp += xcb_pad; # 960|-> xcb_pad = 0; # 961| } # 962| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:972:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 970| if (0 != xcb_pad) { # 971| xcb_tmp += xcb_pad; # 972|-> xcb_pad = 0; # 973| } # 974| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:983:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 981| xcb_buffer_len += xcb_block_len + xcb_pad; # 982| if (0 != xcb_pad) { # 983|-> xcb_tmp += xcb_pad; # 984| xcb_pad = 0; # 985| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:984:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 982| if (0 != xcb_pad) { # 983| xcb_tmp += xcb_pad; # 984|-> xcb_pad = 0; # 985| } # 986| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:986:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 984| xcb_pad = 0; # 985| } # 986|-> xcb_block_len = 0; # 987| # 988| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1172:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1170| xcb_buffer_len += xcb_block_len + xcb_pad; # 1171| if (0 != xcb_pad) { # 1172|-> xcb_tmp += xcb_pad; # 1173| xcb_pad = 0; # 1174| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1173:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1171| if (0 != xcb_pad) { # 1172| xcb_tmp += xcb_pad; # 1173|-> xcb_pad = 0; # 1174| } # 1175| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1175:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1173| xcb_pad = 0; # 1174| } # 1175|-> xcb_block_len = 0; # 1176| # 1177| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1285:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1283| xcb_buffer_len += xcb_block_len + xcb_pad; # 1284| if (0 != xcb_pad) { # 1285|-> xcb_tmp += xcb_pad; # 1286| xcb_pad = 0; # 1287| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1286:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1284| if (0 != xcb_pad) { # 1285| xcb_tmp += xcb_pad; # 1286|-> xcb_pad = 0; # 1287| } # 1288| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1288:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1286| xcb_pad = 0; # 1287| } # 1288|-> xcb_block_len = 0; # 1289| # 1290| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1402:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1400| xcb_buffer_len += xcb_block_len + xcb_pad; # 1401| if (0 != xcb_pad) { # 1402|-> xcb_tmp += xcb_pad; # 1403| xcb_pad = 0; # 1404| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1403:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1401| if (0 != xcb_pad) { # 1402| xcb_tmp += xcb_pad; # 1403|-> xcb_pad = 0; # 1404| } # 1405| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1405:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1403| xcb_pad = 0; # 1404| } # 1405|-> xcb_block_len = 0; # 1406| # 1407| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1535:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1533| xcb_buffer_len += xcb_block_len + xcb_pad; # 1534| if (0 != xcb_pad) { # 1535|-> xcb_tmp += xcb_pad; # 1536| xcb_pad = 0; # 1537| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1536:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1534| if (0 != xcb_pad) { # 1535| xcb_tmp += xcb_pad; # 1536|-> xcb_pad = 0; # 1537| } # 1538| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1538:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1536| xcb_pad = 0; # 1537| } # 1538|-> xcb_block_len = 0; # 1539| # 1540| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1730:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1728| xcb_buffer_len += xcb_block_len + xcb_pad; # 1729| if (0 != xcb_pad) { # 1730|-> xcb_tmp += xcb_pad; # 1731| xcb_pad = 0; # 1732| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1731:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1729| if (0 != xcb_pad) { # 1730| xcb_tmp += xcb_pad; # 1731|-> xcb_pad = 0; # 1732| } # 1733| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1733:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1731| xcb_pad = 0; # 1732| } # 1733|-> xcb_block_len = 0; # 1734| # 1735| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1869:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1867| xcb_buffer_len += xcb_block_len + xcb_pad; # 1868| if (0 != xcb_pad) { # 1869|-> xcb_tmp += xcb_pad; # 1870| xcb_pad = 0; # 1871| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1870:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1868| if (0 != xcb_pad) { # 1869| xcb_tmp += xcb_pad; # 1870|-> xcb_pad = 0; # 1871| } # 1872| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:1872:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1870| xcb_pad = 0; # 1871| } # 1872|-> xcb_block_len = 0; # 1873| # 1874| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2143:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2141| if (0 != xcb_pad) { # 2142| xcb_tmp += xcb_pad; # 2143|-> xcb_pad = 0; # 2144| } # 2145| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2154:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2152| xcb_buffer_len += xcb_block_len + xcb_pad; # 2153| if (0 != xcb_pad) { # 2154|-> xcb_tmp += xcb_pad; # 2155| xcb_pad = 0; # 2156| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2155:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2153| if (0 != xcb_pad) { # 2154| xcb_tmp += xcb_pad; # 2155|-> xcb_pad = 0; # 2156| } # 2157| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2157:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2155| xcb_pad = 0; # 2156| } # 2157|-> xcb_block_len = 0; # 2158| # 2159| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2295:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2293| xcb_buffer_len += xcb_block_len + xcb_pad; # 2294| if (0 != xcb_pad) { # 2295|-> xcb_tmp += xcb_pad; # 2296| xcb_pad = 0; # 2297| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2296:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2294| if (0 != xcb_pad) { # 2295| xcb_tmp += xcb_pad; # 2296|-> xcb_pad = 0; # 2297| } # 2298| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2298:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2296| xcb_pad = 0; # 2297| } # 2298|-> xcb_block_len = 0; # 2299| # 2300| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2487:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2485| if (0 != xcb_pad) { # 2486| xcb_tmp += xcb_pad; # 2487|-> xcb_pad = 0; # 2488| } # 2489| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2499:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2497| if (0 != xcb_pad) { # 2498| xcb_tmp += xcb_pad; # 2499|-> xcb_pad = 0; # 2500| } # 2501| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2510:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2508| xcb_buffer_len += xcb_block_len + xcb_pad; # 2509| if (0 != xcb_pad) { # 2510|-> xcb_tmp += xcb_pad; # 2511| xcb_pad = 0; # 2512| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2511:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2509| if (0 != xcb_pad) { # 2510| xcb_tmp += xcb_pad; # 2511|-> xcb_pad = 0; # 2512| } # 2513| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2513:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2511| xcb_pad = 0; # 2512| } # 2513|-> xcb_block_len = 0; # 2514| # 2515| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2672:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2670| if (0 != xcb_pad) { # 2671| xcb_tmp += xcb_pad; # 2672|-> xcb_pad = 0; # 2673| } # 2674| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2684:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2682| if (0 != xcb_pad) { # 2683| xcb_tmp += xcb_pad; # 2684|-> xcb_pad = 0; # 2685| } # 2686| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2695:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2693| xcb_buffer_len += xcb_block_len + xcb_pad; # 2694| if (0 != xcb_pad) { # 2695|-> xcb_tmp += xcb_pad; # 2696| xcb_pad = 0; # 2697| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2696:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2694| if (0 != xcb_pad) { # 2695| xcb_tmp += xcb_pad; # 2696|-> xcb_pad = 0; # 2697| } # 2698| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2698:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2696| xcb_pad = 0; # 2697| } # 2698|-> xcb_block_len = 0; # 2699| # 2700| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2891:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2889| if (0 != xcb_pad) { # 2890| xcb_tmp += xcb_pad; # 2891|-> xcb_pad = 0; # 2892| } # 2893| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2903:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2901| if (0 != xcb_pad) { # 2902| xcb_tmp += xcb_pad; # 2903|-> xcb_pad = 0; # 2904| } # 2905| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2915:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2913| if (0 != xcb_pad) { # 2914| xcb_tmp += xcb_pad; # 2915|-> xcb_pad = 0; # 2916| } # 2917| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2926:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2924| xcb_buffer_len += xcb_block_len + xcb_pad; # 2925| if (0 != xcb_pad) { # 2926|-> xcb_tmp += xcb_pad; # 2927| xcb_pad = 0; # 2928| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2927:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2925| if (0 != xcb_pad) { # 2926| xcb_tmp += xcb_pad; # 2927|-> xcb_pad = 0; # 2928| } # 2929| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:2929:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2927| xcb_pad = 0; # 2928| } # 2929|-> xcb_block_len = 0; # 2930| # 2931| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3107:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3105| xcb_block_len += _aux->filter_len * sizeof(char); # 3106| xcb_tmp += xcb_block_len; # 3107|-> xcb_align_to = ALIGNOF(char); # 3108| xcb_align_to = 4; # 3109| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3114:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3112| if (0 != xcb_pad) { # 3113| xcb_tmp += xcb_pad; # 3114|-> xcb_pad = 0; # 3115| } # 3116| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3122:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3120| if (0 != xcb_pad) { # 3121| xcb_tmp += xcb_pad; # 3122|-> xcb_pad = 0; # 3123| } # 3124| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3133:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3131| xcb_buffer_len += xcb_block_len + xcb_pad; # 3132| if (0 != xcb_pad) { # 3133|-> xcb_tmp += xcb_pad; # 3134| xcb_pad = 0; # 3135| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3134:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3132| if (0 != xcb_pad) { # 3133| xcb_tmp += xcb_pad; # 3134|-> xcb_pad = 0; # 3135| } # 3136| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3136:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3134| xcb_pad = 0; # 3135| } # 3136|-> xcb_block_len = 0; # 3137| # 3138| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3293:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3291| xcb_block_len += _aux->pending_len * sizeof(char); # 3292| xcb_tmp += xcb_block_len; # 3293|-> xcb_align_to = ALIGNOF(char); # 3294| xcb_align_to = 4; # 3295| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3300:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3298| if (0 != xcb_pad) { # 3299| xcb_tmp += xcb_pad; # 3300|-> xcb_pad = 0; # 3301| } # 3302| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3308:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3306| if (0 != xcb_pad) { # 3307| xcb_tmp += xcb_pad; # 3308|-> xcb_pad = 0; # 3309| } # 3310| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3320:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3318| if (0 != xcb_pad) { # 3319| xcb_tmp += xcb_pad; # 3320|-> xcb_pad = 0; # 3321| } # 3322| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3326:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3324| xcb_block_len += _aux->current_len * sizeof(char); # 3325| xcb_tmp += xcb_block_len; # 3326|-> xcb_align_to = ALIGNOF(char); # 3327| xcb_align_to = 4; # 3328| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3333:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3331| if (0 != xcb_pad) { # 3332| xcb_tmp += xcb_pad; # 3333|-> xcb_pad = 0; # 3334| } # 3335| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3341:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3339| if (0 != xcb_pad) { # 3340| xcb_tmp += xcb_pad; # 3341|-> xcb_pad = 0; # 3342| } # 3343| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3352:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3350| xcb_buffer_len += xcb_block_len + xcb_pad; # 3351| if (0 != xcb_pad) { # 3352|-> xcb_tmp += xcb_pad; # 3353| xcb_pad = 0; # 3354| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3353:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3351| if (0 != xcb_pad) { # 3352| xcb_tmp += xcb_pad; # 3353|-> xcb_pad = 0; # 3354| } # 3355| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3355:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3353| xcb_pad = 0; # 3354| } # 3355|-> xcb_block_len = 0; # 3356| # 3357| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3825:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3823| xcb_buffer_len += xcb_block_len + xcb_pad; # 3824| if (0 != xcb_pad) { # 3825|-> xcb_tmp += xcb_pad; # 3826| xcb_pad = 0; # 3827| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3826:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3824| if (0 != xcb_pad) { # 3825| xcb_tmp += xcb_pad; # 3826|-> xcb_pad = 0; # 3827| } # 3828| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3828:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3826| xcb_pad = 0; # 3827| } # 3828|-> xcb_block_len = 0; # 3829| # 3830| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3939:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3937| if (0 != xcb_pad) { # 3938| xcb_tmp += xcb_pad; # 3939|-> xcb_pad = 0; # 3940| } # 3941| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3951:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3949| if (0 != xcb_pad) { # 3950| xcb_tmp += xcb_pad; # 3951|-> xcb_pad = 0; # 3952| } # 3953| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3963:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3961| if (0 != xcb_pad) { # 3962| xcb_tmp += xcb_pad; # 3963|-> xcb_pad = 0; # 3964| } # 3965| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3975:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3973| if (0 != xcb_pad) { # 3974| xcb_tmp += xcb_pad; # 3975|-> xcb_pad = 0; # 3976| } # 3977| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3986:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3984| xcb_buffer_len += xcb_block_len + xcb_pad; # 3985| if (0 != xcb_pad) { # 3986|-> xcb_tmp += xcb_pad; # 3987| xcb_pad = 0; # 3988| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3987:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3985| if (0 != xcb_pad) { # 3986| xcb_tmp += xcb_pad; # 3987|-> xcb_pad = 0; # 3988| } # 3989| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:3989:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3987| xcb_pad = 0; # 3988| } # 3989|-> xcb_block_len = 0; # 3990| # 3991| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4319:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4317| xcb_buffer_len += xcb_block_len + xcb_pad; # 4318| if (0 != xcb_pad) { # 4319|-> xcb_tmp += xcb_pad; # 4320| xcb_pad = 0; # 4321| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4320:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4318| if (0 != xcb_pad) { # 4319| xcb_tmp += xcb_pad; # 4320|-> xcb_pad = 0; # 4321| } # 4322| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4322:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4320| xcb_pad = 0; # 4321| } # 4322|-> xcb_block_len = 0; # 4323| # 4324| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4432:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4430| xcb_buffer_len += xcb_block_len + xcb_pad; # 4431| if (0 != xcb_pad) { # 4432|-> xcb_tmp += xcb_pad; # 4433| xcb_pad = 0; # 4434| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4433:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4431| if (0 != xcb_pad) { # 4432| xcb_tmp += xcb_pad; # 4433|-> xcb_pad = 0; # 4434| } # 4435| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4435:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4433| xcb_pad = 0; # 4434| } # 4435|-> xcb_block_len = 0; # 4436| # 4437| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4549:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4547| xcb_buffer_len += xcb_block_len + xcb_pad; # 4548| if (0 != xcb_pad) { # 4549|-> xcb_tmp += xcb_pad; # 4550| xcb_pad = 0; # 4551| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4550:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4548| if (0 != xcb_pad) { # 4549| xcb_tmp += xcb_pad; # 4550|-> xcb_pad = 0; # 4551| } # 4552| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4552:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4550| xcb_pad = 0; # 4551| } # 4552|-> xcb_block_len = 0; # 4553| # 4554| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4682:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4680| xcb_buffer_len += xcb_block_len + xcb_pad; # 4681| if (0 != xcb_pad) { # 4682|-> xcb_tmp += xcb_pad; # 4683| xcb_pad = 0; # 4684| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4683:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4681| if (0 != xcb_pad) { # 4682| xcb_tmp += xcb_pad; # 4683|-> xcb_pad = 0; # 4684| } # 4685| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4685:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4683| xcb_pad = 0; # 4684| } # 4685|-> xcb_block_len = 0; # 4686| # 4687| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4877:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4875| xcb_buffer_len += xcb_block_len + xcb_pad; # 4876| if (0 != xcb_pad) { # 4877|-> xcb_tmp += xcb_pad; # 4878| xcb_pad = 0; # 4879| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4878:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4876| if (0 != xcb_pad) { # 4877| xcb_tmp += xcb_pad; # 4878|-> xcb_pad = 0; # 4879| } # 4880| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:4880:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4878| xcb_pad = 0; # 4879| } # 4880|-> xcb_block_len = 0; # 4881| # 4882| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5124:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5122| xcb_buffer_len += xcb_block_len + xcb_pad; # 5123| if (0 != xcb_pad) { # 5124|-> xcb_tmp += xcb_pad; # 5125| xcb_pad = 0; # 5126| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5125:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5123| if (0 != xcb_pad) { # 5124| xcb_tmp += xcb_pad; # 5125|-> xcb_pad = 0; # 5126| } # 5127| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5127:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5125| xcb_pad = 0; # 5126| } # 5127|-> xcb_block_len = 0; # 5128| # 5129| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5205:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5203| xcb_buffer_len += xcb_block_len + xcb_pad; # 5204| if (0 != xcb_pad) { # 5205|-> xcb_tmp += xcb_pad; # 5206| xcb_pad = 0; # 5207| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5206:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5204| if (0 != xcb_pad) { # 5205| xcb_tmp += xcb_pad; # 5206|-> xcb_pad = 0; # 5207| } # 5208| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5208:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5206| xcb_pad = 0; # 5207| } # 5208|-> xcb_block_len = 0; # 5209| # 5210| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5315:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5313| xcb_buffer_len += xcb_block_len + xcb_pad; # 5314| if (0 != xcb_pad) { # 5315|-> xcb_tmp += xcb_pad; # 5316| xcb_pad = 0; # 5317| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5316:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5314| if (0 != xcb_pad) { # 5315| xcb_tmp += xcb_pad; # 5316|-> xcb_pad = 0; # 5317| } # 5318| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5318:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5316| xcb_pad = 0; # 5317| } # 5318|-> xcb_block_len = 0; # 5319| # 5320| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5471:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5469| if (0 != xcb_pad) { # 5470| xcb_tmp += xcb_pad; # 5471|-> xcb_pad = 0; # 5472| } # 5473| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5482:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5480| xcb_buffer_len += xcb_block_len + xcb_pad; # 5481| if (0 != xcb_pad) { # 5482|-> xcb_tmp += xcb_pad; # 5483| xcb_pad = 0; # 5484| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5483:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5481| if (0 != xcb_pad) { # 5482| xcb_tmp += xcb_pad; # 5483|-> xcb_pad = 0; # 5484| } # 5485| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/randr.c:5485:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5483| xcb_pad = 0; # 5484| } # 5485|-> xcb_block_len = 0; # 5486| # 5487| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:169:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 167| xcb_buffer_len += xcb_block_len + xcb_pad; # 168| if (0 != xcb_pad) { # 169|-> xcb_tmp += xcb_pad; # 170| xcb_pad = 0; # 171| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:170:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 168| if (0 != xcb_pad) { # 169| xcb_tmp += xcb_pad; # 170|-> xcb_pad = 0; # 171| } # 172| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:172:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 170| xcb_pad = 0; # 171| } # 172|-> xcb_block_len = 0; # 173| # 174| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:310:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 308| if (0 != xcb_pad) { # 309| xcb_tmp += xcb_pad; # 310|-> xcb_pad = 0; # 311| } # 312| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:321:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 319| xcb_buffer_len += xcb_block_len + xcb_pad; # 320| if (0 != xcb_pad) { # 321|-> xcb_tmp += xcb_pad; # 322| xcb_pad = 0; # 323| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:322:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 320| if (0 != xcb_pad) { # 321| xcb_tmp += xcb_pad; # 322|-> xcb_pad = 0; # 323| } # 324| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:324:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 322| xcb_pad = 0; # 323| } # 324|-> xcb_block_len = 0; # 325| # 326| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:489:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 487| if (0 != xcb_pad) { # 488| xcb_tmp += xcb_pad; # 489|-> xcb_pad = 0; # 490| } # 491| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:500:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 498| xcb_buffer_len += xcb_block_len + xcb_pad; # 499| if (0 != xcb_pad) { # 500|-> xcb_tmp += xcb_pad; # 501| xcb_pad = 0; # 502| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:501:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 499| if (0 != xcb_pad) { # 500| xcb_tmp += xcb_pad; # 501|-> xcb_pad = 0; # 502| } # 503| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:503:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 501| xcb_pad = 0; # 502| } # 503|-> xcb_block_len = 0; # 504| # 505| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:667:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 665| xcb_buffer_len += xcb_block_len + xcb_pad; # 666| if (0 != xcb_pad) { # 667|-> xcb_tmp += xcb_pad; # 668| xcb_pad = 0; # 669| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:668:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 666| if (0 != xcb_pad) { # 667| xcb_tmp += xcb_pad; # 668|-> xcb_pad = 0; # 669| } # 670| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:670:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 668| xcb_pad = 0; # 669| } # 670|-> xcb_block_len = 0; # 671| # 672| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:793:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 791| xcb_buffer_len += xcb_block_len + xcb_pad; # 792| if (0 != xcb_pad) { # 793|-> xcb_tmp += xcb_pad; # 794| xcb_pad = 0; # 795| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:794:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 792| if (0 != xcb_pad) { # 793| xcb_tmp += xcb_pad; # 794|-> xcb_pad = 0; # 795| } # 796| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:796:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 794| xcb_pad = 0; # 795| } # 796|-> xcb_block_len = 0; # 797| # 798| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:900:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 898| xcb_buffer_len += xcb_block_len + xcb_pad; # 899| if (0 != xcb_pad) { # 900|-> xcb_tmp += xcb_pad; # 901| xcb_pad = 0; # 902| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:901:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 899| if (0 != xcb_pad) { # 900| xcb_tmp += xcb_pad; # 901|-> xcb_pad = 0; # 902| } # 903| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/record.c:903:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 901| xcb_pad = 0; # 902| } # 903|-> xcb_block_len = 0; # 904| # 905| return xcb_buffer_len; Error: CPPCHECK_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/render.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/render.c: scope_hint: In function 'xcb_render_create_picture_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/render.c:941:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 939| for(i=0; i<xcb_parts_idx; i++) { # 940| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 941|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 942| if (0 != xcb_parts[i].iov_len) # 943| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/render.c: scope_hint: In function 'xcb_render_change_picture_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/render.c:1406:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 1404| for(i=0; i<xcb_parts_idx; i++) { # 1405| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 1406|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 1407| if (0 != xcb_parts[i].iov_len) # 1408| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:98:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 96| xcb_buffer_len += xcb_block_len + xcb_pad; # 97| if (0 != xcb_pad) { # 98|-> xcb_tmp += xcb_pad; # 99| xcb_pad = 0; # 100| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:99:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 97| if (0 != xcb_pad) { # 98| xcb_tmp += xcb_pad; # 99|-> xcb_pad = 0; # 100| } # 101| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:101:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 99| xcb_pad = 0; # 100| } # 101|-> xcb_block_len = 0; # 102| # 103| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:210:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 208| xcb_buffer_len += xcb_block_len + xcb_pad; # 209| if (0 != xcb_pad) { # 210|-> xcb_tmp += xcb_pad; # 211| xcb_pad = 0; # 212| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:211:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 209| if (0 != xcb_pad) { # 210| xcb_tmp += xcb_pad; # 211|-> xcb_pad = 0; # 212| } # 213| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:213:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 211| xcb_pad = 0; # 212| } # 213|-> xcb_block_len = 0; # 214| # 215| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:350:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 348| xcb_buffer_len += xcb_block_len + xcb_pad; # 349| if (0 != xcb_pad) { # 350|-> xcb_tmp += xcb_pad; # 351| xcb_pad = 0; # 352| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:351:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 349| if (0 != xcb_pad) { # 350| xcb_tmp += xcb_pad; # 351|-> xcb_pad = 0; # 352| } # 353| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:353:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 351| xcb_pad = 0; # 352| } # 353|-> xcb_block_len = 0; # 354| # 355| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:459:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 457| xcb_buffer_len += xcb_block_len + xcb_pad; # 458| if (0 != xcb_pad) { # 459|-> xcb_tmp += xcb_pad; # 460| xcb_pad = 0; # 461| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:460:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 458| if (0 != xcb_pad) { # 459| xcb_tmp += xcb_pad; # 460|-> xcb_pad = 0; # 461| } # 462| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:462:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 460| xcb_pad = 0; # 461| } # 462|-> xcb_block_len = 0; # 463| # 464| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:632:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 630| xcb_buffer_len += xcb_block_len + xcb_pad; # 631| if (0 != xcb_pad) { # 632|-> xcb_tmp += xcb_pad; # 633| xcb_pad = 0; # 634| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:633:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 631| if (0 != xcb_pad) { # 632| xcb_tmp += xcb_pad; # 633|-> xcb_pad = 0; # 634| } # 635| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:635:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 633| xcb_pad = 0; # 634| } # 635|-> xcb_block_len = 0; # 636| # 637| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:751:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 749| xcb_buffer_len += xcb_block_len + xcb_pad; # 750| if (0 != xcb_pad) { # 751|-> xcb_tmp += xcb_pad; # 752| xcb_pad = 0; # 753| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:752:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 750| if (0 != xcb_pad) { # 751| xcb_tmp += xcb_pad; # 752|-> xcb_pad = 0; # 753| } # 754| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/res.c:754:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 752| xcb_pad = 0; # 753| } # 754|-> xcb_block_len = 0; # 755| # 756| return xcb_buffer_len; Error: CPPCHECK_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:348:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 346| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 347| xcb_parts_idx++; # 348|-> xcb_pad = 0; # 349| } # 350| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:350:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 348| xcb_pad = 0; # 349| } # 350|-> xcb_block_len = 0; # 351| xcb_padding_offset = 0; # 352| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:351:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 349| } # 350| xcb_block_len = 0; # 351|-> xcb_padding_offset = 0; # 352| # 353| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c: scope_hint: In function 'xcb_screensaver_set_attributes_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:362:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 360| for(i=0; i<xcb_parts_idx; i++) { # 361| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 362|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 363| if (0 != xcb_parts[i].iov_len) # 364| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:492:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 490| xcb_buffer_len += xcb_block_len + xcb_pad; # 491| if (0 != xcb_pad) { # 492|-> xcb_tmp += xcb_pad; # 493| xcb_pad = 0; # 494| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:493:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 491| if (0 != xcb_pad) { # 492| xcb_tmp += xcb_pad; # 493|-> xcb_pad = 0; # 494| } # 495| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:495:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 493| xcb_pad = 0; # 494| } # 495|-> xcb_block_len = 0; # 496| xcb_padding_offset = 0; # 497| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:496:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 494| } # 495| xcb_block_len = 0; # 496|-> xcb_padding_offset = 0; # 497| # 498| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:532:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 530| xcb_buffer_len += xcb_block_len + xcb_pad; # 531| if (0 != xcb_pad) { # 532|-> xcb_tmp += xcb_pad; # 533| xcb_pad = 0; # 534| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:533:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 531| if (0 != xcb_pad) { # 532| xcb_tmp += xcb_pad; # 533|-> xcb_pad = 0; # 534| } # 535| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/screensaver.c:535:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 533| xcb_pad = 0; # 534| } # 535|-> xcb_block_len = 0; # 536| # 537| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/shape.c:136:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 134| xcb_buffer_len += xcb_block_len + xcb_pad; # 135| if (0 != xcb_pad) { # 136|-> xcb_tmp += xcb_pad; # 137| xcb_pad = 0; # 138| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/shape.c:137:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 135| if (0 != xcb_pad) { # 136| xcb_tmp += xcb_pad; # 137|-> xcb_pad = 0; # 138| } # 139| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/shape.c:139:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 137| xcb_pad = 0; # 138| } # 139|-> xcb_block_len = 0; # 140| # 141| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/shape.c:673:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 671| xcb_buffer_len += xcb_block_len + xcb_pad; # 672| if (0 != xcb_pad) { # 673|-> xcb_tmp += xcb_pad; # 674| xcb_pad = 0; # 675| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/shape.c:674:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 672| if (0 != xcb_pad) { # 673| xcb_tmp += xcb_pad; # 674|-> xcb_pad = 0; # 675| } # 676| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/shape.c:676:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 674| xcb_pad = 0; # 675| } # 676|-> xcb_block_len = 0; # 677| # 678| return xcb_buffer_len; Error: CPPCHECK_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:111:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 109| xcb_block_len += _aux->name_len * sizeof(char); # 110| xcb_tmp += xcb_block_len; # 111|-> xcb_align_to = ALIGNOF(char); # 112| xcb_align_to = 4; # 113| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:118:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 116| if (0 != xcb_pad) { # 117| xcb_tmp += xcb_pad; # 118|-> xcb_pad = 0; # 119| } # 120| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:125:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 123| xcb_buffer_len += xcb_block_len + xcb_pad; # 124| if (0 != xcb_pad) { # 125|-> xcb_tmp += xcb_pad; # 126| xcb_pad = 0; # 127| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:126:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 124| if (0 != xcb_pad) { # 125| xcb_tmp += xcb_pad; # 126|-> xcb_pad = 0; # 127| } # 128| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:128:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 126| xcb_pad = 0; # 127| } # 128|-> xcb_block_len = 0; # 129| # 130| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:306:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 304| xcb_buffer_len += xcb_block_len + xcb_pad; # 305| if (0 != xcb_pad) { # 306|-> xcb_tmp += xcb_pad; # 307| xcb_pad = 0; # 308| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:307:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 305| if (0 != xcb_pad) { # 306| xcb_tmp += xcb_pad; # 307|-> xcb_pad = 0; # 308| } # 309| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:309:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 307| xcb_pad = 0; # 308| } # 309|-> xcb_block_len = 0; # 310| # 311| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:577:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 575| xcb_buffer_len += xcb_block_len + xcb_pad; # 576| if (0 != xcb_pad) { # 577|-> xcb_tmp += xcb_pad; # 578| xcb_pad = 0; # 579| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:578:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 576| if (0 != xcb_pad) { # 577| xcb_tmp += xcb_pad; # 578|-> xcb_pad = 0; # 579| } # 580| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:580:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 578| xcb_pad = 0; # 579| } # 580|-> xcb_block_len = 0; # 581| # 582| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:854:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 852| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 853| xcb_parts_idx++; # 854|-> xcb_pad = 0; # 855| } # 856| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:856:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 854| xcb_pad = 0; # 855| } # 856|-> xcb_block_len = 0; # 857| xcb_padding_offset = 0; # 858| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:857:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 855| } # 856| xcb_block_len = 0; # 857|-> xcb_padding_offset = 0; # 858| # 859| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c: scope_hint: In function 'xcb_sync_create_alarm_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:868:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 866| for(i=0; i<xcb_parts_idx; i++) { # 867| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 868|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 869| if (0 != xcb_parts[i].iov_len) # 870| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:935:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 933| xcb_buffer_len += xcb_block_len + xcb_pad; # 934| if (0 != xcb_pad) { # 935|-> xcb_tmp += xcb_pad; # 936| xcb_pad = 0; # 937| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:936:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 934| if (0 != xcb_pad) { # 935| xcb_tmp += xcb_pad; # 936|-> xcb_pad = 0; # 937| } # 938| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:938:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 936| xcb_pad = 0; # 937| } # 938|-> xcb_block_len = 0; # 939| xcb_padding_offset = 0; # 940| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:939:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 937| } # 938| xcb_block_len = 0; # 939|-> xcb_padding_offset = 0; # 940| # 941| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:975:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 973| xcb_buffer_len += xcb_block_len + xcb_pad; # 974| if (0 != xcb_pad) { # 975|-> xcb_tmp += xcb_pad; # 976| xcb_pad = 0; # 977| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:976:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 974| if (0 != xcb_pad) { # 975| xcb_tmp += xcb_pad; # 976|-> xcb_pad = 0; # 977| } # 978| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:978:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 976| xcb_pad = 0; # 977| } # 978|-> xcb_block_len = 0; # 979| # 980| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1198:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1196| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 1197| xcb_parts_idx++; # 1198|-> xcb_pad = 0; # 1199| } # 1200| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1200:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1198| xcb_pad = 0; # 1199| } # 1200|-> xcb_block_len = 0; # 1201| xcb_padding_offset = 0; # 1202| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1201:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 1199| } # 1200| xcb_block_len = 0; # 1201|-> xcb_padding_offset = 0; # 1202| # 1203| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c: scope_hint: In function 'xcb_sync_change_alarm_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1212:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 1210| for(i=0; i<xcb_parts_idx; i++) { # 1211| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 1212|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 1213| if (0 != xcb_parts[i].iov_len) # 1214| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1279:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1277| xcb_buffer_len += xcb_block_len + xcb_pad; # 1278| if (0 != xcb_pad) { # 1279|-> xcb_tmp += xcb_pad; # 1280| xcb_pad = 0; # 1281| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1280:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1278| if (0 != xcb_pad) { # 1279| xcb_tmp += xcb_pad; # 1280|-> xcb_pad = 0; # 1281| } # 1282| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1282:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1280| xcb_pad = 0; # 1281| } # 1282|-> xcb_block_len = 0; # 1283| xcb_padding_offset = 0; # 1284| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1283:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 1281| } # 1282| xcb_block_len = 0; # 1283|-> xcb_padding_offset = 0; # 1284| # 1285| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1319:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1317| xcb_buffer_len += xcb_block_len + xcb_pad; # 1318| if (0 != xcb_pad) { # 1319|-> xcb_tmp += xcb_pad; # 1320| xcb_pad = 0; # 1321| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1320:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1318| if (0 != xcb_pad) { # 1319| xcb_tmp += xcb_pad; # 1320|-> xcb_pad = 0; # 1321| } # 1322| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1322:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1320| xcb_pad = 0; # 1321| } # 1322|-> xcb_block_len = 0; # 1323| # 1324| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1996:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1994| xcb_buffer_len += xcb_block_len + xcb_pad; # 1995| if (0 != xcb_pad) { # 1996|-> xcb_tmp += xcb_pad; # 1997| xcb_pad = 0; # 1998| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1997:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1995| if (0 != xcb_pad) { # 1996| xcb_tmp += xcb_pad; # 1997|-> xcb_pad = 0; # 1998| } # 1999| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/sync.c:1999:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1997| xcb_pad = 0; # 1998| } # 1999|-> xcb_block_len = 0; # 2000| # 2001| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xc_misc.c:163:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 161| xcb_buffer_len += xcb_block_len + xcb_pad; # 162| if (0 != xcb_pad) { # 163|-> xcb_tmp += xcb_pad; # 164| xcb_pad = 0; # 165| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xc_misc.c:164:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 162| if (0 != xcb_pad) { # 163| xcb_tmp += xcb_pad; # 164|-> xcb_pad = 0; # 165| } # 166| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xc_misc.c:166:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 164| xcb_pad = 0; # 165| } # 166|-> xcb_block_len = 0; # 167| # 168| return xcb_buffer_len; Error: GCC_ANALYZER_WARNING (CWE-401): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_auth.c: scope_hint: In function '_xcb_get_auth_info' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_auth.c:384:16: warning[-Wanalyzer-malloc-leak]: leak of '*info.name' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_auth.c:50: included_from: Included from here. # 382| free(sockname); # 383| # 384|-> info->name = 0; # 385| info->namelen = 0; # 386| XauDisposeAuth(authptr); Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c:176:16: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'xcb_setup_t', which is incompatible with sizeof operand type 'xcb_setup_generic_t' # 174| # 175| /* Read the server response */ # 176|-> c->setup = malloc(sizeof(xcb_setup_generic_t)); # 177| if(!c->setup) # 178| return 0; Error: COMPILER_WARNING (CWE-252): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c: scope_hint: In function 'read_setup' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c:199:13: warning[-Wunused-result]: ignoring return value of 'write' declared with attribute 'warn_unused_result' # 199 | write(STDERR_FILENO, xcb_setup_failed_reason(setup), xcb_setup_failed_reason_length(setup)); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 197| { # 198| xcb_setup_failed_t *setup = (xcb_setup_failed_t *) c->setup; # 199|-> write(STDERR_FILENO, xcb_setup_failed_reason(setup), xcb_setup_failed_reason_length(setup)); # 200| write(STDERR_FILENO, &newline, 1); # 201| return 0; Error: COMPILER_WARNING (CWE-252): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c:200:13: warning[-Wunused-result]: ignoring return value of 'write' declared with attribute 'warn_unused_result' # 200 | write(STDERR_FILENO, &newline, 1); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 198| xcb_setup_failed_t *setup = (xcb_setup_failed_t *) c->setup; # 199| write(STDERR_FILENO, xcb_setup_failed_reason(setup), xcb_setup_failed_reason_length(setup)); # 200|-> write(STDERR_FILENO, &newline, 1); # 201| return 0; # 202| } Error: COMPILER_WARNING (CWE-252): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c:207:13: warning[-Wunused-result]: ignoring return value of 'write' declared with attribute 'warn_unused_result' # 207 | write(STDERR_FILENO, xcb_setup_authenticate_reason(setup), xcb_setup_authenticate_reason_length(setup)); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 205| { # 206| xcb_setup_authenticate_t *setup = (xcb_setup_authenticate_t *) c->setup; # 207|-> write(STDERR_FILENO, xcb_setup_authenticate_reason(setup), xcb_setup_authenticate_reason_length(setup)); # 208| write(STDERR_FILENO, &newline, 1); # 209| return 0; Error: COMPILER_WARNING (CWE-252): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c:208:13: warning[-Wunused-result]: ignoring return value of 'write' declared with attribute 'warn_unused_result' # 208 | write(STDERR_FILENO, &newline, 1); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 206| xcb_setup_authenticate_t *setup = (xcb_setup_authenticate_t *) c->setup; # 207| write(STDERR_FILENO, xcb_setup_authenticate_reason(setup), xcb_setup_authenticate_reason_length(setup)); # 208|-> write(STDERR_FILENO, &newline, 1); # 209| return 0; # 210| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c:261:9: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'count') # 259| # 260| #else # 261|-> n = *count; # 262| if (n > IOV_MAX) # 263| n = IOV_MAX; Error: GCC_ANALYZER_WARNING (CWE-476): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c: scope_hint: In function 'write_vec' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c:282:23: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c:32: included_from: Included from here. /usr/include/sys/socket.h:33: included_from: Included from here. libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_conn.c:53: included_from: Included from here. # 280| struct cmsghdr *hdr = CMSG_FIRSTHDR(&msg); # 281| # 282|-> hdr->cmsg_len = msg.msg_controllen; # 283| hdr->cmsg_level = SOL_SOCKET; # 284| hdr->cmsg_type = SCM_RIGHTS; Error: CPPCHECK_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_in.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-787): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c: scope_hint: In function 'xcb_send_request_with_fds64' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:292:46: warning[-Wanalyzer-out-of-bounds]: buffer overflow libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:32: included_from: Included from here. libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:292:46: note: write of 1 byte to beyond the end of 'pad' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:292:46: note: valid subscripts for 'pad' are '[0]' to '[2]' # 290| # 291| /* set the length field. */ # 292|-> ((uint16_t *) vector[0].iov_base)[1] = shortlen; # 293| if(!shortlen) # 294| { Error: GCC_ANALYZER_WARNING (CWE-471): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:292:46: warning[-Wanalyzer-write-to-const]: write to 'const' object 'pad' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:244:27: note: declared here # 290| # 291| /* set the length field. */ # 292|-> ((uint16_t *) vector[0].iov_base)[1] = shortlen; # 293| if(!shortlen) # 294| { Error: GCC_ANALYZER_WARNING (CWE-126): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:295:58: warning[-Wanalyzer-out-of-bounds]: buffer over-read libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:295:58: note: read of 1 byte from after the end of 'pad' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:295:58: note: valid subscripts for 'pad' are '[0]' to '[2]' # └──────────────────────────────────────────────────────────────────────┘ # ^ ^ ^ ^ # 293| if(!shortlen) # 294| { # 295|-> prefix[0] = ((uint32_t *) vector[0].iov_base)[0]; # 296| prefix[1] = ++longlen; # 297| vector[0].iov_base = (uint32_t *) vector[0].iov_base + 1; Error: GCC_ANALYZER_WARNING (CWE-126): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:310:69: warning[-Wanalyzer-out-of-bounds]: buffer over-read libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:310:69: note: read of 4 bytes from after the end of 'pad' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:310:69: note: valid subscripts for 'pad' are '[0]' to '[2]' # └─────────────────────────────┘ # ^ # 308| * configuration, but that should be handled here anyway. */ # 309| if(req->ext && !req->isvoid && !strcmp(req->ext->name, "GLX") && # 310|-> ((req->opcode == 17 && ((uint32_t *) vector[0].iov_base)[1] == 0x10004) || # 311| req->opcode == 21)) # 312| workaround = WORKAROUND_GLX_GET_FB_CONFIGS_BUG; Error: GCC_ANALYZER_WARNING (CWE-835): libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c: scope_hint: In function 'xcb_take_socket' libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:388:15: warning[-Wanalyzer-infinite-loop]: infinite loop libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_out.c:43: included_from: Included from here. libxcb-1.17.0-build/libxcb-1.17.0/src/xcbint.h:66:54: note: in definition of macro 'XCB_SEQUENCE_COMPARE' # 386| */ # 387| do # 388|-> ret = _xcb_out_flush_to(c, c->out.request); # 389| while (ret && c->out.request != c->out.request_written); # 390| if(ret) Error: CPPCHECK_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_util.c:270:9: warning[deadcode.DeadStores]: Value stored to 'actual_filelen' is never read # 268| return -1; # 269| memcpy(file, host, filelen); # 270|-> actual_filelen = (int)(filelen - 1); # 271| } else { # 272| #endif Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xcb_util.c:581:5: warning[unix.Malloc]: Attempt to free released memory # 579| # 580| out: # 581|-> free(host); # 582| free(protocol); # 583| return c; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:177:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 175| xcb_buffer_len += xcb_block_len + xcb_pad; # 176| if (0 != xcb_pad) { # 177|-> xcb_tmp += xcb_pad; # 178| xcb_pad = 0; # 179| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:178:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 176| if (0 != xcb_pad) { # 177| xcb_tmp += xcb_pad; # 178|-> xcb_pad = 0; # 179| } # 180| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:180:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 178| xcb_pad = 0; # 179| } # 180|-> xcb_block_len = 0; # 181| # 182| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:342:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 340| xcb_buffer_len += xcb_block_len + xcb_pad; # 341| if (0 != xcb_pad) { # 342|-> xcb_tmp += xcb_pad; # 343| xcb_pad = 0; # 344| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:343:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 341| if (0 != xcb_pad) { # 342| xcb_tmp += xcb_pad; # 343|-> xcb_pad = 0; # 344| } # 345| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:345:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 343| xcb_pad = 0; # 344| } # 345|-> xcb_block_len = 0; # 346| # 347| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:700:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 698| if (0 != xcb_pad) { # 699| xcb_tmp += xcb_pad; # 700|-> xcb_pad = 0; # 701| } # 702| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:711:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 709| xcb_buffer_len += xcb_block_len + xcb_pad; # 710| if (0 != xcb_pad) { # 711|-> xcb_tmp += xcb_pad; # 712| xcb_pad = 0; # 713| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:712:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 710| if (0 != xcb_pad) { # 711| xcb_tmp += xcb_pad; # 712|-> xcb_pad = 0; # 713| } # 714| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:714:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 712| xcb_pad = 0; # 713| } # 714|-> xcb_block_len = 0; # 715| # 716| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:852:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 850| xcb_buffer_len += xcb_block_len + xcb_pad; # 851| if (0 != xcb_pad) { # 852|-> xcb_tmp += xcb_pad; # 853| xcb_pad = 0; # 854| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:853:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 851| if (0 != xcb_pad) { # 852| xcb_tmp += xcb_pad; # 853|-> xcb_pad = 0; # 854| } # 855| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xf86dri.c:855:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 853| xcb_pad = 0; # 854| } # 855|-> xcb_block_len = 0; # 856| # 857| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:292:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 290| xcb_buffer_len += xcb_block_len + xcb_pad; # 291| if (0 != xcb_pad) { # 292|-> xcb_tmp += xcb_pad; # 293| xcb_pad = 0; # 294| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:293:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 291| if (0 != xcb_pad) { # 292| xcb_tmp += xcb_pad; # 293|-> xcb_pad = 0; # 294| } # 295| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:295:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 293| xcb_pad = 0; # 294| } # 295|-> xcb_block_len = 0; # 296| # 297| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:419:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 417| xcb_buffer_len += xcb_block_len + xcb_pad; # 418| if (0 != xcb_pad) { # 419|-> xcb_tmp += xcb_pad; # 420| xcb_pad = 0; # 421| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:420:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 418| if (0 != xcb_pad) { # 419| xcb_tmp += xcb_pad; # 420|-> xcb_pad = 0; # 421| } # 422| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:422:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 420| xcb_pad = 0; # 421| } # 422|-> xcb_block_len = 0; # 423| # 424| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:820:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 818| xcb_buffer_len += xcb_block_len + xcb_pad; # 819| if (0 != xcb_pad) { # 820|-> xcb_tmp += xcb_pad; # 821| xcb_pad = 0; # 822| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:821:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 819| if (0 != xcb_pad) { # 820| xcb_tmp += xcb_pad; # 821|-> xcb_pad = 0; # 822| } # 823| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:823:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 821| xcb_pad = 0; # 822| } # 823|-> xcb_block_len = 0; # 824| # 825| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1351:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1349| xcb_buffer_len += xcb_block_len + xcb_pad; # 1350| if (0 != xcb_pad) { # 1351|-> xcb_tmp += xcb_pad; # 1352| xcb_pad = 0; # 1353| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1352:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1350| if (0 != xcb_pad) { # 1351| xcb_tmp += xcb_pad; # 1352|-> xcb_pad = 0; # 1353| } # 1354| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1354:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1352| xcb_pad = 0; # 1353| } # 1354|-> xcb_block_len = 0; # 1355| # 1356| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1662:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1660| xcb_buffer_len += xcb_block_len + xcb_pad; # 1661| if (0 != xcb_pad) { # 1662|-> xcb_tmp += xcb_pad; # 1663| xcb_pad = 0; # 1664| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1663:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1661| if (0 != xcb_pad) { # 1662| xcb_tmp += xcb_pad; # 1663|-> xcb_pad = 0; # 1664| } # 1665| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1665:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1663| xcb_pad = 0; # 1664| } # 1665|-> xcb_block_len = 0; # 1666| # 1667| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1785:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1783| xcb_buffer_len += xcb_block_len + xcb_pad; # 1784| if (0 != xcb_pad) { # 1785|-> xcb_tmp += xcb_pad; # 1786| xcb_pad = 0; # 1787| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1786:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1784| if (0 != xcb_pad) { # 1785| xcb_tmp += xcb_pad; # 1786|-> xcb_pad = 0; # 1787| } # 1788| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1788:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1786| xcb_pad = 0; # 1787| } # 1788|-> xcb_block_len = 0; # 1789| # 1790| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1899:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1897| if (0 != xcb_pad) { # 1898| xcb_tmp += xcb_pad; # 1899|-> xcb_pad = 0; # 1900| } # 1901| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1910:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1908| xcb_buffer_len += xcb_block_len + xcb_pad; # 1909| if (0 != xcb_pad) { # 1910|-> xcb_tmp += xcb_pad; # 1911| xcb_pad = 0; # 1912| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1911:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1909| if (0 != xcb_pad) { # 1910| xcb_tmp += xcb_pad; # 1911|-> xcb_pad = 0; # 1912| } # 1913| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:1913:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1911| xcb_pad = 0; # 1912| } # 1913|-> xcb_block_len = 0; # 1914| # 1915| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:2099:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2097| xcb_buffer_len += xcb_block_len + xcb_pad; # 2098| if (0 != xcb_pad) { # 2099|-> xcb_tmp += xcb_pad; # 2100| xcb_pad = 0; # 2101| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:2100:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2098| if (0 != xcb_pad) { # 2099| xcb_tmp += xcb_pad; # 2100|-> xcb_pad = 0; # 2101| } # 2102| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:2102:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2100| xcb_pad = 0; # 2101| } # 2102|-> xcb_block_len = 0; # 2103| # 2104| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:2416:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2414| xcb_buffer_len += xcb_block_len + xcb_pad; # 2415| if (0 != xcb_pad) { # 2416|-> xcb_tmp += xcb_pad; # 2417| xcb_pad = 0; # 2418| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:2417:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2415| if (0 != xcb_pad) { # 2416| xcb_tmp += xcb_pad; # 2417|-> xcb_pad = 0; # 2418| } # 2419| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xfixes.c:2419:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2417| xcb_pad = 0; # 2418| } # 2419|-> xcb_block_len = 0; # 2420| # 2421| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinerama.c:366:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 364| xcb_buffer_len += xcb_block_len + xcb_pad; # 365| if (0 != xcb_pad) { # 366|-> xcb_tmp += xcb_pad; # 367| xcb_pad = 0; # 368| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinerama.c:367:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 365| if (0 != xcb_pad) { # 366| xcb_tmp += xcb_pad; # 367|-> xcb_pad = 0; # 368| } # 369| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinerama.c:369:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 367| xcb_pad = 0; # 368| } # 369|-> xcb_block_len = 0; # 370| # 371| return xcb_buffer_len; Error: CPPCHECK_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:134:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 132| xcb_buffer_len += xcb_block_len + xcb_pad; # 133| if (0 != xcb_pad) { # 134|-> xcb_tmp += xcb_pad; # 135| xcb_pad = 0; # 136| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:135:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 133| if (0 != xcb_pad) { # 134| xcb_tmp += xcb_pad; # 135|-> xcb_pad = 0; # 136| } # 137| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:137:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 135| xcb_pad = 0; # 136| } # 137|-> xcb_block_len = 0; # 138| # 139| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:311:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 309| xcb_buffer_len += xcb_block_len + xcb_pad; # 310| if (0 != xcb_pad) { # 311|-> xcb_tmp += xcb_pad; # 312| xcb_pad = 0; # 313| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:312:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 310| if (0 != xcb_pad) { # 311| xcb_tmp += xcb_pad; # 312|-> xcb_pad = 0; # 313| } # 314| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:314:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 312| xcb_pad = 0; # 313| } # 314|-> xcb_block_len = 0; # 315| # 316| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:412:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 410| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_input_key_code_t); # 411| xcb_parts_idx++; # 412|-> xcb_align_to = ALIGNOF(xcb_input_key_code_t); # 413| /* xcb_input_input_info_info_t.key.max_keycode */ # 414| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->key.max_keycode; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:418:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 416| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_input_key_code_t); # 417| xcb_parts_idx++; # 418|-> xcb_align_to = ALIGNOF(xcb_input_key_code_t); # 419| /* xcb_input_input_info_info_t.key.num_keys */ # 420| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->key.num_keys; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:424:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 422| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); # 423| xcb_parts_idx++; # 424|-> xcb_align_to = ALIGNOF(uint16_t); # 425| /* xcb_input_input_info_info_t.key.pad0 */ # 426| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:446:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 444| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 445| xcb_parts_idx++; # 446|-> xcb_align_to = ALIGNOF(uint8_t); # 447| /* xcb_input_input_info_info_t.valuator.mode */ # 448| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->valuator.mode; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:452:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 450| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 451| xcb_parts_idx++; # 452|-> xcb_align_to = ALIGNOF(uint8_t); # 453| /* xcb_input_input_info_info_t.valuator.motion_size */ # 454| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->valuator.motion_size; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:466:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 464| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 465| xcb_parts_idx++; # 466|-> xcb_pad = 0; # 467| } # 468| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:484:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 482| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 483| xcb_parts_idx++; # 484|-> xcb_pad = 0; # 485| } # 486| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:486:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 484| xcb_pad = 0; # 485| } # 486|-> xcb_block_len = 0; # 487| xcb_padding_offset = 0; # 488| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:487:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 485| } # 486| xcb_block_len = 0; # 487|-> xcb_padding_offset = 0; # 488| # 489| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: scope_hint: In function 'xcb_input_input_info_info_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:498:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 496| for(i=0; i<xcb_parts_idx; i++) { # 497| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 498|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 499| if (0 != xcb_parts[i].iov_len) # 500| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:524:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 522| xcb_block_len += sizeof(xcb_input_key_code_t); # 523| xcb_tmp += sizeof(xcb_input_key_code_t); # 524|-> xcb_align_to = ALIGNOF(xcb_input_key_code_t); # 525| /* xcb_input_input_info_info_t.key.max_keycode */ # 526| _aux->key.max_keycode = *(xcb_input_key_code_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:529:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 527| xcb_block_len += sizeof(xcb_input_key_code_t); # 528| xcb_tmp += sizeof(xcb_input_key_code_t); # 529|-> xcb_align_to = ALIGNOF(xcb_input_key_code_t); # 530| /* xcb_input_input_info_info_t.key.num_keys */ # 531| _aux->key.num_keys = *(uint16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:534:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 532| xcb_block_len += sizeof(uint16_t); # 533| xcb_tmp += sizeof(uint16_t); # 534|-> xcb_align_to = ALIGNOF(uint16_t); # 535| /* xcb_input_input_info_info_t.key.pad0 */ # 536| _aux->key.pad0[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:554:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 552| xcb_block_len += sizeof(uint8_t); # 553| xcb_tmp += sizeof(uint8_t); # 554|-> xcb_align_to = ALIGNOF(uint8_t); # 555| /* xcb_input_input_info_info_t.valuator.mode */ # 556| _aux->valuator.mode = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:559:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 557| xcb_block_len += sizeof(uint8_t); # 558| xcb_tmp += sizeof(uint8_t); # 559|-> xcb_align_to = ALIGNOF(uint8_t); # 560| /* xcb_input_input_info_info_t.valuator.motion_size */ # 561| _aux->valuator.motion_size = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:570:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 568| if (0 != xcb_pad) { # 569| xcb_tmp += xcb_pad; # 570|-> xcb_pad = 0; # 571| } # 572| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:584:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 582| xcb_buffer_len += xcb_block_len + xcb_pad; # 583| if (0 != xcb_pad) { # 584|-> xcb_tmp += xcb_pad; # 585| xcb_pad = 0; # 586| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:585:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 583| if (0 != xcb_pad) { # 584| xcb_tmp += xcb_pad; # 585|-> xcb_pad = 0; # 586| } # 587| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:587:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 585| xcb_pad = 0; # 586| } # 587|-> xcb_block_len = 0; # 588| xcb_padding_offset = 0; # 589| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:588:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 586| } # 587| xcb_block_len = 0; # 588|-> xcb_padding_offset = 0; # 589| # 590| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:624:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 622| xcb_buffer_len += xcb_block_len + xcb_pad; # 623| if (0 != xcb_pad) { # 624|-> xcb_tmp += xcb_pad; # 625| xcb_pad = 0; # 626| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:625:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 623| if (0 != xcb_pad) { # 624| xcb_tmp += xcb_pad; # 625|-> xcb_pad = 0; # 626| } # 627| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:627:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 625| xcb_pad = 0; # 626| } # 627|-> xcb_block_len = 0; # 628| # 629| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:684:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 682| xcb_buffer_len += xcb_block_len + xcb_pad; # 683| if (0 != xcb_pad) { # 684|-> xcb_tmp += xcb_pad; # 685| xcb_pad = 0; # 686| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:685:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 683| if (0 != xcb_pad) { # 684| xcb_tmp += xcb_pad; # 685|-> xcb_pad = 0; # 686| } # 687| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:687:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 685| xcb_pad = 0; # 686| } # 687|-> xcb_block_len = 0; # 688| # 689| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:767:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 765| if (0 != xcb_pad) { # 766| xcb_tmp += xcb_pad; # 767|-> xcb_pad = 0; # 768| } # 769| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:791:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 789| if (0 != xcb_pad) { # 790| xcb_tmp += xcb_pad; # 791|-> xcb_pad = 0; # 792| } # 793| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:800:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 798| xcb_tmp += xcb_tmp_len; # 799| } # 800|-> xcb_align_to = ALIGNOF(xcb_str_t); # 801| xcb_align_to = 4; # 802| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:807:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 805| if (0 != xcb_pad) { # 806| xcb_tmp += xcb_pad; # 807|-> xcb_pad = 0; # 808| } # 809| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:814:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 812| xcb_buffer_len += xcb_block_len + xcb_pad; # 813| if (0 != xcb_pad) { # 814|-> xcb_tmp += xcb_pad; # 815| xcb_pad = 0; # 816| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:815:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 813| if (0 != xcb_pad) { # 814| xcb_tmp += xcb_pad; # 815|-> xcb_pad = 0; # 816| } # 817| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:817:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 815| xcb_pad = 0; # 816| } # 817|-> xcb_block_len = 0; # 818| # 819| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1014:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 1012| xcb_block_len += _aux->num_classes * sizeof(xcb_input_input_class_info_t); # 1013| xcb_tmp += xcb_block_len; # 1014|-> xcb_align_to = ALIGNOF(xcb_input_input_class_info_t); # 1015| xcb_align_to = 4; # 1016| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1021:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1019| if (0 != xcb_pad) { # 1020| xcb_tmp += xcb_pad; # 1021|-> xcb_pad = 0; # 1022| } # 1023| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1028:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1026| xcb_buffer_len += xcb_block_len + xcb_pad; # 1027| if (0 != xcb_pad) { # 1028|-> xcb_tmp += xcb_pad; # 1029| xcb_pad = 0; # 1030| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1029:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1027| if (0 != xcb_pad) { # 1028| xcb_tmp += xcb_pad; # 1029|-> xcb_pad = 0; # 1030| } # 1031| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1031:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1029| xcb_pad = 0; # 1030| } # 1031|-> xcb_block_len = 0; # 1032| # 1033| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1263:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1261| xcb_buffer_len += xcb_block_len + xcb_pad; # 1262| if (0 != xcb_pad) { # 1263|-> xcb_tmp += xcb_pad; # 1264| xcb_pad = 0; # 1265| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1264:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1262| if (0 != xcb_pad) { # 1263| xcb_tmp += xcb_pad; # 1264|-> xcb_pad = 0; # 1265| } # 1266| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1266:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1264| xcb_pad = 0; # 1265| } # 1266|-> xcb_block_len = 0; # 1267| # 1268| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1387:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1385| if (0 != xcb_pad) { # 1386| xcb_tmp += xcb_pad; # 1387|-> xcb_pad = 0; # 1388| } # 1389| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1398:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1396| xcb_buffer_len += xcb_block_len + xcb_pad; # 1397| if (0 != xcb_pad) { # 1398|-> xcb_tmp += xcb_pad; # 1399| xcb_pad = 0; # 1400| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1399:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1397| if (0 != xcb_pad) { # 1398| xcb_tmp += xcb_pad; # 1399|-> xcb_pad = 0; # 1400| } # 1401| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1401:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1399| xcb_pad = 0; # 1400| } # 1401|-> xcb_block_len = 0; # 1402| # 1403| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1535:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1533| xcb_buffer_len += xcb_block_len + xcb_pad; # 1534| if (0 != xcb_pad) { # 1535|-> xcb_tmp += xcb_pad; # 1536| xcb_pad = 0; # 1537| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1536:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1534| if (0 != xcb_pad) { # 1535| xcb_tmp += xcb_pad; # 1536|-> xcb_pad = 0; # 1537| } # 1538| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1538:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1536| xcb_pad = 0; # 1537| } # 1538|-> xcb_block_len = 0; # 1539| # 1540| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1662:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1660| xcb_buffer_len += xcb_block_len + xcb_pad; # 1661| if (0 != xcb_pad) { # 1662|-> xcb_tmp += xcb_pad; # 1663| xcb_pad = 0; # 1664| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1663:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1661| if (0 != xcb_pad) { # 1662| xcb_tmp += xcb_pad; # 1663|-> xcb_pad = 0; # 1664| } # 1665| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1665:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1663| xcb_pad = 0; # 1664| } # 1665|-> xcb_block_len = 0; # 1666| # 1667| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1775:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1773| xcb_buffer_len += xcb_block_len + xcb_pad; # 1774| if (0 != xcb_pad) { # 1775|-> xcb_tmp += xcb_pad; # 1776| xcb_pad = 0; # 1777| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1776:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1774| if (0 != xcb_pad) { # 1775| xcb_tmp += xcb_pad; # 1776|-> xcb_pad = 0; # 1777| } # 1778| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1778:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1776| xcb_pad = 0; # 1777| } # 1778|-> xcb_block_len = 0; # 1779| # 1780| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1858:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 1856| xcb_buffer_len += xcb_block_len + xcb_pad; # 1857| if (0 != xcb_pad) { # 1858|-> xcb_tmp += xcb_pad; # 1859| xcb_pad = 0; # 1860| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1859:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 1857| if (0 != xcb_pad) { # 1858| xcb_tmp += xcb_pad; # 1859|-> xcb_pad = 0; # 1860| } # 1861| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:1861:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 1859| xcb_pad = 0; # 1860| } # 1861|-> xcb_block_len = 0; # 1862| # 1863| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2108:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2106| xcb_buffer_len += xcb_block_len + xcb_pad; # 2107| if (0 != xcb_pad) { # 2108|-> xcb_tmp += xcb_pad; # 2109| xcb_pad = 0; # 2110| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2109:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2107| if (0 != xcb_pad) { # 2108| xcb_tmp += xcb_pad; # 2109|-> xcb_pad = 0; # 2110| } # 2111| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2111:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2109| xcb_pad = 0; # 2110| } # 2111|-> xcb_block_len = 0; # 2112| # 2113| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2295:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2293| xcb_buffer_len += xcb_block_len + xcb_pad; # 2294| if (0 != xcb_pad) { # 2295|-> xcb_tmp += xcb_pad; # 2296| xcb_pad = 0; # 2297| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2296:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2294| if (0 != xcb_pad) { # 2295| xcb_tmp += xcb_pad; # 2296|-> xcb_pad = 0; # 2297| } # 2298| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2298:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2296| xcb_pad = 0; # 2297| } # 2298|-> xcb_block_len = 0; # 2299| # 2300| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2514:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2512| xcb_buffer_len += xcb_block_len + xcb_pad; # 2513| if (0 != xcb_pad) { # 2514|-> xcb_tmp += xcb_pad; # 2515| xcb_pad = 0; # 2516| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2515:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2513| if (0 != xcb_pad) { # 2514| xcb_tmp += xcb_pad; # 2515|-> xcb_pad = 0; # 2516| } # 2517| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2517:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2515| xcb_pad = 0; # 2516| } # 2517|-> xcb_block_len = 0; # 2518| # 2519| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2979:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 2977| xcb_buffer_len += xcb_block_len + xcb_pad; # 2978| if (0 != xcb_pad) { # 2979|-> xcb_tmp += xcb_pad; # 2980| xcb_pad = 0; # 2981| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2980:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 2978| if (0 != xcb_pad) { # 2979| xcb_tmp += xcb_pad; # 2980|-> xcb_pad = 0; # 2981| } # 2982| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:2982:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 2980| xcb_pad = 0; # 2981| } # 2982|-> xcb_block_len = 0; # 2983| # 2984| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3116:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3114| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); # 3115| xcb_parts_idx++; # 3116|-> xcb_align_to = ALIGNOF(uint16_t); # 3117| /* xcb_input_feedback_state_data_t.keyboard.duration */ # 3118| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.duration; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3122:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3120| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); # 3121| xcb_parts_idx++; # 3122|-> xcb_align_to = ALIGNOF(uint16_t); # 3123| /* xcb_input_feedback_state_data_t.keyboard.led_mask */ # 3124| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.led_mask; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3128:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3126| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 3127| xcb_parts_idx++; # 3128|-> xcb_align_to = ALIGNOF(uint32_t); # 3129| /* xcb_input_feedback_state_data_t.keyboard.led_values */ # 3130| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.led_values; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3134:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3132| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 3133| xcb_parts_idx++; # 3134|-> xcb_align_to = ALIGNOF(uint32_t); # 3135| /* xcb_input_feedback_state_data_t.keyboard.global_auto_repeat */ # 3136| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.global_auto_repeat; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3140:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3138| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 3139| xcb_parts_idx++; # 3140|-> xcb_align_to = ALIGNOF(uint8_t); # 3141| /* xcb_input_feedback_state_data_t.keyboard.click */ # 3142| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.click; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3146:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3144| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 3145| xcb_parts_idx++; # 3146|-> xcb_align_to = ALIGNOF(uint8_t); # 3147| /* xcb_input_feedback_state_data_t.keyboard.percent */ # 3148| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.percent; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3152:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3150| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 3151| xcb_parts_idx++; # 3152|-> xcb_align_to = ALIGNOF(uint8_t); # 3153| /* xcb_input_feedback_state_data_t.keyboard.pad0 */ # 3154| xcb_parts[xcb_parts_idx].iov_base = (char *) &xcb_pad; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3158:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3156| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 3157| xcb_parts_idx++; # 3158|-> xcb_align_to = ALIGNOF(uint8_t); # 3159| /* xcb_input_feedback_state_data_t.keyboard.auto_repeats */ # 3160| xcb_parts[xcb_parts_idx].iov_base = (char *) _aux->keyboard.auto_repeats; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3172:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3170| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t)*2; # 3171| xcb_parts_idx++; # 3172|-> xcb_align_to = ALIGNOF(uint8_t); # 3173| /* xcb_input_feedback_state_data_t.pointer.accel_num */ # 3174| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->pointer.accel_num; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3178:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3176| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); # 3177| xcb_parts_idx++; # 3178|-> xcb_align_to = ALIGNOF(uint16_t); # 3179| /* xcb_input_feedback_state_data_t.pointer.accel_denom */ # 3180| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->pointer.accel_denom; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3184:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3182| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); # 3183| xcb_parts_idx++; # 3184|-> xcb_align_to = ALIGNOF(uint16_t); # 3185| /* xcb_input_feedback_state_data_t.pointer.threshold */ # 3186| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->pointer.threshold; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3198:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3196| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); # 3197| xcb_parts_idx++; # 3198|-> xcb_align_to = ALIGNOF(uint16_t); # 3199| /* xcb_input_feedback_state_data_t.string.num_keysyms */ # 3200| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->string.num_keysyms; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3229:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3227| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 3228| xcb_parts_idx++; # 3229|-> xcb_align_to = ALIGNOF(uint32_t); # 3230| /* xcb_input_feedback_state_data_t.integer.min_value */ # 3231| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->integer.min_value; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3235:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3233| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 3234| xcb_parts_idx++; # 3235|-> xcb_align_to = ALIGNOF(int32_t); # 3236| /* xcb_input_feedback_state_data_t.integer.max_value */ # 3237| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->integer.max_value; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3249:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3247| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 3248| xcb_parts_idx++; # 3249|-> xcb_align_to = ALIGNOF(uint32_t); # 3250| /* xcb_input_feedback_state_data_t.led.led_values */ # 3251| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->led.led_values; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3263:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3261| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 3262| xcb_parts_idx++; # 3263|-> xcb_align_to = ALIGNOF(uint8_t); # 3264| /* xcb_input_feedback_state_data_t.bell.pad2 */ # 3265| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3269:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3267| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t)*3; # 3268| xcb_parts_idx++; # 3269|-> xcb_align_to = ALIGNOF(uint8_t); # 3270| /* xcb_input_feedback_state_data_t.bell.pitch */ # 3271| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->bell.pitch; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3275:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3273| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); # 3274| xcb_parts_idx++; # 3275|-> xcb_align_to = ALIGNOF(uint16_t); # 3276| /* xcb_input_feedback_state_data_t.bell.duration */ # 3277| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->bell.duration; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3292:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3290| xcb_pad = 0; # 3291| } # 3292|-> xcb_block_len = 0; # 3293| xcb_padding_offset = 0; # 3294| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3293:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 3291| } # 3292| xcb_block_len = 0; # 3293|-> xcb_padding_offset = 0; # 3294| # 3295| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: scope_hint: In function 'xcb_input_feedback_state_data_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3304:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 3302| for(i=0; i<xcb_parts_idx; i++) { # 3303| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 3304|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 3305| if (0 != xcb_parts[i].iov_len) # 3306| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3330:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3328| xcb_block_len += sizeof(uint16_t); # 3329| xcb_tmp += sizeof(uint16_t); # 3330|-> xcb_align_to = ALIGNOF(uint16_t); # 3331| /* xcb_input_feedback_state_data_t.keyboard.duration */ # 3332| _aux->keyboard.duration = *(uint16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3335:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3333| xcb_block_len += sizeof(uint16_t); # 3334| xcb_tmp += sizeof(uint16_t); # 3335|-> xcb_align_to = ALIGNOF(uint16_t); # 3336| /* xcb_input_feedback_state_data_t.keyboard.led_mask */ # 3337| _aux->keyboard.led_mask = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3340:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3338| xcb_block_len += sizeof(uint32_t); # 3339| xcb_tmp += sizeof(uint32_t); # 3340|-> xcb_align_to = ALIGNOF(uint32_t); # 3341| /* xcb_input_feedback_state_data_t.keyboard.led_values */ # 3342| _aux->keyboard.led_values = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3345:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3343| xcb_block_len += sizeof(uint32_t); # 3344| xcb_tmp += sizeof(uint32_t); # 3345|-> xcb_align_to = ALIGNOF(uint32_t); # 3346| /* xcb_input_feedback_state_data_t.keyboard.global_auto_repeat */ # 3347| _aux->keyboard.global_auto_repeat = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3350:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3348| xcb_block_len += sizeof(uint8_t); # 3349| xcb_tmp += sizeof(uint8_t); # 3350|-> xcb_align_to = ALIGNOF(uint8_t); # 3351| /* xcb_input_feedback_state_data_t.keyboard.click */ # 3352| _aux->keyboard.click = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3355:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3353| xcb_block_len += sizeof(uint8_t); # 3354| xcb_tmp += sizeof(uint8_t); # 3355|-> xcb_align_to = ALIGNOF(uint8_t); # 3356| /* xcb_input_feedback_state_data_t.keyboard.percent */ # 3357| _aux->keyboard.percent = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3360:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3358| xcb_block_len += sizeof(uint8_t); # 3359| xcb_tmp += sizeof(uint8_t); # 3360|-> xcb_align_to = ALIGNOF(uint8_t); # 3361| /* xcb_input_feedback_state_data_t.keyboard.pad0 */ # 3362| _aux->keyboard.pad0 = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3365:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3363| xcb_block_len += sizeof(uint8_t); # 3364| xcb_tmp += sizeof(uint8_t); # 3365|-> xcb_align_to = ALIGNOF(uint8_t); # 3366| /* xcb_input_feedback_state_data_t.keyboard.auto_repeats */ # 3367| memcpy(_aux->keyboard.auto_repeats, xcb_tmp, sizeof(uint8_t) * 32); Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3378:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3376| xcb_block_len += sizeof(uint8_t) * 2; # 3377| xcb_tmp += sizeof(uint8_t) * 2; # 3378|-> xcb_align_to = ALIGNOF(uint8_t); # 3379| /* xcb_input_feedback_state_data_t.pointer.accel_num */ # 3380| _aux->pointer.accel_num = *(uint16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3383:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3381| xcb_block_len += sizeof(uint16_t); # 3382| xcb_tmp += sizeof(uint16_t); # 3383|-> xcb_align_to = ALIGNOF(uint16_t); # 3384| /* xcb_input_feedback_state_data_t.pointer.accel_denom */ # 3385| _aux->pointer.accel_denom = *(uint16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3388:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3386| xcb_block_len += sizeof(uint16_t); # 3387| xcb_tmp += sizeof(uint16_t); # 3388|-> xcb_align_to = ALIGNOF(uint16_t); # 3389| /* xcb_input_feedback_state_data_t.pointer.threshold */ # 3390| _aux->pointer.threshold = *(uint16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3400:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3398| xcb_block_len += sizeof(uint16_t); # 3399| xcb_tmp += sizeof(uint16_t); # 3400|-> xcb_align_to = ALIGNOF(uint16_t); # 3401| /* xcb_input_feedback_state_data_t.string.num_keysyms */ # 3402| _aux->string.num_keysyms = *(uint16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3411:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3409| if (0 != xcb_pad) { # 3410| xcb_tmp += xcb_pad; # 3411|-> xcb_pad = 0; # 3412| } # 3413| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3426:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3424| xcb_block_len += sizeof(uint32_t); # 3425| xcb_tmp += sizeof(uint32_t); # 3426|-> xcb_align_to = ALIGNOF(uint32_t); # 3427| /* xcb_input_feedback_state_data_t.integer.min_value */ # 3428| _aux->integer.min_value = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3431:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3429| xcb_block_len += sizeof(int32_t); # 3430| xcb_tmp += sizeof(int32_t); # 3431|-> xcb_align_to = ALIGNOF(int32_t); # 3432| /* xcb_input_feedback_state_data_t.integer.max_value */ # 3433| _aux->integer.max_value = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3443:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3441| xcb_block_len += sizeof(uint32_t); # 3442| xcb_tmp += sizeof(uint32_t); # 3443|-> xcb_align_to = ALIGNOF(uint32_t); # 3444| /* xcb_input_feedback_state_data_t.led.led_values */ # 3445| _aux->led.led_values = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3455:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3453| xcb_block_len += sizeof(uint8_t); # 3454| xcb_tmp += sizeof(uint8_t); # 3455|-> xcb_align_to = ALIGNOF(uint8_t); # 3456| /* xcb_input_feedback_state_data_t.bell.pad2 */ # 3457| _aux->bell.pad2[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3462:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3460| xcb_block_len += sizeof(uint8_t) * 3; # 3461| xcb_tmp += sizeof(uint8_t) * 3; # 3462|-> xcb_align_to = ALIGNOF(uint8_t); # 3463| /* xcb_input_feedback_state_data_t.bell.pitch */ # 3464| _aux->bell.pitch = *(uint16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3467:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3465| xcb_block_len += sizeof(uint16_t); # 3466| xcb_tmp += sizeof(uint16_t); # 3467|-> xcb_align_to = ALIGNOF(uint16_t); # 3468| /* xcb_input_feedback_state_data_t.bell.duration */ # 3469| _aux->bell.duration = *(uint16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3478:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3476| xcb_buffer_len += xcb_block_len + xcb_pad; # 3477| if (0 != xcb_pad) { # 3478|-> xcb_tmp += xcb_pad; # 3479| xcb_pad = 0; # 3480| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3479:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3477| if (0 != xcb_pad) { # 3478| xcb_tmp += xcb_pad; # 3479|-> xcb_pad = 0; # 3480| } # 3481| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3481:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3479| xcb_pad = 0; # 3480| } # 3481|-> xcb_block_len = 0; # 3482| xcb_padding_offset = 0; # 3483| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3482:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 3480| } # 3481| xcb_block_len = 0; # 3482|-> xcb_padding_offset = 0; # 3483| # 3484| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3518:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3516| xcb_buffer_len += xcb_block_len + xcb_pad; # 3517| if (0 != xcb_pad) { # 3518|-> xcb_tmp += xcb_pad; # 3519| xcb_pad = 0; # 3520| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3519:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3517| if (0 != xcb_pad) { # 3518| xcb_tmp += xcb_pad; # 3519|-> xcb_pad = 0; # 3520| } # 3521| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3521:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3519| xcb_pad = 0; # 3520| } # 3521|-> xcb_block_len = 0; # 3522| # 3523| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3583:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3581| xcb_buffer_len += xcb_block_len + xcb_pad; # 3582| if (0 != xcb_pad) { # 3583|-> xcb_tmp += xcb_pad; # 3584| xcb_pad = 0; # 3585| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3584:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3582| if (0 != xcb_pad) { # 3583| xcb_tmp += xcb_pad; # 3584|-> xcb_pad = 0; # 3585| } # 3586| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3586:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3584| xcb_pad = 0; # 3585| } # 3586|-> xcb_block_len = 0; # 3587| # 3588| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3746:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 3744| xcb_buffer_len += xcb_block_len + xcb_pad; # 3745| if (0 != xcb_pad) { # 3746|-> xcb_tmp += xcb_pad; # 3747| xcb_pad = 0; # 3748| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3747:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3745| if (0 != xcb_pad) { # 3746| xcb_tmp += xcb_pad; # 3747|-> xcb_pad = 0; # 3748| } # 3749| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3749:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 3747| xcb_pad = 0; # 3748| } # 3749|-> xcb_block_len = 0; # 3750| # 3751| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3883:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3881| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_input_key_code_t); # 3882| xcb_parts_idx++; # 3883|-> xcb_align_to = ALIGNOF(xcb_input_key_code_t); # 3884| /* xcb_input_feedback_ctl_data_t.keyboard.auto_repeat_mode */ # 3885| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.auto_repeat_mode; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3889:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3887| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 3888| xcb_parts_idx++; # 3889|-> xcb_align_to = ALIGNOF(uint8_t); # 3890| /* xcb_input_feedback_ctl_data_t.keyboard.key_click_percent */ # 3891| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.key_click_percent; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3895:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3893| xcb_parts[xcb_parts_idx].iov_len = sizeof(int8_t); # 3894| xcb_parts_idx++; # 3895|-> xcb_align_to = ALIGNOF(int8_t); # 3896| /* xcb_input_feedback_ctl_data_t.keyboard.bell_percent */ # 3897| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.bell_percent; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3901:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3899| xcb_parts[xcb_parts_idx].iov_len = sizeof(int8_t); # 3900| xcb_parts_idx++; # 3901|-> xcb_align_to = ALIGNOF(int8_t); # 3902| /* xcb_input_feedback_ctl_data_t.keyboard.bell_pitch */ # 3903| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.bell_pitch; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3907:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3905| xcb_parts[xcb_parts_idx].iov_len = sizeof(int16_t); # 3906| xcb_parts_idx++; # 3907|-> xcb_align_to = ALIGNOF(int16_t); # 3908| /* xcb_input_feedback_ctl_data_t.keyboard.bell_duration */ # 3909| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.bell_duration; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3913:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3911| xcb_parts[xcb_parts_idx].iov_len = sizeof(int16_t); # 3912| xcb_parts_idx++; # 3913|-> xcb_align_to = ALIGNOF(int16_t); # 3914| /* xcb_input_feedback_ctl_data_t.keyboard.led_mask */ # 3915| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.led_mask; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3919:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3917| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 3918| xcb_parts_idx++; # 3919|-> xcb_align_to = ALIGNOF(uint32_t); # 3920| /* xcb_input_feedback_ctl_data_t.keyboard.led_values */ # 3921| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->keyboard.led_values; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3933:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3931| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t)*2; # 3932| xcb_parts_idx++; # 3933|-> xcb_align_to = ALIGNOF(uint8_t); # 3934| /* xcb_input_feedback_ctl_data_t.pointer.num */ # 3935| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->pointer.num; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3939:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3937| xcb_parts[xcb_parts_idx].iov_len = sizeof(int16_t); # 3938| xcb_parts_idx++; # 3939|-> xcb_align_to = ALIGNOF(int16_t); # 3940| /* xcb_input_feedback_ctl_data_t.pointer.denom */ # 3941| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->pointer.denom; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3945:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3943| xcb_parts[xcb_parts_idx].iov_len = sizeof(int16_t); # 3944| xcb_parts_idx++; # 3945|-> xcb_align_to = ALIGNOF(int16_t); # 3946| /* xcb_input_feedback_ctl_data_t.pointer.threshold */ # 3947| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->pointer.threshold; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3959:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3957| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t)*2; # 3958| xcb_parts_idx++; # 3959|-> xcb_align_to = ALIGNOF(uint8_t); # 3960| /* xcb_input_feedback_ctl_data_t.string.num_keysyms */ # 3961| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->string.num_keysyms; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3973:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 3971| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 3972| xcb_parts_idx++; # 3973|-> xcb_pad = 0; # 3974| } # 3975| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:3998:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 3996| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 3997| xcb_parts_idx++; # 3998|-> xcb_align_to = ALIGNOF(uint32_t); # 3999| /* xcb_input_feedback_ctl_data_t.led.led_values */ # 4000| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->led.led_values; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4012:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4010| xcb_parts[xcb_parts_idx].iov_len = sizeof(int8_t); # 4011| xcb_parts_idx++; # 4012|-> xcb_align_to = ALIGNOF(int8_t); # 4013| /* xcb_input_feedback_ctl_data_t.bell.pad2 */ # 4014| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4018:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4016| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t)*3; # 4017| xcb_parts_idx++; # 4018|-> xcb_align_to = ALIGNOF(uint8_t); # 4019| /* xcb_input_feedback_ctl_data_t.bell.pitch */ # 4020| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->bell.pitch; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4024:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4022| xcb_parts[xcb_parts_idx].iov_len = sizeof(int16_t); # 4023| xcb_parts_idx++; # 4024|-> xcb_align_to = ALIGNOF(int16_t); # 4025| /* xcb_input_feedback_ctl_data_t.bell.duration */ # 4026| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->bell.duration; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4039:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4037| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 4038| xcb_parts_idx++; # 4039|-> xcb_pad = 0; # 4040| } # 4041| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4041:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4039| xcb_pad = 0; # 4040| } # 4041|-> xcb_block_len = 0; # 4042| xcb_padding_offset = 0; # 4043| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4042:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 4040| } # 4041| xcb_block_len = 0; # 4042|-> xcb_padding_offset = 0; # 4043| # 4044| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: scope_hint: In function 'xcb_input_feedback_ctl_data_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4053:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 4051| for(i=0; i<xcb_parts_idx; i++) { # 4052| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 4053|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 4054| if (0 != xcb_parts[i].iov_len) # 4055| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4079:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4077| xcb_block_len += sizeof(xcb_input_key_code_t); # 4078| xcb_tmp += sizeof(xcb_input_key_code_t); # 4079|-> xcb_align_to = ALIGNOF(xcb_input_key_code_t); # 4080| /* xcb_input_feedback_ctl_data_t.keyboard.auto_repeat_mode */ # 4081| _aux->keyboard.auto_repeat_mode = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4084:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4082| xcb_block_len += sizeof(uint8_t); # 4083| xcb_tmp += sizeof(uint8_t); # 4084|-> xcb_align_to = ALIGNOF(uint8_t); # 4085| /* xcb_input_feedback_ctl_data_t.keyboard.key_click_percent */ # 4086| _aux->keyboard.key_click_percent = *(int8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4089:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4087| xcb_block_len += sizeof(int8_t); # 4088| xcb_tmp += sizeof(int8_t); # 4089|-> xcb_align_to = ALIGNOF(int8_t); # 4090| /* xcb_input_feedback_ctl_data_t.keyboard.bell_percent */ # 4091| _aux->keyboard.bell_percent = *(int8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4094:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4092| xcb_block_len += sizeof(int8_t); # 4093| xcb_tmp += sizeof(int8_t); # 4094|-> xcb_align_to = ALIGNOF(int8_t); # 4095| /* xcb_input_feedback_ctl_data_t.keyboard.bell_pitch */ # 4096| _aux->keyboard.bell_pitch = *(int16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4099:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4097| xcb_block_len += sizeof(int16_t); # 4098| xcb_tmp += sizeof(int16_t); # 4099|-> xcb_align_to = ALIGNOF(int16_t); # 4100| /* xcb_input_feedback_ctl_data_t.keyboard.bell_duration */ # 4101| _aux->keyboard.bell_duration = *(int16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4104:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4102| xcb_block_len += sizeof(int16_t); # 4103| xcb_tmp += sizeof(int16_t); # 4104|-> xcb_align_to = ALIGNOF(int16_t); # 4105| /* xcb_input_feedback_ctl_data_t.keyboard.led_mask */ # 4106| _aux->keyboard.led_mask = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4109:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4107| xcb_block_len += sizeof(uint32_t); # 4108| xcb_tmp += sizeof(uint32_t); # 4109|-> xcb_align_to = ALIGNOF(uint32_t); # 4110| /* xcb_input_feedback_ctl_data_t.keyboard.led_values */ # 4111| _aux->keyboard.led_values = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4122:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4120| xcb_block_len += sizeof(uint8_t) * 2; # 4121| xcb_tmp += sizeof(uint8_t) * 2; # 4122|-> xcb_align_to = ALIGNOF(uint8_t); # 4123| /* xcb_input_feedback_ctl_data_t.pointer.num */ # 4124| _aux->pointer.num = *(int16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4127:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4125| xcb_block_len += sizeof(int16_t); # 4126| xcb_tmp += sizeof(int16_t); # 4127|-> xcb_align_to = ALIGNOF(int16_t); # 4128| /* xcb_input_feedback_ctl_data_t.pointer.denom */ # 4129| _aux->pointer.denom = *(int16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4132:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4130| xcb_block_len += sizeof(int16_t); # 4131| xcb_tmp += sizeof(int16_t); # 4132|-> xcb_align_to = ALIGNOF(int16_t); # 4133| /* xcb_input_feedback_ctl_data_t.pointer.threshold */ # 4134| _aux->pointer.threshold = *(int16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4145:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4143| xcb_block_len += sizeof(uint8_t) * 2; # 4144| xcb_tmp += sizeof(uint8_t) * 2; # 4145|-> xcb_align_to = ALIGNOF(uint8_t); # 4146| /* xcb_input_feedback_ctl_data_t.string.num_keysyms */ # 4147| _aux->string.num_keysyms = *(uint16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4156:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4154| if (0 != xcb_pad) { # 4155| xcb_tmp += xcb_pad; # 4156|-> xcb_pad = 0; # 4157| } # 4158| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4178:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4176| xcb_block_len += sizeof(uint32_t); # 4177| xcb_tmp += sizeof(uint32_t); # 4178|-> xcb_align_to = ALIGNOF(uint32_t); # 4179| /* xcb_input_feedback_ctl_data_t.led.led_values */ # 4180| _aux->led.led_values = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4190:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4188| xcb_block_len += sizeof(int8_t); # 4189| xcb_tmp += sizeof(int8_t); # 4190|-> xcb_align_to = ALIGNOF(int8_t); # 4191| /* xcb_input_feedback_ctl_data_t.bell.pad2 */ # 4192| _aux->bell.pad2[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4197:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4195| xcb_block_len += sizeof(uint8_t) * 3; # 4196| xcb_tmp += sizeof(uint8_t) * 3; # 4197|-> xcb_align_to = ALIGNOF(uint8_t); # 4198| /* xcb_input_feedback_ctl_data_t.bell.pitch */ # 4199| _aux->bell.pitch = *(int16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4202:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4200| xcb_block_len += sizeof(int16_t); # 4201| xcb_tmp += sizeof(int16_t); # 4202|-> xcb_align_to = ALIGNOF(int16_t); # 4203| /* xcb_input_feedback_ctl_data_t.bell.duration */ # 4204| _aux->bell.duration = *(int16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4213:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4211| xcb_buffer_len += xcb_block_len + xcb_pad; # 4212| if (0 != xcb_pad) { # 4213|-> xcb_tmp += xcb_pad; # 4214| xcb_pad = 0; # 4215| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4214:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4212| if (0 != xcb_pad) { # 4213| xcb_tmp += xcb_pad; # 4214|-> xcb_pad = 0; # 4215| } # 4216| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4216:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4214| xcb_pad = 0; # 4215| } # 4216|-> xcb_block_len = 0; # 4217| xcb_padding_offset = 0; # 4218| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4217:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 4215| } # 4216| xcb_block_len = 0; # 4217|-> xcb_padding_offset = 0; # 4218| # 4219| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4253:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4251| xcb_buffer_len += xcb_block_len + xcb_pad; # 4252| if (0 != xcb_pad) { # 4253|-> xcb_tmp += xcb_pad; # 4254| xcb_pad = 0; # 4255| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4254:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4252| if (0 != xcb_pad) { # 4253| xcb_tmp += xcb_pad; # 4254|-> xcb_pad = 0; # 4255| } # 4256| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4256:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4254| xcb_pad = 0; # 4255| } # 4256|-> xcb_block_len = 0; # 4257| # 4258| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4312:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4310| xcb_buffer_len += xcb_block_len + xcb_pad; # 4311| if (0 != xcb_pad) { # 4312|-> xcb_tmp += xcb_pad; # 4313| xcb_pad = 0; # 4314| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4313:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4311| if (0 != xcb_pad) { # 4312| xcb_tmp += xcb_pad; # 4313|-> xcb_pad = 0; # 4314| } # 4315| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4315:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4313| xcb_pad = 0; # 4314| } # 4315|-> xcb_block_len = 0; # 4316| # 4317| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4421:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4419| xcb_buffer_len += xcb_block_len + xcb_pad; # 4420| if (0 != xcb_pad) { # 4421|-> xcb_tmp += xcb_pad; # 4422| xcb_pad = 0; # 4423| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4422:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4420| if (0 != xcb_pad) { # 4421| xcb_tmp += xcb_pad; # 4422|-> xcb_pad = 0; # 4423| } # 4424| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4424:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4422| xcb_pad = 0; # 4423| } # 4424|-> xcb_block_len = 0; # 4425| # 4426| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4544:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4542| xcb_buffer_len += xcb_block_len + xcb_pad; # 4543| if (0 != xcb_pad) { # 4544|-> xcb_tmp += xcb_pad; # 4545| xcb_pad = 0; # 4546| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4545:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4543| if (0 != xcb_pad) { # 4544| xcb_tmp += xcb_pad; # 4545|-> xcb_pad = 0; # 4546| } # 4547| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4547:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4545| xcb_pad = 0; # 4546| } # 4547|-> xcb_block_len = 0; # 4548| # 4549| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4673:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4671| xcb_buffer_len += xcb_block_len + xcb_pad; # 4672| if (0 != xcb_pad) { # 4673|-> xcb_tmp += xcb_pad; # 4674| xcb_pad = 0; # 4675| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4674:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4672| if (0 != xcb_pad) { # 4673| xcb_tmp += xcb_pad; # 4674|-> xcb_pad = 0; # 4675| } # 4676| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4676:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4674| xcb_pad = 0; # 4675| } # 4676|-> xcb_block_len = 0; # 4677| # 4678| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4788:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4786| xcb_buffer_len += xcb_block_len + xcb_pad; # 4787| if (0 != xcb_pad) { # 4788|-> xcb_tmp += xcb_pad; # 4789| xcb_pad = 0; # 4790| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4789:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4787| if (0 != xcb_pad) { # 4788| xcb_tmp += xcb_pad; # 4789|-> xcb_pad = 0; # 4790| } # 4791| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4791:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4789| xcb_pad = 0; # 4790| } # 4791|-> xcb_block_len = 0; # 4792| # 4793| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4892:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 4890| xcb_block_len += _aux->map_size * sizeof(uint8_t); # 4891| xcb_tmp += xcb_block_len; # 4892|-> xcb_align_to = ALIGNOF(uint8_t); # 4893| xcb_align_to = 4; # 4894| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4899:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4897| if (0 != xcb_pad) { # 4898| xcb_tmp += xcb_pad; # 4899|-> xcb_pad = 0; # 4900| } # 4901| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4906:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 4904| xcb_buffer_len += xcb_block_len + xcb_pad; # 4905| if (0 != xcb_pad) { # 4906|-> xcb_tmp += xcb_pad; # 4907| xcb_pad = 0; # 4908| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4907:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 4905| if (0 != xcb_pad) { # 4906| xcb_tmp += xcb_pad; # 4907|-> xcb_pad = 0; # 4908| } # 4909| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:4909:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 4907| xcb_pad = 0; # 4908| } # 4909|-> xcb_block_len = 0; # 4910| # 4911| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5021:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5019| xcb_buffer_len += xcb_block_len + xcb_pad; # 5020| if (0 != xcb_pad) { # 5021|-> xcb_tmp += xcb_pad; # 5022| xcb_pad = 0; # 5023| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5022:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5020| if (0 != xcb_pad) { # 5021| xcb_tmp += xcb_pad; # 5022|-> xcb_pad = 0; # 5023| } # 5024| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5024:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5022| xcb_pad = 0; # 5023| } # 5024|-> xcb_block_len = 0; # 5025| # 5026| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5166:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5164| xcb_buffer_len += xcb_block_len + xcb_pad; # 5165| if (0 != xcb_pad) { # 5166|-> xcb_tmp += xcb_pad; # 5167| xcb_pad = 0; # 5168| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5167:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5165| if (0 != xcb_pad) { # 5166| xcb_tmp += xcb_pad; # 5167|-> xcb_pad = 0; # 5168| } # 5169| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5169:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5167| xcb_pad = 0; # 5168| } # 5169|-> xcb_block_len = 0; # 5170| # 5171| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5267:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 5265| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 5266| xcb_parts_idx++; # 5267|-> xcb_align_to = ALIGNOF(uint8_t); # 5268| /* xcb_input_input_state_data_t.key.pad0 */ # 5269| xcb_parts[xcb_parts_idx].iov_base = (char *) &xcb_pad; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5273:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 5271| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 5272| xcb_parts_idx++; # 5273|-> xcb_align_to = ALIGNOF(uint8_t); # 5274| /* xcb_input_input_state_data_t.key.keys */ # 5275| xcb_parts[xcb_parts_idx].iov_base = (char *) _aux->key.keys; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5287:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 5285| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 5286| xcb_parts_idx++; # 5287|-> xcb_align_to = ALIGNOF(uint8_t); # 5288| /* xcb_input_input_state_data_t.button.pad1 */ # 5289| xcb_parts[xcb_parts_idx].iov_base = (char *) &xcb_pad; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5293:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 5291| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 5292| xcb_parts_idx++; # 5293|-> xcb_align_to = ALIGNOF(uint8_t); # 5294| /* xcb_input_input_state_data_t.button.buttons */ # 5295| xcb_parts[xcb_parts_idx].iov_base = (char *) _aux->button.buttons; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5307:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 5305| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 5306| xcb_parts_idx++; # 5307|-> xcb_align_to = ALIGNOF(uint8_t); # 5308| /* xcb_input_input_state_data_t.valuator.mode */ # 5309| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->valuator.mode; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5341:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5339| xcb_pad = 0; # 5340| } # 5341|-> xcb_block_len = 0; # 5342| xcb_padding_offset = 0; # 5343| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5342:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 5340| } # 5341| xcb_block_len = 0; # 5342|-> xcb_padding_offset = 0; # 5343| # 5344| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: scope_hint: In function 'xcb_input_input_state_data_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5353:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 5351| for(i=0; i<xcb_parts_idx; i++) { # 5352| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 5353|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 5354| if (0 != xcb_parts[i].iov_len) # 5355| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5379:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 5377| xcb_block_len += sizeof(uint8_t); # 5378| xcb_tmp += sizeof(uint8_t); # 5379|-> xcb_align_to = ALIGNOF(uint8_t); # 5380| /* xcb_input_input_state_data_t.key.pad0 */ # 5381| _aux->key.pad0 = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5384:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 5382| xcb_block_len += sizeof(uint8_t); # 5383| xcb_tmp += sizeof(uint8_t); # 5384|-> xcb_align_to = ALIGNOF(uint8_t); # 5385| /* xcb_input_input_state_data_t.key.keys */ # 5386| memcpy(_aux->key.keys, xcb_tmp, sizeof(uint8_t) * 32); Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5396:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 5394| xcb_block_len += sizeof(uint8_t); # 5395| xcb_tmp += sizeof(uint8_t); # 5396|-> xcb_align_to = ALIGNOF(uint8_t); # 5397| /* xcb_input_input_state_data_t.button.pad1 */ # 5398| _aux->button.pad1 = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5401:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 5399| xcb_block_len += sizeof(uint8_t); # 5400| xcb_tmp += sizeof(uint8_t); # 5401|-> xcb_align_to = ALIGNOF(uint8_t); # 5402| /* xcb_input_input_state_data_t.button.buttons */ # 5403| memcpy(_aux->button.buttons, xcb_tmp, sizeof(uint8_t) * 32); Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5413:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 5411| xcb_block_len += sizeof(uint8_t); # 5412| xcb_tmp += sizeof(uint8_t); # 5413|-> xcb_align_to = ALIGNOF(uint8_t); # 5414| /* xcb_input_input_state_data_t.valuator.mode */ # 5415| _aux->valuator.mode = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5424:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5422| if (0 != xcb_pad) { # 5423| xcb_tmp += xcb_pad; # 5424|-> xcb_pad = 0; # 5425| } # 5426| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5438:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5436| xcb_buffer_len += xcb_block_len + xcb_pad; # 5437| if (0 != xcb_pad) { # 5438|-> xcb_tmp += xcb_pad; # 5439| xcb_pad = 0; # 5440| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5439:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5437| if (0 != xcb_pad) { # 5438| xcb_tmp += xcb_pad; # 5439|-> xcb_pad = 0; # 5440| } # 5441| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5441:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5439| xcb_pad = 0; # 5440| } # 5441|-> xcb_block_len = 0; # 5442| xcb_padding_offset = 0; # 5443| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5442:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 5440| } # 5441| xcb_block_len = 0; # 5442|-> xcb_padding_offset = 0; # 5443| # 5444| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5478:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5476| xcb_buffer_len += xcb_block_len + xcb_pad; # 5477| if (0 != xcb_pad) { # 5478|-> xcb_tmp += xcb_pad; # 5479| xcb_pad = 0; # 5480| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5479:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5477| if (0 != xcb_pad) { # 5478| xcb_tmp += xcb_pad; # 5479|-> xcb_pad = 0; # 5480| } # 5481| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5481:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5479| xcb_pad = 0; # 5480| } # 5481|-> xcb_block_len = 0; # 5482| # 5483| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5543:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5541| xcb_buffer_len += xcb_block_len + xcb_pad; # 5542| if (0 != xcb_pad) { # 5543|-> xcb_tmp += xcb_pad; # 5544| xcb_pad = 0; # 5545| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5544:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5542| if (0 != xcb_pad) { # 5543| xcb_tmp += xcb_pad; # 5544|-> xcb_pad = 0; # 5545| } # 5546| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5546:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5544| xcb_pad = 0; # 5545| } # 5546|-> xcb_block_len = 0; # 5547| # 5548| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5716:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5714| xcb_buffer_len += xcb_block_len + xcb_pad; # 5715| if (0 != xcb_pad) { # 5716|-> xcb_tmp += xcb_pad; # 5717| xcb_pad = 0; # 5718| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5717:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5715| if (0 != xcb_pad) { # 5716| xcb_tmp += xcb_pad; # 5717|-> xcb_pad = 0; # 5718| } # 5719| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5719:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5717| xcb_pad = 0; # 5718| } # 5719|-> xcb_block_len = 0; # 5720| # 5721| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5830:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5828| if (0 != xcb_pad) { # 5829| xcb_tmp += xcb_pad; # 5830|-> xcb_pad = 0; # 5831| } # 5832| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5842:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5840| if (0 != xcb_pad) { # 5841| xcb_tmp += xcb_pad; # 5842|-> xcb_pad = 0; # 5843| } # 5844| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5853:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 5851| xcb_buffer_len += xcb_block_len + xcb_pad; # 5852| if (0 != xcb_pad) { # 5853|-> xcb_tmp += xcb_pad; # 5854| xcb_pad = 0; # 5855| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5854:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 5852| if (0 != xcb_pad) { # 5853| xcb_tmp += xcb_pad; # 5854|-> xcb_pad = 0; # 5855| } # 5856| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:5856:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 5854| xcb_pad = 0; # 5855| } # 5856|-> xcb_block_len = 0; # 5857| # 5858| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6130:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6128| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 6129| xcb_parts_idx++; # 6130|-> xcb_pad = 0; # 6131| } # 6132| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6147:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6145| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 6146| xcb_parts_idx++; # 6147|-> xcb_pad = 0; # 6148| } # 6149| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6164:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6162| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 6163| xcb_parts_idx++; # 6164|-> xcb_pad = 0; # 6165| } # 6166| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6181:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6179| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 6180| xcb_parts_idx++; # 6181|-> xcb_align_to = ALIGNOF(int32_t); # 6182| /* xcb_input_device_state_data_t.abs_calib.max_x */ # 6183| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.max_x; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6187:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6185| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 6186| xcb_parts_idx++; # 6187|-> xcb_align_to = ALIGNOF(int32_t); # 6188| /* xcb_input_device_state_data_t.abs_calib.min_y */ # 6189| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.min_y; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6193:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6191| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 6192| xcb_parts_idx++; # 6193|-> xcb_align_to = ALIGNOF(int32_t); # 6194| /* xcb_input_device_state_data_t.abs_calib.max_y */ # 6195| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.max_y; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6199:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6197| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 6198| xcb_parts_idx++; # 6199|-> xcb_align_to = ALIGNOF(int32_t); # 6200| /* xcb_input_device_state_data_t.abs_calib.flip_x */ # 6201| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.flip_x; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6205:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6203| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6204| xcb_parts_idx++; # 6205|-> xcb_align_to = ALIGNOF(uint32_t); # 6206| /* xcb_input_device_state_data_t.abs_calib.flip_y */ # 6207| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.flip_y; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6211:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6209| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6210| xcb_parts_idx++; # 6211|-> xcb_align_to = ALIGNOF(uint32_t); # 6212| /* xcb_input_device_state_data_t.abs_calib.rotation */ # 6213| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.rotation; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6217:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6215| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6216| xcb_parts_idx++; # 6217|-> xcb_align_to = ALIGNOF(uint32_t); # 6218| /* xcb_input_device_state_data_t.abs_calib.button_threshold */ # 6219| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.button_threshold; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6231:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6229| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 6230| xcb_parts_idx++; # 6231|-> xcb_align_to = ALIGNOF(uint8_t); # 6232| /* xcb_input_device_state_data_t.core.iscore */ # 6233| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->core.iscore; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6237:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6235| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 6236| xcb_parts_idx++; # 6237|-> xcb_align_to = ALIGNOF(uint8_t); # 6238| /* xcb_input_device_state_data_t.core.pad0 */ # 6239| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6251:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6249| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 6250| xcb_parts_idx++; # 6251|-> xcb_align_to = ALIGNOF(uint8_t); # 6252| /* xcb_input_device_state_data_t.enable.pad1 */ # 6253| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6265:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6263| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6264| xcb_parts_idx++; # 6265|-> xcb_align_to = ALIGNOF(uint32_t); # 6266| /* xcb_input_device_state_data_t.abs_area.offset_y */ # 6267| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_area.offset_y; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6271:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6269| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6270| xcb_parts_idx++; # 6271|-> xcb_align_to = ALIGNOF(uint32_t); # 6272| /* xcb_input_device_state_data_t.abs_area.width */ # 6273| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_area.width; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6277:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6275| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6276| xcb_parts_idx++; # 6277|-> xcb_align_to = ALIGNOF(uint32_t); # 6278| /* xcb_input_device_state_data_t.abs_area.height */ # 6279| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_area.height; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6283:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6281| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6282| xcb_parts_idx++; # 6283|-> xcb_align_to = ALIGNOF(uint32_t); # 6284| /* xcb_input_device_state_data_t.abs_area.screen */ # 6285| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_area.screen; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6289:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6287| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6288| xcb_parts_idx++; # 6289|-> xcb_align_to = ALIGNOF(uint32_t); # 6290| /* xcb_input_device_state_data_t.abs_area.following */ # 6291| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_area.following; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6304:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6302| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 6303| xcb_parts_idx++; # 6304|-> xcb_pad = 0; # 6305| } # 6306| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6306:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6304| xcb_pad = 0; # 6305| } # 6306|-> xcb_block_len = 0; # 6307| xcb_padding_offset = 0; # 6308| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6307:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 6305| } # 6306| xcb_block_len = 0; # 6307|-> xcb_padding_offset = 0; # 6308| # 6309| if (NULL == xcb_out) { Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6350:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6348| if (0 != xcb_pad) { # 6349| xcb_tmp += xcb_pad; # 6350|-> xcb_pad = 0; # 6351| } # 6352| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6364:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6362| if (0 != xcb_pad) { # 6363| xcb_tmp += xcb_pad; # 6364|-> xcb_pad = 0; # 6365| } # 6366| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6378:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6376| if (0 != xcb_pad) { # 6377| xcb_tmp += xcb_pad; # 6378|-> xcb_pad = 0; # 6379| } # 6380| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6393:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6391| xcb_block_len += sizeof(int32_t); # 6392| xcb_tmp += sizeof(int32_t); # 6393|-> xcb_align_to = ALIGNOF(int32_t); # 6394| /* xcb_input_device_state_data_t.abs_calib.max_x */ # 6395| _aux->abs_calib.max_x = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6398:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6396| xcb_block_len += sizeof(int32_t); # 6397| xcb_tmp += sizeof(int32_t); # 6398|-> xcb_align_to = ALIGNOF(int32_t); # 6399| /* xcb_input_device_state_data_t.abs_calib.min_y */ # 6400| _aux->abs_calib.min_y = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6403:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6401| xcb_block_len += sizeof(int32_t); # 6402| xcb_tmp += sizeof(int32_t); # 6403|-> xcb_align_to = ALIGNOF(int32_t); # 6404| /* xcb_input_device_state_data_t.abs_calib.max_y */ # 6405| _aux->abs_calib.max_y = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6408:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6406| xcb_block_len += sizeof(int32_t); # 6407| xcb_tmp += sizeof(int32_t); # 6408|-> xcb_align_to = ALIGNOF(int32_t); # 6409| /* xcb_input_device_state_data_t.abs_calib.flip_x */ # 6410| _aux->abs_calib.flip_x = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6413:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6411| xcb_block_len += sizeof(uint32_t); # 6412| xcb_tmp += sizeof(uint32_t); # 6413|-> xcb_align_to = ALIGNOF(uint32_t); # 6414| /* xcb_input_device_state_data_t.abs_calib.flip_y */ # 6415| _aux->abs_calib.flip_y = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6418:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6416| xcb_block_len += sizeof(uint32_t); # 6417| xcb_tmp += sizeof(uint32_t); # 6418|-> xcb_align_to = ALIGNOF(uint32_t); # 6419| /* xcb_input_device_state_data_t.abs_calib.rotation */ # 6420| _aux->abs_calib.rotation = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6423:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6421| xcb_block_len += sizeof(uint32_t); # 6422| xcb_tmp += sizeof(uint32_t); # 6423|-> xcb_align_to = ALIGNOF(uint32_t); # 6424| /* xcb_input_device_state_data_t.abs_calib.button_threshold */ # 6425| _aux->abs_calib.button_threshold = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6435:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6433| xcb_block_len += sizeof(uint8_t); # 6434| xcb_tmp += sizeof(uint8_t); # 6435|-> xcb_align_to = ALIGNOF(uint8_t); # 6436| /* xcb_input_device_state_data_t.core.iscore */ # 6437| _aux->core.iscore = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6440:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6438| xcb_block_len += sizeof(uint8_t); # 6439| xcb_tmp += sizeof(uint8_t); # 6440|-> xcb_align_to = ALIGNOF(uint8_t); # 6441| /* xcb_input_device_state_data_t.core.pad0 */ # 6442| _aux->core.pad0[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6453:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6451| xcb_block_len += sizeof(uint8_t); # 6452| xcb_tmp += sizeof(uint8_t); # 6453|-> xcb_align_to = ALIGNOF(uint8_t); # 6454| /* xcb_input_device_state_data_t.enable.pad1 */ # 6455| _aux->enable.pad1[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6467:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6465| xcb_block_len += sizeof(uint32_t); # 6466| xcb_tmp += sizeof(uint32_t); # 6467|-> xcb_align_to = ALIGNOF(uint32_t); # 6468| /* xcb_input_device_state_data_t.abs_area.offset_y */ # 6469| _aux->abs_area.offset_y = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6472:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6470| xcb_block_len += sizeof(uint32_t); # 6471| xcb_tmp += sizeof(uint32_t); # 6472|-> xcb_align_to = ALIGNOF(uint32_t); # 6473| /* xcb_input_device_state_data_t.abs_area.width */ # 6474| _aux->abs_area.width = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6477:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6475| xcb_block_len += sizeof(uint32_t); # 6476| xcb_tmp += sizeof(uint32_t); # 6477|-> xcb_align_to = ALIGNOF(uint32_t); # 6478| /* xcb_input_device_state_data_t.abs_area.height */ # 6479| _aux->abs_area.height = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6482:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6480| xcb_block_len += sizeof(uint32_t); # 6481| xcb_tmp += sizeof(uint32_t); # 6482|-> xcb_align_to = ALIGNOF(uint32_t); # 6483| /* xcb_input_device_state_data_t.abs_area.screen */ # 6484| _aux->abs_area.screen = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6487:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6485| xcb_block_len += sizeof(uint32_t); # 6486| xcb_tmp += sizeof(uint32_t); # 6487|-> xcb_align_to = ALIGNOF(uint32_t); # 6488| /* xcb_input_device_state_data_t.abs_area.following */ # 6489| _aux->abs_area.following = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6498:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6496| xcb_buffer_len += xcb_block_len + xcb_pad; # 6497| if (0 != xcb_pad) { # 6498|-> xcb_tmp += xcb_pad; # 6499| xcb_pad = 0; # 6500| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6499:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6497| if (0 != xcb_pad) { # 6498| xcb_tmp += xcb_pad; # 6499|-> xcb_pad = 0; # 6500| } # 6501| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6501:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6499| xcb_pad = 0; # 6500| } # 6501|-> xcb_block_len = 0; # 6502| xcb_padding_offset = 0; # 6503| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6502:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 6500| } # 6501| xcb_block_len = 0; # 6502|-> xcb_padding_offset = 0; # 6503| # 6504| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6538:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6536| xcb_buffer_len += xcb_block_len + xcb_pad; # 6537| if (0 != xcb_pad) { # 6538|-> xcb_tmp += xcb_pad; # 6539| xcb_pad = 0; # 6540| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6539:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6537| if (0 != xcb_pad) { # 6538| xcb_tmp += xcb_pad; # 6539|-> xcb_pad = 0; # 6540| } # 6541| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6541:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6539| xcb_pad = 0; # 6540| } # 6541|-> xcb_block_len = 0; # 6542| # 6543| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6597:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6595| xcb_buffer_len += xcb_block_len + xcb_pad; # 6596| if (0 != xcb_pad) { # 6597|-> xcb_tmp += xcb_pad; # 6598| xcb_pad = 0; # 6599| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6598:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6596| if (0 != xcb_pad) { # 6597| xcb_tmp += xcb_pad; # 6598|-> xcb_pad = 0; # 6599| } # 6600| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6600:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6598| xcb_pad = 0; # 6599| } # 6600|-> xcb_block_len = 0; # 6601| # 6602| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6700:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 6698| xcb_buffer_len += xcb_block_len + xcb_pad; # 6699| if (0 != xcb_pad) { # 6700|-> xcb_tmp += xcb_pad; # 6701| xcb_pad = 0; # 6702| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6701:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6699| if (0 != xcb_pad) { # 6700| xcb_tmp += xcb_pad; # 6701|-> xcb_pad = 0; # 6702| } # 6703| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6703:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 6701| xcb_pad = 0; # 6702| } # 6703|-> xcb_block_len = 0; # 6704| # 6705| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6873:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6871| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 6872| xcb_parts_idx++; # 6873|-> xcb_align_to = ALIGNOF(uint8_t); # 6874| /* xcb_input_device_ctl_data_t.resolution.num_valuators */ # 6875| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->resolution.num_valuators; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6879:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6877| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 6878| xcb_parts_idx++; # 6879|-> xcb_align_to = ALIGNOF(uint8_t); # 6880| /* xcb_input_device_ctl_data_t.resolution.pad0 */ # 6881| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6893:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 6891| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 6892| xcb_parts_idx++; # 6893|-> xcb_pad = 0; # 6894| } # 6895| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6910:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6908| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 6909| xcb_parts_idx++; # 6910|-> xcb_align_to = ALIGNOF(int32_t); # 6911| /* xcb_input_device_ctl_data_t.abs_calib.max_x */ # 6912| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.max_x; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6916:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6914| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 6915| xcb_parts_idx++; # 6916|-> xcb_align_to = ALIGNOF(int32_t); # 6917| /* xcb_input_device_ctl_data_t.abs_calib.min_y */ # 6918| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.min_y; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6922:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6920| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 6921| xcb_parts_idx++; # 6922|-> xcb_align_to = ALIGNOF(int32_t); # 6923| /* xcb_input_device_ctl_data_t.abs_calib.max_y */ # 6924| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.max_y; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6928:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6926| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 6927| xcb_parts_idx++; # 6928|-> xcb_align_to = ALIGNOF(int32_t); # 6929| /* xcb_input_device_ctl_data_t.abs_calib.flip_x */ # 6930| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.flip_x; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6934:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6932| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6933| xcb_parts_idx++; # 6934|-> xcb_align_to = ALIGNOF(uint32_t); # 6935| /* xcb_input_device_ctl_data_t.abs_calib.flip_y */ # 6936| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.flip_y; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6940:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6938| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6939| xcb_parts_idx++; # 6940|-> xcb_align_to = ALIGNOF(uint32_t); # 6941| /* xcb_input_device_ctl_data_t.abs_calib.rotation */ # 6942| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.rotation; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6946:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6944| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6945| xcb_parts_idx++; # 6946|-> xcb_align_to = ALIGNOF(uint32_t); # 6947| /* xcb_input_device_ctl_data_t.abs_calib.button_threshold */ # 6948| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_calib.button_threshold; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6960:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6958| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 6959| xcb_parts_idx++; # 6960|-> xcb_align_to = ALIGNOF(uint8_t); # 6961| /* xcb_input_device_ctl_data_t.core.pad1 */ # 6962| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6974:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6972| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 6973| xcb_parts_idx++; # 6974|-> xcb_align_to = ALIGNOF(uint8_t); # 6975| /* xcb_input_device_ctl_data_t.enable.pad2 */ # 6976| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6988:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6986| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6987| xcb_parts_idx++; # 6988|-> xcb_align_to = ALIGNOF(uint32_t); # 6989| /* xcb_input_device_ctl_data_t.abs_area.offset_y */ # 6990| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_area.offset_y; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:6994:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6992| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); # 6993| xcb_parts_idx++; # 6994|-> xcb_align_to = ALIGNOF(uint32_t); # 6995| /* xcb_input_device_ctl_data_t.abs_area.width */ # 6996| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_area.width; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7000:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 6998| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 6999| xcb_parts_idx++; # 7000|-> xcb_align_to = ALIGNOF(int32_t); # 7001| /* xcb_input_device_ctl_data_t.abs_area.height */ # 7002| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_area.height; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7006:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7004| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 7005| xcb_parts_idx++; # 7006|-> xcb_align_to = ALIGNOF(int32_t); # 7007| /* xcb_input_device_ctl_data_t.abs_area.screen */ # 7008| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_area.screen; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7012:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7010| xcb_parts[xcb_parts_idx].iov_len = sizeof(int32_t); # 7011| xcb_parts_idx++; # 7012|-> xcb_align_to = ALIGNOF(int32_t); # 7013| /* xcb_input_device_ctl_data_t.abs_area.following */ # 7014| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->abs_area.following; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7027:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7025| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 7026| xcb_parts_idx++; # 7027|-> xcb_pad = 0; # 7028| } # 7029| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7029:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7027| xcb_pad = 0; # 7028| } # 7029|-> xcb_block_len = 0; # 7030| xcb_padding_offset = 0; # 7031| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7030:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 7028| } # 7029| xcb_block_len = 0; # 7030|-> xcb_padding_offset = 0; # 7031| # 7032| if (NULL == xcb_out) { Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7067:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7065| xcb_block_len += sizeof(uint8_t); # 7066| xcb_tmp += sizeof(uint8_t); # 7067|-> xcb_align_to = ALIGNOF(uint8_t); # 7068| /* xcb_input_device_ctl_data_t.resolution.num_valuators */ # 7069| _aux->resolution.num_valuators = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7072:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7070| xcb_block_len += sizeof(uint8_t); # 7071| xcb_tmp += sizeof(uint8_t); # 7072|-> xcb_align_to = ALIGNOF(uint8_t); # 7073| /* xcb_input_device_ctl_data_t.resolution.pad0 */ # 7074| _aux->resolution.pad0[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7084:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7082| if (0 != xcb_pad) { # 7083| xcb_tmp += xcb_pad; # 7084|-> xcb_pad = 0; # 7085| } # 7086| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7099:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7097| xcb_block_len += sizeof(int32_t); # 7098| xcb_tmp += sizeof(int32_t); # 7099|-> xcb_align_to = ALIGNOF(int32_t); # 7100| /* xcb_input_device_ctl_data_t.abs_calib.max_x */ # 7101| _aux->abs_calib.max_x = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7104:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7102| xcb_block_len += sizeof(int32_t); # 7103| xcb_tmp += sizeof(int32_t); # 7104|-> xcb_align_to = ALIGNOF(int32_t); # 7105| /* xcb_input_device_ctl_data_t.abs_calib.min_y */ # 7106| _aux->abs_calib.min_y = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7109:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7107| xcb_block_len += sizeof(int32_t); # 7108| xcb_tmp += sizeof(int32_t); # 7109|-> xcb_align_to = ALIGNOF(int32_t); # 7110| /* xcb_input_device_ctl_data_t.abs_calib.max_y */ # 7111| _aux->abs_calib.max_y = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7114:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7112| xcb_block_len += sizeof(int32_t); # 7113| xcb_tmp += sizeof(int32_t); # 7114|-> xcb_align_to = ALIGNOF(int32_t); # 7115| /* xcb_input_device_ctl_data_t.abs_calib.flip_x */ # 7116| _aux->abs_calib.flip_x = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7119:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7117| xcb_block_len += sizeof(uint32_t); # 7118| xcb_tmp += sizeof(uint32_t); # 7119|-> xcb_align_to = ALIGNOF(uint32_t); # 7120| /* xcb_input_device_ctl_data_t.abs_calib.flip_y */ # 7121| _aux->abs_calib.flip_y = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7124:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7122| xcb_block_len += sizeof(uint32_t); # 7123| xcb_tmp += sizeof(uint32_t); # 7124|-> xcb_align_to = ALIGNOF(uint32_t); # 7125| /* xcb_input_device_ctl_data_t.abs_calib.rotation */ # 7126| _aux->abs_calib.rotation = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7129:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7127| xcb_block_len += sizeof(uint32_t); # 7128| xcb_tmp += sizeof(uint32_t); # 7129|-> xcb_align_to = ALIGNOF(uint32_t); # 7130| /* xcb_input_device_ctl_data_t.abs_calib.button_threshold */ # 7131| _aux->abs_calib.button_threshold = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7141:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7139| xcb_block_len += sizeof(uint8_t); # 7140| xcb_tmp += sizeof(uint8_t); # 7141|-> xcb_align_to = ALIGNOF(uint8_t); # 7142| /* xcb_input_device_ctl_data_t.core.pad1 */ # 7143| _aux->core.pad1[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7155:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7153| xcb_block_len += sizeof(uint8_t); # 7154| xcb_tmp += sizeof(uint8_t); # 7155|-> xcb_align_to = ALIGNOF(uint8_t); # 7156| /* xcb_input_device_ctl_data_t.enable.pad2 */ # 7157| _aux->enable.pad2[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7169:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7167| xcb_block_len += sizeof(uint32_t); # 7168| xcb_tmp += sizeof(uint32_t); # 7169|-> xcb_align_to = ALIGNOF(uint32_t); # 7170| /* xcb_input_device_ctl_data_t.abs_area.offset_y */ # 7171| _aux->abs_area.offset_y = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7174:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7172| xcb_block_len += sizeof(uint32_t); # 7173| xcb_tmp += sizeof(uint32_t); # 7174|-> xcb_align_to = ALIGNOF(uint32_t); # 7175| /* xcb_input_device_ctl_data_t.abs_area.width */ # 7176| _aux->abs_area.width = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7179:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7177| xcb_block_len += sizeof(int32_t); # 7178| xcb_tmp += sizeof(int32_t); # 7179|-> xcb_align_to = ALIGNOF(int32_t); # 7180| /* xcb_input_device_ctl_data_t.abs_area.height */ # 7181| _aux->abs_area.height = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7184:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7182| xcb_block_len += sizeof(int32_t); # 7183| xcb_tmp += sizeof(int32_t); # 7184|-> xcb_align_to = ALIGNOF(int32_t); # 7185| /* xcb_input_device_ctl_data_t.abs_area.screen */ # 7186| _aux->abs_area.screen = *(int32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7189:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7187| xcb_block_len += sizeof(int32_t); # 7188| xcb_tmp += sizeof(int32_t); # 7189|-> xcb_align_to = ALIGNOF(int32_t); # 7190| /* xcb_input_device_ctl_data_t.abs_area.following */ # 7191| _aux->abs_area.following = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7200:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7198| xcb_buffer_len += xcb_block_len + xcb_pad; # 7199| if (0 != xcb_pad) { # 7200|-> xcb_tmp += xcb_pad; # 7201| xcb_pad = 0; # 7202| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7201:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7199| if (0 != xcb_pad) { # 7200| xcb_tmp += xcb_pad; # 7201|-> xcb_pad = 0; # 7202| } # 7203| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7203:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7201| xcb_pad = 0; # 7202| } # 7203|-> xcb_block_len = 0; # 7204| xcb_padding_offset = 0; # 7205| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7204:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 7202| } # 7203| xcb_block_len = 0; # 7204|-> xcb_padding_offset = 0; # 7205| # 7206| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7240:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7238| xcb_buffer_len += xcb_block_len + xcb_pad; # 7239| if (0 != xcb_pad) { # 7240|-> xcb_tmp += xcb_pad; # 7241| xcb_pad = 0; # 7242| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7241:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7239| if (0 != xcb_pad) { # 7240| xcb_tmp += xcb_pad; # 7241|-> xcb_pad = 0; # 7242| } # 7243| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7243:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7241| xcb_pad = 0; # 7242| } # 7243|-> xcb_block_len = 0; # 7244| # 7245| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7299:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7297| xcb_buffer_len += xcb_block_len + xcb_pad; # 7298| if (0 != xcb_pad) { # 7299|-> xcb_tmp += xcb_pad; # 7300| xcb_pad = 0; # 7301| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7300:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7298| if (0 != xcb_pad) { # 7299| xcb_tmp += xcb_pad; # 7300|-> xcb_pad = 0; # 7301| } # 7302| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7302:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7300| xcb_pad = 0; # 7301| } # 7302|-> xcb_block_len = 0; # 7303| # 7304| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7406:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7404| xcb_buffer_len += xcb_block_len + xcb_pad; # 7405| if (0 != xcb_pad) { # 7406|-> xcb_tmp += xcb_pad; # 7407| xcb_pad = 0; # 7408| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7407:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7405| if (0 != xcb_pad) { # 7406| xcb_tmp += xcb_pad; # 7407|-> xcb_pad = 0; # 7408| } # 7409| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7409:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7407| xcb_pad = 0; # 7408| } # 7409|-> xcb_block_len = 0; # 7410| # 7411| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7597:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7595| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 7596| xcb_parts_idx++; # 7597|-> xcb_pad = 0; # 7598| } # 7599| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7606:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7604| xcb_parts[xcb_parts_idx].iov_len = num_items * sizeof(uint8_t); # 7605| xcb_parts_idx++; # 7606|-> xcb_align_to = ALIGNOF(uint8_t); # 7607| xcb_align_to = 4; # 7608| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7615:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7613| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 7614| xcb_parts_idx++; # 7615|-> xcb_pad = 0; # 7616| } # 7617| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7628:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7626| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 7627| xcb_parts_idx++; # 7628|-> xcb_pad = 0; # 7629| } # 7630| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7637:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7635| xcb_parts[xcb_parts_idx].iov_len = num_items * sizeof(uint16_t); # 7636| xcb_parts_idx++; # 7637|-> xcb_align_to = ALIGNOF(uint16_t); # 7638| xcb_align_to = 4; # 7639| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7646:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7644| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 7645| xcb_parts_idx++; # 7646|-> xcb_pad = 0; # 7647| } # 7648| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7659:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7657| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 7658| xcb_parts_idx++; # 7659|-> xcb_pad = 0; # 7660| } # 7661| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7677:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7675| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 7676| xcb_parts_idx++; # 7677|-> xcb_pad = 0; # 7678| } # 7679| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7679:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7677| xcb_pad = 0; # 7678| } # 7679|-> xcb_block_len = 0; # 7680| xcb_padding_offset = 0; # 7681| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7680:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 7678| } # 7679| xcb_block_len = 0; # 7680|-> xcb_padding_offset = 0; # 7681| # 7682| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: scope_hint: In function 'xcb_input_change_device_property_items_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7691:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 7689| for(i=0; i<xcb_parts_idx; i++) { # 7690| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 7691|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 7692| if (0 != xcb_parts[i].iov_len) # 7693| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7719:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7717| if (0 != xcb_pad) { # 7718| xcb_tmp += xcb_pad; # 7719|-> xcb_pad = 0; # 7720| } # 7721| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7727:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7725| xcb_block_len += num_items * sizeof(uint8_t); # 7726| xcb_tmp += xcb_block_len; # 7727|-> xcb_align_to = ALIGNOF(uint8_t); # 7728| xcb_align_to = 4; # 7729| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7734:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7732| if (0 != xcb_pad) { # 7733| xcb_tmp += xcb_pad; # 7734|-> xcb_pad = 0; # 7735| } # 7736| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7745:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7743| if (0 != xcb_pad) { # 7744| xcb_tmp += xcb_pad; # 7745|-> xcb_pad = 0; # 7746| } # 7747| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7753:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 7751| xcb_block_len += num_items * sizeof(uint16_t); # 7752| xcb_tmp += xcb_block_len; # 7753|-> xcb_align_to = ALIGNOF(uint16_t); # 7754| xcb_align_to = 4; # 7755| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7760:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7758| if (0 != xcb_pad) { # 7759| xcb_tmp += xcb_pad; # 7760|-> xcb_pad = 0; # 7761| } # 7762| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7771:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7769| if (0 != xcb_pad) { # 7770| xcb_tmp += xcb_pad; # 7771|-> xcb_pad = 0; # 7772| } # 7773| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7785:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7783| xcb_buffer_len += xcb_block_len + xcb_pad; # 7784| if (0 != xcb_pad) { # 7785|-> xcb_tmp += xcb_pad; # 7786| xcb_pad = 0; # 7787| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7786:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7784| if (0 != xcb_pad) { # 7785| xcb_tmp += xcb_pad; # 7786|-> xcb_pad = 0; # 7787| } # 7788| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7788:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7786| xcb_pad = 0; # 7787| } # 7788|-> xcb_block_len = 0; # 7789| xcb_padding_offset = 0; # 7790| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7789:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 7787| } # 7788| xcb_block_len = 0; # 7789|-> xcb_padding_offset = 0; # 7790| # 7791| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7826:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 7824| xcb_buffer_len += xcb_block_len + xcb_pad; # 7825| if (0 != xcb_pad) { # 7826|-> xcb_tmp += xcb_pad; # 7827| xcb_pad = 0; # 7828| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7827:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 7825| if (0 != xcb_pad) { # 7826| xcb_tmp += xcb_pad; # 7827|-> xcb_pad = 0; # 7828| } # 7829| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:7829:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 7827| xcb_pad = 0; # 7828| } # 7829|-> xcb_block_len = 0; # 7830| # 7831| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8169:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8167| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 8168| xcb_parts_idx++; # 8169|-> xcb_pad = 0; # 8170| } # 8171| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8178:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 8176| xcb_parts[xcb_parts_idx].iov_len = num_items * sizeof(uint8_t); # 8177| xcb_parts_idx++; # 8178|-> xcb_align_to = ALIGNOF(uint8_t); # 8179| xcb_align_to = 4; # 8180| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8187:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8185| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 8186| xcb_parts_idx++; # 8187|-> xcb_pad = 0; # 8188| } # 8189| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8200:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8198| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 8199| xcb_parts_idx++; # 8200|-> xcb_pad = 0; # 8201| } # 8202| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8209:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 8207| xcb_parts[xcb_parts_idx].iov_len = num_items * sizeof(uint16_t); # 8208| xcb_parts_idx++; # 8209|-> xcb_align_to = ALIGNOF(uint16_t); # 8210| xcb_align_to = 4; # 8211| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8218:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8216| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 8217| xcb_parts_idx++; # 8218|-> xcb_pad = 0; # 8219| } # 8220| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8231:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8229| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 8230| xcb_parts_idx++; # 8231|-> xcb_pad = 0; # 8232| } # 8233| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8249:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8247| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; # 8248| xcb_parts_idx++; # 8249|-> xcb_pad = 0; # 8250| } # 8251| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8251:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8249| xcb_pad = 0; # 8250| } # 8251|-> xcb_block_len = 0; # 8252| xcb_padding_offset = 0; # 8253| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8252:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 8250| } # 8251| xcb_block_len = 0; # 8252|-> xcb_padding_offset = 0; # 8253| # 8254| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: scope_hint: In function 'xcb_input_get_device_property_items_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8263:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 8261| for(i=0; i<xcb_parts_idx; i++) { # 8262| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 8263|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 8264| if (0 != xcb_parts[i].iov_len) # 8265| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8291:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8289| if (0 != xcb_pad) { # 8290| xcb_tmp += xcb_pad; # 8291|-> xcb_pad = 0; # 8292| } # 8293| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8299:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 8297| xcb_block_len += num_items * sizeof(uint8_t); # 8298| xcb_tmp += xcb_block_len; # 8299|-> xcb_align_to = ALIGNOF(uint8_t); # 8300| xcb_align_to = 4; # 8301| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8306:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8304| if (0 != xcb_pad) { # 8305| xcb_tmp += xcb_pad; # 8306|-> xcb_pad = 0; # 8307| } # 8308| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8317:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8315| if (0 != xcb_pad) { # 8316| xcb_tmp += xcb_pad; # 8317|-> xcb_pad = 0; # 8318| } # 8319| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8325:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 8323| xcb_block_len += num_items * sizeof(uint16_t); # 8324| xcb_tmp += xcb_block_len; # 8325|-> xcb_align_to = ALIGNOF(uint16_t); # 8326| xcb_align_to = 4; # 8327| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8332:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8330| if (0 != xcb_pad) { # 8331| xcb_tmp += xcb_pad; # 8332|-> xcb_pad = 0; # 8333| } # 8334| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8343:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8341| if (0 != xcb_pad) { # 8342| xcb_tmp += xcb_pad; # 8343|-> xcb_pad = 0; # 8344| } # 8345| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8357:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8355| xcb_buffer_len += xcb_block_len + xcb_pad; # 8356| if (0 != xcb_pad) { # 8357|-> xcb_tmp += xcb_pad; # 8358| xcb_pad = 0; # 8359| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8358:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8356| if (0 != xcb_pad) { # 8357| xcb_tmp += xcb_pad; # 8358|-> xcb_pad = 0; # 8359| } # 8360| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8360:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8358| xcb_pad = 0; # 8359| } # 8360|-> xcb_block_len = 0; # 8361| xcb_padding_offset = 0; # 8362| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8361:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 8359| } # 8360| xcb_block_len = 0; # 8361|-> xcb_padding_offset = 0; # 8362| # 8363| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8398:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8396| xcb_buffer_len += xcb_block_len + xcb_pad; # 8397| if (0 != xcb_pad) { # 8398|-> xcb_tmp += xcb_pad; # 8399| xcb_pad = 0; # 8400| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8399:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8397| if (0 != xcb_pad) { # 8398| xcb_tmp += xcb_pad; # 8399|-> xcb_pad = 0; # 8400| } # 8401| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8401:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8399| xcb_pad = 0; # 8400| } # 8401|-> xcb_block_len = 0; # 8402| # 8403| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8553:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8551| xcb_buffer_len += xcb_block_len + xcb_pad; # 8552| if (0 != xcb_pad) { # 8553|-> xcb_tmp += xcb_pad; # 8554| xcb_pad = 0; # 8555| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8554:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8552| if (0 != xcb_pad) { # 8553| xcb_tmp += xcb_pad; # 8554|-> xcb_pad = 0; # 8555| } # 8556| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8556:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8554| xcb_pad = 0; # 8555| } # 8556|-> xcb_block_len = 0; # 8557| # 8558| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8815:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 8813| xcb_block_len += _aux->name_len * sizeof(char); # 8814| xcb_tmp += xcb_block_len; # 8815|-> xcb_align_to = ALIGNOF(char); # 8816| xcb_align_to = 4; # 8817| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8822:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8820| if (0 != xcb_pad) { # 8821| xcb_tmp += xcb_pad; # 8822|-> xcb_pad = 0; # 8823| } # 8824| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8829:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 8827| xcb_buffer_len += xcb_block_len + xcb_pad; # 8828| if (0 != xcb_pad) { # 8829|-> xcb_tmp += xcb_pad; # 8830| xcb_pad = 0; # 8831| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8830:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 8828| if (0 != xcb_pad) { # 8829| xcb_tmp += xcb_pad; # 8830|-> xcb_pad = 0; # 8831| } # 8832| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8832:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 8830| xcb_pad = 0; # 8831| } # 8832|-> xcb_block_len = 0; # 8833| # 8834| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8984:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 8982| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); # 8983| xcb_parts_idx++; # 8984|-> xcb_align_to = ALIGNOF(uint16_t); # 8985| /* xcb_input_hierarchy_change_data_t.add_master.send_core */ # 8986| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->add_master.send_core; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:8990:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 8988| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 8989| xcb_parts_idx++; # 8990|-> xcb_align_to = ALIGNOF(uint8_t); # 8991| /* xcb_input_hierarchy_change_data_t.add_master.enable */ # 8992| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->add_master.enable; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9013:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9011| xcb_parts[xcb_parts_idx].iov_len = _aux->add_master.name_len * sizeof(char); # 9012| xcb_parts_idx++; # 9013|-> xcb_align_to = ALIGNOF(char); # 9014| xcb_align_to = 4; # 9015| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9033:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9031| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_input_device_id_t); # 9032| xcb_parts_idx++; # 9033|-> xcb_align_to = ALIGNOF(xcb_input_device_id_t); # 9034| /* xcb_input_hierarchy_change_data_t.remove_master.return_mode */ # 9035| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->remove_master.return_mode; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9039:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9037| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 9038| xcb_parts_idx++; # 9039|-> xcb_align_to = ALIGNOF(uint8_t); # 9040| /* xcb_input_hierarchy_change_data_t.remove_master.pad1 */ # 9041| xcb_parts[xcb_parts_idx].iov_base = (char *) &xcb_pad; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9045:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9043| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); # 9044| xcb_parts_idx++; # 9045|-> xcb_align_to = ALIGNOF(uint8_t); # 9046| /* xcb_input_hierarchy_change_data_t.remove_master.return_pointer */ # 9047| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->remove_master.return_pointer; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9051:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9049| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_input_device_id_t); # 9050| xcb_parts_idx++; # 9051|-> xcb_align_to = ALIGNOF(xcb_input_device_id_t); # 9052| /* xcb_input_hierarchy_change_data_t.remove_master.return_keyboard */ # 9053| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->remove_master.return_keyboard; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9065:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9063| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_input_device_id_t); # 9064| xcb_parts_idx++; # 9065|-> xcb_align_to = ALIGNOF(xcb_input_device_id_t); # 9066| /* xcb_input_hierarchy_change_data_t.attach_slave.master */ # 9067| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->attach_slave.master; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9079:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9077| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_input_device_id_t); # 9078| xcb_parts_idx++; # 9079|-> xcb_align_to = ALIGNOF(xcb_input_device_id_t); # 9080| /* xcb_input_hierarchy_change_data_t.detach_slave.pad2 */ # 9081| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9096:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9094| xcb_pad = 0; # 9095| } # 9096|-> xcb_block_len = 0; # 9097| xcb_padding_offset = 0; # 9098| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9097:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 9095| } # 9096| xcb_block_len = 0; # 9097|-> xcb_padding_offset = 0; # 9098| # 9099| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: scope_hint: In function 'xcb_input_hierarchy_change_data_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9108:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 9106| for(i=0; i<xcb_parts_idx; i++) { # 9107| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 9108|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 9109| if (0 != xcb_parts[i].iov_len) # 9110| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9134:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9132| xcb_block_len += sizeof(uint16_t); # 9133| xcb_tmp += sizeof(uint16_t); # 9134|-> xcb_align_to = ALIGNOF(uint16_t); # 9135| /* xcb_input_hierarchy_change_data_t.add_master.send_core */ # 9136| _aux->add_master.send_core = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9139:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9137| xcb_block_len += sizeof(uint8_t); # 9138| xcb_tmp += sizeof(uint8_t); # 9139|-> xcb_align_to = ALIGNOF(uint8_t); # 9140| /* xcb_input_hierarchy_change_data_t.add_master.enable */ # 9141| _aux->add_master.enable = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9150:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9148| if (0 != xcb_pad) { # 9149| xcb_tmp += xcb_pad; # 9150|-> xcb_pad = 0; # 9151| } # 9152| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9158:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9156| xcb_block_len += _aux->add_master.name_len * sizeof(char); # 9157| xcb_tmp += xcb_block_len; # 9158|-> xcb_align_to = ALIGNOF(char); # 9159| xcb_align_to = 4; # 9160| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9165:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9163| if (0 != xcb_pad) { # 9164| xcb_tmp += xcb_pad; # 9165|-> xcb_pad = 0; # 9166| } # 9167| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9175:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9173| xcb_block_len += sizeof(xcb_input_device_id_t); # 9174| xcb_tmp += sizeof(xcb_input_device_id_t); # 9175|-> xcb_align_to = ALIGNOF(xcb_input_device_id_t); # 9176| /* xcb_input_hierarchy_change_data_t.remove_master.return_mode */ # 9177| _aux->remove_master.return_mode = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9180:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9178| xcb_block_len += sizeof(uint8_t); # 9179| xcb_tmp += sizeof(uint8_t); # 9180|-> xcb_align_to = ALIGNOF(uint8_t); # 9181| /* xcb_input_hierarchy_change_data_t.remove_master.pad1 */ # 9182| _aux->remove_master.pad1 = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9185:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9183| xcb_block_len += sizeof(uint8_t); # 9184| xcb_tmp += sizeof(uint8_t); # 9185|-> xcb_align_to = ALIGNOF(uint8_t); # 9186| /* xcb_input_hierarchy_change_data_t.remove_master.return_pointer */ # 9187| _aux->remove_master.return_pointer = *(xcb_input_device_id_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9190:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9188| xcb_block_len += sizeof(xcb_input_device_id_t); # 9189| xcb_tmp += sizeof(xcb_input_device_id_t); # 9190|-> xcb_align_to = ALIGNOF(xcb_input_device_id_t); # 9191| /* xcb_input_hierarchy_change_data_t.remove_master.return_keyboard */ # 9192| _aux->remove_master.return_keyboard = *(xcb_input_device_id_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9202:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9200| xcb_block_len += sizeof(xcb_input_device_id_t); # 9201| xcb_tmp += sizeof(xcb_input_device_id_t); # 9202|-> xcb_align_to = ALIGNOF(xcb_input_device_id_t); # 9203| /* xcb_input_hierarchy_change_data_t.attach_slave.master */ # 9204| _aux->attach_slave.master = *(xcb_input_device_id_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9214:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read # 9212| xcb_block_len += sizeof(xcb_input_device_id_t); # 9213| xcb_tmp += sizeof(xcb_input_device_id_t); # 9214|-> xcb_align_to = ALIGNOF(xcb_input_device_id_t); # 9215| /* xcb_input_hierarchy_change_data_t.detach_slave.pad2 */ # 9216| _aux->detach_slave.pad2[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9226:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9224| xcb_buffer_len += xcb_block_len + xcb_pad; # 9225| if (0 != xcb_pad) { # 9226|-> xcb_tmp += xcb_pad; # 9227| xcb_pad = 0; # 9228| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9227:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9225| if (0 != xcb_pad) { # 9226| xcb_tmp += xcb_pad; # 9227|-> xcb_pad = 0; # 9228| } # 9229| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9229:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9227| xcb_pad = 0; # 9228| } # 9229|-> xcb_block_len = 0; # 9230| xcb_padding_offset = 0; # 9231| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9230:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read # 9228| } # 9229| xcb_block_len = 0; # 9230|-> xcb_padding_offset = 0; # 9231| # 9232| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9266:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9264| xcb_buffer_len += xcb_block_len + xcb_pad; # 9265| if (0 != xcb_pad) { # 9266|-> xcb_tmp += xcb_pad; # 9267| xcb_pad = 0; # 9268| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9267:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9265| if (0 != xcb_pad) { # 9266| xcb_tmp += xcb_pad; # 9267|-> xcb_pad = 0; # 9268| } # 9269| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9269:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9267| xcb_pad = 0; # 9268| } # 9269|-> xcb_block_len = 0; # 9270| # 9271| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9331:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9329| xcb_buffer_len += xcb_block_len + xcb_pad; # 9330| if (0 != xcb_pad) { # 9331|-> xcb_tmp += xcb_pad; # 9332| xcb_pad = 0; # 9333| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9332:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9330| if (0 != xcb_pad) { # 9331| xcb_tmp += xcb_pad; # 9332|-> xcb_pad = 0; # 9333| } # 9334| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9334:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9332| xcb_pad = 0; # 9333| } # 9334|-> xcb_block_len = 0; # 9335| # 9336| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9580:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9578| xcb_buffer_len += xcb_block_len + xcb_pad; # 9579| if (0 != xcb_pad) { # 9580|-> xcb_tmp += xcb_pad; # 9581| xcb_pad = 0; # 9582| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9581:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9579| if (0 != xcb_pad) { # 9580| xcb_tmp += xcb_pad; # 9581|-> xcb_pad = 0; # 9582| } # 9583| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9583:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9581| xcb_pad = 0; # 9582| } # 9583|-> xcb_block_len = 0; # 9584| # 9585| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9661:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9659| xcb_buffer_len += xcb_block_len + xcb_pad; # 9660| if (0 != xcb_pad) { # 9661|-> xcb_tmp += xcb_pad; # 9662| xcb_pad = 0; # 9663| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9662:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9660| if (0 != xcb_pad) { # 9661| xcb_tmp += xcb_pad; # 9662|-> xcb_pad = 0; # 9663| } # 9664| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9664:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9662| xcb_pad = 0; # 9663| } # 9664|-> xcb_block_len = 0; # 9665| # 9666| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9861:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9859| if (0 != xcb_pad) { # 9860| xcb_tmp += xcb_pad; # 9861|-> xcb_pad = 0; # 9862| } # 9863| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9872:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9870| xcb_buffer_len += xcb_block_len + xcb_pad; # 9871| if (0 != xcb_pad) { # 9872|-> xcb_tmp += xcb_pad; # 9873| xcb_pad = 0; # 9874| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9873:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9871| if (0 != xcb_pad) { # 9872| xcb_tmp += xcb_pad; # 9873|-> xcb_pad = 0; # 9874| } # 9875| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9875:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9873| xcb_pad = 0; # 9874| } # 9875|-> xcb_block_len = 0; # 9876| # 9877| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9972:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 9970| xcb_buffer_len += xcb_block_len + xcb_pad; # 9971| if (0 != xcb_pad) { # 9972|-> xcb_tmp += xcb_pad; # 9973| xcb_pad = 0; # 9974| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9973:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 9971| if (0 != xcb_pad) { # 9972| xcb_tmp += xcb_pad; # 9973|-> xcb_pad = 0; # 9974| } # 9975| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:9975:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 9973| xcb_pad = 0; # 9974| } # 9975|-> xcb_block_len = 0; # 9976| # 9977| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10260:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10258| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); #10259| xcb_parts_idx++; #10260|-> xcb_align_to = ALIGNOF(uint16_t); #10261| /* xcb_input_device_class_data_t.valuator.label */ #10262| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->valuator.label; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10266:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10264| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_atom_t); #10265| xcb_parts_idx++; #10266|-> xcb_align_to = ALIGNOF(xcb_atom_t); #10267| /* xcb_input_device_class_data_t.valuator.min */ #10268| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->valuator.min; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10272:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10270| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_input_fp3232_t); #10271| xcb_parts_idx++; #10272|-> xcb_align_to = ALIGNOF(xcb_input_fp3232_t); #10273| /* xcb_input_device_class_data_t.valuator.max */ #10274| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->valuator.max; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10278:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10276| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_input_fp3232_t); #10277| xcb_parts_idx++; #10278|-> xcb_align_to = ALIGNOF(xcb_input_fp3232_t); #10279| /* xcb_input_device_class_data_t.valuator.value */ #10280| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->valuator.value; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10284:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10282| xcb_parts[xcb_parts_idx].iov_len = sizeof(xcb_input_fp3232_t); #10283| xcb_parts_idx++; #10284|-> xcb_align_to = ALIGNOF(xcb_input_fp3232_t); #10285| /* xcb_input_device_class_data_t.valuator.resolution */ #10286| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->valuator.resolution; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10290:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10288| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); #10289| xcb_parts_idx++; #10290|-> xcb_align_to = ALIGNOF(uint32_t); #10291| /* xcb_input_device_class_data_t.valuator.mode */ #10292| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->valuator.mode; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10296:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10294| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); #10295| xcb_parts_idx++; #10296|-> xcb_align_to = ALIGNOF(uint8_t); #10297| /* xcb_input_device_class_data_t.valuator.pad0 */ #10298| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10310:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10308| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); #10309| xcb_parts_idx++; #10310|-> xcb_align_to = ALIGNOF(uint16_t); #10311| /* xcb_input_device_class_data_t.scroll.scroll_type */ #10312| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->scroll.scroll_type; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10316:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10314| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint16_t); #10315| xcb_parts_idx++; #10316|-> xcb_align_to = ALIGNOF(uint16_t); #10317| /* xcb_input_device_class_data_t.scroll.pad1 */ #10318| xcb_parts[xcb_parts_idx].iov_base = xcb_pad0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10322:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10320| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t)*2; #10321| xcb_parts_idx++; #10322|-> xcb_align_to = ALIGNOF(uint8_t); #10323| /* xcb_input_device_class_data_t.scroll.flags */ #10324| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->scroll.flags; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10328:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10326| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint32_t); #10327| xcb_parts_idx++; #10328|-> xcb_align_to = ALIGNOF(uint32_t); #10329| /* xcb_input_device_class_data_t.scroll.increment */ #10330| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->scroll.increment; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10342:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10340| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); #10341| xcb_parts_idx++; #10342|-> xcb_align_to = ALIGNOF(uint8_t); #10343| /* xcb_input_device_class_data_t.touch.num_touches */ #10344| xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->touch.num_touches; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10356:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10354| xcb_parts[xcb_parts_idx].iov_len = sizeof(uint8_t); #10355| xcb_parts_idx++; #10356|-> xcb_align_to = ALIGNOF(uint8_t); #10357| /* xcb_input_device_class_data_t.gesture.pad2 */ #10358| xcb_parts[xcb_parts_idx].iov_base = (char *) &xcb_pad; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10373:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #10371| xcb_pad = 0; #10372| } #10373|-> xcb_block_len = 0; #10374| xcb_padding_offset = 0; #10375| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10374:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read #10372| } #10373| xcb_block_len = 0; #10374|-> xcb_padding_offset = 0; #10375| #10376| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: scope_hint: In function 'xcb_input_device_class_data_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10385:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null #10383| for(i=0; i<xcb_parts_idx; i++) { #10384| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) #10385|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); #10386| if (0 != xcb_parts[i].iov_len) #10387| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10417:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10415| if (0 != xcb_pad) { #10416| xcb_tmp += xcb_pad; #10417|-> xcb_pad = 0; #10418| } #10419| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10438:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10436| if (0 != xcb_pad) { #10437| xcb_tmp += xcb_pad; #10438|-> xcb_pad = 0; #10439| } #10440| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10452:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10450| if (0 != xcb_pad) { #10451| xcb_tmp += xcb_pad; #10452|-> xcb_pad = 0; #10453| } #10454| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10467:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10465| xcb_block_len += sizeof(uint16_t); #10466| xcb_tmp += sizeof(uint16_t); #10467|-> xcb_align_to = ALIGNOF(uint16_t); #10468| /* xcb_input_device_class_data_t.valuator.label */ #10469| _aux->valuator.label = *(xcb_atom_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10472:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10470| xcb_block_len += sizeof(xcb_atom_t); #10471| xcb_tmp += sizeof(xcb_atom_t); #10472|-> xcb_align_to = ALIGNOF(xcb_atom_t); #10473| /* xcb_input_device_class_data_t.valuator.min */ #10474| _aux->valuator.min = *(xcb_input_fp3232_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10477:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10475| xcb_block_len += sizeof(xcb_input_fp3232_t); #10476| xcb_tmp += sizeof(xcb_input_fp3232_t); #10477|-> xcb_align_to = ALIGNOF(xcb_input_fp3232_t); #10478| /* xcb_input_device_class_data_t.valuator.max */ #10479| _aux->valuator.max = *(xcb_input_fp3232_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10482:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10480| xcb_block_len += sizeof(xcb_input_fp3232_t); #10481| xcb_tmp += sizeof(xcb_input_fp3232_t); #10482|-> xcb_align_to = ALIGNOF(xcb_input_fp3232_t); #10483| /* xcb_input_device_class_data_t.valuator.value */ #10484| _aux->valuator.value = *(xcb_input_fp3232_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10487:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10485| xcb_block_len += sizeof(xcb_input_fp3232_t); #10486| xcb_tmp += sizeof(xcb_input_fp3232_t); #10487|-> xcb_align_to = ALIGNOF(xcb_input_fp3232_t); #10488| /* xcb_input_device_class_data_t.valuator.resolution */ #10489| _aux->valuator.resolution = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10492:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10490| xcb_block_len += sizeof(uint32_t); #10491| xcb_tmp += sizeof(uint32_t); #10492|-> xcb_align_to = ALIGNOF(uint32_t); #10493| /* xcb_input_device_class_data_t.valuator.mode */ #10494| _aux->valuator.mode = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10497:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10495| xcb_block_len += sizeof(uint8_t); #10496| xcb_tmp += sizeof(uint8_t); #10497|-> xcb_align_to = ALIGNOF(uint8_t); #10498| /* xcb_input_device_class_data_t.valuator.pad0 */ #10499| _aux->valuator.pad0[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10511:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10509| xcb_block_len += sizeof(uint16_t); #10510| xcb_tmp += sizeof(uint16_t); #10511|-> xcb_align_to = ALIGNOF(uint16_t); #10512| /* xcb_input_device_class_data_t.scroll.scroll_type */ #10513| _aux->scroll.scroll_type = *(uint16_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10516:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10514| xcb_block_len += sizeof(uint16_t); #10515| xcb_tmp += sizeof(uint16_t); #10516|-> xcb_align_to = ALIGNOF(uint16_t); #10517| /* xcb_input_device_class_data_t.scroll.pad1 */ #10518| _aux->scroll.pad1[0] = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10522:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10520| xcb_block_len += sizeof(uint8_t) * 2; #10521| xcb_tmp += sizeof(uint8_t) * 2; #10522|-> xcb_align_to = ALIGNOF(uint8_t); #10523| /* xcb_input_device_class_data_t.scroll.flags */ #10524| _aux->scroll.flags = *(uint32_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10527:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10525| xcb_block_len += sizeof(uint32_t); #10526| xcb_tmp += sizeof(uint32_t); #10527|-> xcb_align_to = ALIGNOF(uint32_t); #10528| /* xcb_input_device_class_data_t.scroll.increment */ #10529| _aux->scroll.increment = *(xcb_input_fp3232_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10539:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10537| xcb_block_len += sizeof(uint8_t); #10538| xcb_tmp += sizeof(uint8_t); #10539|-> xcb_align_to = ALIGNOF(uint8_t); #10540| /* xcb_input_device_class_data_t.touch.num_touches */ #10541| _aux->touch.num_touches = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10551:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10549| xcb_block_len += sizeof(uint8_t); #10550| xcb_tmp += sizeof(uint8_t); #10551|-> xcb_align_to = ALIGNOF(uint8_t); #10552| /* xcb_input_device_class_data_t.gesture.pad2 */ #10553| _aux->gesture.pad2 = *(uint8_t *)xcb_tmp; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10562:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #10560| xcb_buffer_len += xcb_block_len + xcb_pad; #10561| if (0 != xcb_pad) { #10562|-> xcb_tmp += xcb_pad; #10563| xcb_pad = 0; #10564| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10563:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10561| if (0 != xcb_pad) { #10562| xcb_tmp += xcb_pad; #10563|-> xcb_pad = 0; #10564| } #10565| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10565:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #10563| xcb_pad = 0; #10564| } #10565|-> xcb_block_len = 0; #10566| xcb_padding_offset = 0; #10567| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10566:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read #10564| } #10565| xcb_block_len = 0; #10566|-> xcb_padding_offset = 0; #10567| #10568| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10635:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #10633| xcb_block_len += _aux->name_len * sizeof(char); #10634| xcb_tmp += xcb_block_len; #10635|-> xcb_align_to = ALIGNOF(char); #10636| xcb_align_to = 4; #10637| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10642:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10640| if (0 != xcb_pad) { #10641| xcb_tmp += xcb_pad; #10642|-> xcb_pad = 0; #10643| } #10644| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10650:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10648| if (0 != xcb_pad) { #10649| xcb_tmp += xcb_pad; #10650|-> xcb_pad = 0; #10651| } #10652| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10664:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #10662| xcb_buffer_len += xcb_block_len + xcb_pad; #10663| if (0 != xcb_pad) { #10664|-> xcb_tmp += xcb_pad; #10665| xcb_pad = 0; #10666| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10665:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10663| if (0 != xcb_pad) { #10664| xcb_tmp += xcb_pad; #10665|-> xcb_pad = 0; #10666| } #10667| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10667:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #10665| xcb_pad = 0; #10666| } #10667|-> xcb_block_len = 0; #10668| #10669| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10762:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #10760| xcb_buffer_len += xcb_block_len + xcb_pad; #10761| if (0 != xcb_pad) { #10762|-> xcb_tmp += xcb_pad; #10763| xcb_pad = 0; #10764| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10763:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10761| if (0 != xcb_pad) { #10762| xcb_tmp += xcb_pad; #10763|-> xcb_pad = 0; #10764| } #10765| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10765:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #10763| xcb_pad = 0; #10764| } #10765|-> xcb_block_len = 0; #10766| #10767| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10995:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #10993| xcb_buffer_len += xcb_block_len + xcb_pad; #10994| if (0 != xcb_pad) { #10995|-> xcb_tmp += xcb_pad; #10996| xcb_pad = 0; #10997| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10996:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #10994| if (0 != xcb_pad) { #10995| xcb_tmp += xcb_pad; #10996|-> xcb_pad = 0; #10997| } #10998| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:10998:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #10996| xcb_pad = 0; #10997| } #10998|-> xcb_block_len = 0; #10999| #11000| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11275:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11273| if (0 != xcb_pad) { #11274| xcb_tmp += xcb_pad; #11275|-> xcb_pad = 0; #11276| } #11277| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11286:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #11284| xcb_buffer_len += xcb_block_len + xcb_pad; #11285| if (0 != xcb_pad) { #11286|-> xcb_tmp += xcb_pad; #11287| xcb_pad = 0; #11288| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11287:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11285| if (0 != xcb_pad) { #11286| xcb_tmp += xcb_pad; #11287|-> xcb_pad = 0; #11288| } #11289| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11289:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #11287| xcb_pad = 0; #11288| } #11289|-> xcb_block_len = 0; #11290| #11291| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11465:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #11463| xcb_buffer_len += xcb_block_len + xcb_pad; #11464| if (0 != xcb_pad) { #11465|-> xcb_tmp += xcb_pad; #11466| xcb_pad = 0; #11467| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11466:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11464| if (0 != xcb_pad) { #11465| xcb_tmp += xcb_pad; #11466|-> xcb_pad = 0; #11467| } #11468| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11468:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #11466| xcb_pad = 0; #11467| } #11468|-> xcb_block_len = 0; #11469| #11470| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11600:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #11598| xcb_buffer_len += xcb_block_len + xcb_pad; #11599| if (0 != xcb_pad) { #11600|-> xcb_tmp += xcb_pad; #11601| xcb_pad = 0; #11602| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11601:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11599| if (0 != xcb_pad) { #11600| xcb_tmp += xcb_pad; #11601|-> xcb_pad = 0; #11602| } #11603| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11603:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #11601| xcb_pad = 0; #11602| } #11603|-> xcb_block_len = 0; #11604| #11605| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11791:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11789| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; #11790| xcb_parts_idx++; #11791|-> xcb_pad = 0; #11792| } #11793| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11800:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #11798| xcb_parts[xcb_parts_idx].iov_len = num_items * sizeof(uint8_t); #11799| xcb_parts_idx++; #11800|-> xcb_align_to = ALIGNOF(uint8_t); #11801| xcb_align_to = 4; #11802| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11809:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11807| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; #11808| xcb_parts_idx++; #11809|-> xcb_pad = 0; #11810| } #11811| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11822:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11820| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; #11821| xcb_parts_idx++; #11822|-> xcb_pad = 0; #11823| } #11824| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11831:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #11829| xcb_parts[xcb_parts_idx].iov_len = num_items * sizeof(uint16_t); #11830| xcb_parts_idx++; #11831|-> xcb_align_to = ALIGNOF(uint16_t); #11832| xcb_align_to = 4; #11833| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11840:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11838| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; #11839| xcb_parts_idx++; #11840|-> xcb_pad = 0; #11841| } #11842| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11853:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11851| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; #11852| xcb_parts_idx++; #11853|-> xcb_pad = 0; #11854| } #11855| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11871:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11869| xcb_parts[xcb_parts_idx].iov_len = xcb_pad; #11870| xcb_parts_idx++; #11871|-> xcb_pad = 0; #11872| } #11873| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11873:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #11871| xcb_pad = 0; #11872| } #11873|-> xcb_block_len = 0; #11874| xcb_padding_offset = 0; #11875| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11874:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read #11872| } #11873| xcb_block_len = 0; #11874|-> xcb_padding_offset = 0; #11875| #11876| if (NULL == xcb_out) { Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: scope_hint: In function 'xcb_input_xi_change_property_items_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11885:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null #11883| for(i=0; i<xcb_parts_idx; i++) { #11884| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) #11885|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); #11886| if (0 != xcb_parts[i].iov_len) #11887| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11913:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11911| if (0 != xcb_pad) { #11912| xcb_tmp += xcb_pad; #11913|-> xcb_pad = 0; #11914| } #11915| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11921:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #11919| xcb_block_len += num_items * sizeof(uint8_t); #11920| xcb_tmp += xcb_block_len; #11921|-> xcb_align_to = ALIGNOF(uint8_t); #11922| xcb_align_to = 4; #11923| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11928:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11926| if (0 != xcb_pad) { #11927| xcb_tmp += xcb_pad; #11928|-> xcb_pad = 0; #11929| } #11930| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11939:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11937| if (0 != xcb_pad) { #11938| xcb_tmp += xcb_pad; #11939|-> xcb_pad = 0; #11940| } #11941| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11947:9: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read #11945| xcb_block_len += num_items * sizeof(uint16_t); #11946| xcb_tmp += xcb_block_len; #11947|-> xcb_align_to = ALIGNOF(uint16_t); #11948| xcb_align_to = 4; #11949| /* insert padding */ Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11954:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11952| if (0 != xcb_pad) { #11953| xcb_tmp += xcb_pad; #11954|-> xcb_pad = 0; #11955| } #11956| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11965:13: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11963| if (0 != xcb_pad) { #11964| xcb_tmp += xcb_pad; #11965|-> xcb_pad = 0; #11966| } #11967| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11979:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #11977| xcb_buffer_len += xcb_block_len + xcb_pad; #11978| if (0 != xcb_pad) { #11979|-> xcb_tmp += xcb_pad; #11980| xcb_pad = 0; #11981| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11980:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #11978| if (0 != xcb_pad) { #11979| xcb_tmp += xcb_pad; #11980|-> xcb_pad = 0; #11981| } #11982| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11982:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #11980| xcb_pad = 0; #11981| } #11982|-> xcb_block_len = 0; #11983| xcb_padding_offset = 0; #11984| Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:11983:5: warning[deadcode.DeadStores]: Value stored to 'xcb_padding_offset' is never read #11981| } #11982| xcb_block_len = 0; #11983|-> xcb_padding_offset = 0; #11984| #11985| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:12020:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read #12018| xcb_buffer_len += xcb_block_len + xcb_pad; #12019| if (0 != xcb_pad) { #12020|-> xcb_tmp += xcb_pad; #12021| xcb_pad = 0; #12022| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:12021:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read #12019| if (0 != xcb_pad) { #12020| xcb_tmp += xcb_pad; #12021|-> xcb_pad = 0; #12022| } #12023| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:12023:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read #12021| xcb_pad = 0; #12022| } #12023|-> xcb_block_len = 0; #12024| #12025| return xcb_buffer_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c: scope_hint: In function 'xcb_input_xi_get_property_items_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xinput.c:12453:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null #12451| for(i=0; i<xcb_parts_idx; i++) { #12452| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) #12453|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); #12454| if (0 != xcb_parts[i].iov_len) #12455| xcb_tmp += xcb_parts[i].iov_len; Error: CPPCHECK_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c: scope_hint: In function 'xcb_xkb_select_events_details_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c:2167:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 2165| for(i=0; i<xcb_parts_idx; i++) { # 2166| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 2167|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 2168| if (0 != xcb_parts[i].iov_len) # 2169| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c: scope_hint: In function 'xcb_xkb_get_map_map_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c:3499:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 3497| for(i=0; i<xcb_parts_idx; i++) { # 3498| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 3499|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 3500| if (0 != xcb_parts[i].iov_len) # 3501| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c: scope_hint: In function 'xcb_xkb_set_map_values_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c:4371:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 4369| for(i=0; i<xcb_parts_idx; i++) { # 4370| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 4371|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 4372| if (0 != xcb_parts[i].iov_len) # 4373| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c: scope_hint: In function 'xcb_xkb_get_names_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c:6340:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 6338| for(i=0; i<xcb_parts_idx; i++) { # 6339| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 6340|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 6341| if (0 != xcb_parts[i].iov_len) # 6342| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c: scope_hint: In function 'xcb_xkb_set_names_values_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c:7236:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 7234| for(i=0; i<xcb_parts_idx; i++) { # 7235| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 7236|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 7237| if (0 != xcb_parts[i].iov_len) # 7238| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c: scope_hint: In function 'xcb_xkb_get_kbd_by_name_replies_types_map_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c:8609:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 8607| for(i=0; i<xcb_parts_idx; i++) { # 8608| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 8609|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 8610| if (0 != xcb_parts[i].iov_len) # 8611| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c: scope_hint: In function 'xcb_xkb_get_kbd_by_name_replies_key_names_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xkb.c:9389:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 9387| for(i=0; i<xcb_parts_idx; i++) { # 9388| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 9389|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 9390| if (0 != xcb_parts[i].iov_len) # 9391| xcb_tmp += xcb_parts[i].iov_len; Error: CPPCHECK_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c: scope_hint: In function 'xcb_create_window_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c:1179:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 1177| for(i=0; i<xcb_parts_idx; i++) { # 1178| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 1179|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 1180| if (0 != xcb_parts[i].iov_len) # 1181| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c: scope_hint: In function 'xcb_change_window_attributes_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c:1730:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 1728| for(i=0; i<xcb_parts_idx; i++) { # 1729| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 1730|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 1731| if (0 != xcb_parts[i].iov_len) # 1732| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c: scope_hint: In function 'xcb_configure_window_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c:2657:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 2655| for(i=0; i<xcb_parts_idx; i++) { # 2656| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 2657|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 2658| if (0 != xcb_parts[i].iov_len) # 2659| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c: scope_hint: In function 'xcb_create_gc_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c:6824:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 6822| for(i=0; i<xcb_parts_idx; i++) { # 6823| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 6824|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 6825| if (0 != xcb_parts[i].iov_len) # 6826| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c: scope_hint: In function 'xcb_change_gc_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c:7435:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null # 7433| for(i=0; i<xcb_parts_idx; i++) { # 7434| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) # 7435|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); # 7436| if (0 != xcb_parts[i].iov_len) # 7437| xcb_tmp += xcb_parts[i].iov_len; Error: GCC_ANALYZER_WARNING (CWE-688): libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c: scope_hint: In function 'xcb_change_keyboard_control_value_list_serialize' libxcb-1.17.0-build/libxcb-1.17.0/src/xproto.c:12782:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'xcb_tmp' where non-null expected <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null #12780| for(i=0; i<xcb_parts_idx; i++) { #12781| if (0 != xcb_parts[i].iov_base && 0 != xcb_parts[i].iov_len) #12782|-> memcpy(xcb_tmp, xcb_parts[i].iov_base, xcb_parts[i].iov_len); #12783| if (0 != xcb_parts[i].iov_len) #12784| xcb_tmp += xcb_parts[i].iov_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:172:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 170| xcb_buffer_len += xcb_block_len + xcb_pad; # 171| if (0 != xcb_pad) { # 172|-> xcb_tmp += xcb_pad; # 173| xcb_pad = 0; # 174| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:173:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 171| if (0 != xcb_pad) { # 172| xcb_tmp += xcb_pad; # 173|-> xcb_pad = 0; # 174| } # 175| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:175:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 173| xcb_pad = 0; # 174| } # 175|-> xcb_block_len = 0; # 176| # 177| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:285:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 283| xcb_buffer_len += xcb_block_len + xcb_pad; # 284| if (0 != xcb_pad) { # 285|-> xcb_tmp += xcb_pad; # 286| xcb_pad = 0; # 287| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:286:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 284| if (0 != xcb_pad) { # 285| xcb_tmp += xcb_pad; # 286|-> xcb_pad = 0; # 287| } # 288| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:288:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 286| xcb_pad = 0; # 287| } # 288|-> xcb_block_len = 0; # 289| # 290| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:470:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 468| xcb_buffer_len += xcb_block_len + xcb_pad; # 469| if (0 != xcb_pad) { # 470|-> xcb_tmp += xcb_pad; # 471| xcb_pad = 0; # 472| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:471:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 469| if (0 != xcb_pad) { # 470| xcb_tmp += xcb_pad; # 471|-> xcb_pad = 0; # 472| } # 473| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:473:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 471| xcb_pad = 0; # 472| } # 473|-> xcb_block_len = 0; # 474| # 475| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:639:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 637| xcb_buffer_len += xcb_block_len + xcb_pad; # 638| if (0 != xcb_pad) { # 639|-> xcb_tmp += xcb_pad; # 640| xcb_pad = 0; # 641| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:640:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 638| if (0 != xcb_pad) { # 639| xcb_tmp += xcb_pad; # 640|-> xcb_pad = 0; # 641| } # 642| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:642:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 640| xcb_pad = 0; # 641| } # 642|-> xcb_block_len = 0; # 643| # 644| return xcb_buffer_len; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:820:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read # 818| xcb_buffer_len += xcb_block_len + xcb_pad; # 819| if (0 != xcb_pad) { # 820|-> xcb_tmp += xcb_pad; # 821| xcb_pad = 0; # 822| } Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:821:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read # 819| if (0 != xcb_pad) { # 820| xcb_tmp += xcb_pad; # 821|-> xcb_pad = 0; # 822| } # 823| xcb_block_len = 0; Error: CLANG_WARNING: libxcb-1.17.0-build/libxcb-1.17.0/src/xvmc.c:823:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read # 821| xcb_pad = 0; # 822| } # 823|-> xcb_block_len = 0; # 824| # 825| return xcb_buffer_len;