Fixed defects

List of Defects

Error: CLANG_WARNING: [#def1]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:108:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  106|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  107|       if (0 != xcb_pad) {
#  108|->         xcb_tmp += xcb_pad;
#  109|           xcb_pad = 0;
#  110|       }

Error: CLANG_WARNING: [#def2]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:109:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  107|       if (0 != xcb_pad) {
#  108|           xcb_tmp += xcb_pad;
#  109|->         xcb_pad = 0;
#  110|       }
#  111|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def3]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:111:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  109|           xcb_pad = 0;
#  110|       }
#  111|->     xcb_block_len = 0;
#  112|   
#  113|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def4]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:225:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  223|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  224|       if (0 != xcb_pad) {
#  225|->         xcb_tmp += xcb_pad;
#  226|           xcb_pad = 0;
#  227|       }

Error: CLANG_WARNING: [#def5]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:226:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  224|       if (0 != xcb_pad) {
#  225|           xcb_tmp += xcb_pad;
#  226|->         xcb_pad = 0;
#  227|       }
#  228|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def6]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:228:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  226|           xcb_pad = 0;
#  227|       }
#  228|->     xcb_block_len = 0;
#  229|   
#  230|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def7]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:334:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  332|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  333|       if (0 != xcb_pad) {
#  334|->         xcb_tmp += xcb_pad;
#  335|           xcb_pad = 0;
#  336|       }

Error: CLANG_WARNING: [#def8]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:335:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  333|       if (0 != xcb_pad) {
#  334|           xcb_tmp += xcb_pad;
#  335|->         xcb_pad = 0;
#  336|       }
#  337|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def9]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:337:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  335|           xcb_pad = 0;
#  336|       }
#  337|->     xcb_block_len = 0;
#  338|   
#  339|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def10]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:455:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  453|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  454|       if (0 != xcb_pad) {
#  455|->         xcb_tmp += xcb_pad;
#  456|           xcb_pad = 0;
#  457|       }

Error: CLANG_WARNING: [#def11]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:456:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  454|       if (0 != xcb_pad) {
#  455|           xcb_tmp += xcb_pad;
#  456|->         xcb_pad = 0;
#  457|       }
#  458|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def12]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:458:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  456|           xcb_pad = 0;
#  457|       }
#  458|->     xcb_block_len = 0;
#  459|   
#  460|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def13]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:568:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  566|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  567|       if (0 != xcb_pad) {
#  568|->         xcb_tmp += xcb_pad;
#  569|           xcb_pad = 0;
#  570|       }

Error: CLANG_WARNING: [#def14]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:569:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  567|       if (0 != xcb_pad) {
#  568|           xcb_tmp += xcb_pad;
#  569|->         xcb_pad = 0;
#  570|       }
#  571|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def15]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:571:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  569|           xcb_pad = 0;
#  570|       }
#  571|->     xcb_block_len = 0;
#  572|   
#  573|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def16]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:685:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  683|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  684|       if (0 != xcb_pad) {
#  685|->         xcb_tmp += xcb_pad;
#  686|           xcb_pad = 0;
#  687|       }

Error: CLANG_WARNING: [#def17]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:686:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  684|       if (0 != xcb_pad) {
#  685|           xcb_tmp += xcb_pad;
#  686|->         xcb_pad = 0;
#  687|       }
#  688|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def18]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:688:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  686|           xcb_pad = 0;
#  687|       }
#  688|->     xcb_block_len = 0;
#  689|   
#  690|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def19]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:794:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  792|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  793|       if (0 != xcb_pad) {
#  794|->         xcb_tmp += xcb_pad;
#  795|           xcb_pad = 0;
#  796|       }

Error: CLANG_WARNING: [#def20]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:795:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  793|       if (0 != xcb_pad) {
#  794|           xcb_tmp += xcb_pad;
#  795|->         xcb_pad = 0;
#  796|       }
#  797|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def21]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:797:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  795|           xcb_pad = 0;
#  796|       }
#  797|->     xcb_block_len = 0;
#  798|   
#  799|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def22]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:902:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read
#  900|       xcb_block_len += _aux->object_context_len * sizeof(char);
#  901|       xcb_tmp += xcb_block_len;
#  902|->     xcb_align_to = ALIGNOF(char);
#  903|       xcb_align_to = 4;
#  904|       /* insert padding */

Error: CLANG_WARNING: [#def23]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:909:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  907|       if (0 != xcb_pad) {
#  908|           xcb_tmp += xcb_pad;
#  909|->         xcb_pad = 0;
#  910|       }
#  911|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def24]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:917:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  915|       if (0 != xcb_pad) {
#  916|           xcb_tmp += xcb_pad;
#  917|->         xcb_pad = 0;
#  918|       }
#  919|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def25]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:923:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read
#  921|       xcb_block_len += _aux->data_context_len * sizeof(char);
#  922|       xcb_tmp += xcb_block_len;
#  923|->     xcb_align_to = ALIGNOF(char);
#  924|       xcb_align_to = 4;
#  925|       /* insert padding */

Error: CLANG_WARNING: [#def26]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:930:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  928|       if (0 != xcb_pad) {
#  929|           xcb_tmp += xcb_pad;
#  930|->         xcb_pad = 0;
#  931|       }
#  932|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def27]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:937:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  935|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  936|       if (0 != xcb_pad) {
#  937|->         xcb_tmp += xcb_pad;
#  938|           xcb_pad = 0;
#  939|       }

Error: CLANG_WARNING: [#def28]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:938:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  936|       if (0 != xcb_pad) {
#  937|           xcb_tmp += xcb_pad;
#  938|->         xcb_pad = 0;
#  939|       }
#  940|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def29]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:940:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  938|           xcb_pad = 0;
#  939|       }
#  940|->     xcb_block_len = 0;
#  941|   
#  942|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def30]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1037:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1035|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1036|       if (0 != xcb_pad) {
# 1037|->         xcb_tmp += xcb_pad;
# 1038|           xcb_pad = 0;
# 1039|       }

Error: CLANG_WARNING: [#def31]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1038:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1036|       if (0 != xcb_pad) {
# 1037|           xcb_tmp += xcb_pad;
# 1038|->         xcb_pad = 0;
# 1039|       }
# 1040|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def32]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1040:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1038|           xcb_pad = 0;
# 1039|       }
# 1040|->     xcb_block_len = 0;
# 1041|   
# 1042|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def33]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1154:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1152|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1153|       if (0 != xcb_pad) {
# 1154|->         xcb_tmp += xcb_pad;
# 1155|           xcb_pad = 0;
# 1156|       }

Error: CLANG_WARNING: [#def34]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1155:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1153|       if (0 != xcb_pad) {
# 1154|           xcb_tmp += xcb_pad;
# 1155|->         xcb_pad = 0;
# 1156|       }
# 1157|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def35]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1157:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1155|           xcb_pad = 0;
# 1156|       }
# 1157|->     xcb_block_len = 0;
# 1158|   
# 1159|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def36]
libxcb-1.16-build/libxcb-1.16/src/xselinux.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: [#def37]
libxcb-1.16-build/libxcb-1.16/src/xselinux.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: [#def38]
libxcb-1.16-build/libxcb-1.16/src/xselinux.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: [#def39]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1380:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1378|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1379|       if (0 != xcb_pad) {
# 1380|->         xcb_tmp += xcb_pad;
# 1381|           xcb_pad = 0;
# 1382|       }

Error: CLANG_WARNING: [#def40]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1381:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1379|       if (0 != xcb_pad) {
# 1380|           xcb_tmp += xcb_pad;
# 1381|->         xcb_pad = 0;
# 1382|       }
# 1383|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def41]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1383:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1381|           xcb_pad = 0;
# 1382|       }
# 1383|->     xcb_block_len = 0;
# 1384|   
# 1385|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def42]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1489:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1487|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1488|       if (0 != xcb_pad) {
# 1489|->         xcb_tmp += xcb_pad;
# 1490|           xcb_pad = 0;
# 1491|       }

Error: CLANG_WARNING: [#def43]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1490:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1488|       if (0 != xcb_pad) {
# 1489|           xcb_tmp += xcb_pad;
# 1490|->         xcb_pad = 0;
# 1491|       }
# 1492|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def44]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1492:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1490|           xcb_pad = 0;
# 1491|       }
# 1492|->     xcb_block_len = 0;
# 1493|   
# 1494|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def45]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1606:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1604|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1605|       if (0 != xcb_pad) {
# 1606|->         xcb_tmp += xcb_pad;
# 1607|           xcb_pad = 0;
# 1608|       }

Error: CLANG_WARNING: [#def46]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1607:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1605|       if (0 != xcb_pad) {
# 1606|           xcb_tmp += xcb_pad;
# 1607|->         xcb_pad = 0;
# 1608|       }
# 1609|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def47]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1609:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1607|           xcb_pad = 0;
# 1608|       }
# 1609|->     xcb_block_len = 0;
# 1610|   
# 1611|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def48]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1728:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1726|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1727|       if (0 != xcb_pad) {
# 1728|->         xcb_tmp += xcb_pad;
# 1729|           xcb_pad = 0;
# 1730|       }

Error: CLANG_WARNING: [#def49]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1729:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1727|       if (0 != xcb_pad) {
# 1728|           xcb_tmp += xcb_pad;
# 1729|->         xcb_pad = 0;
# 1730|       }
# 1731|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def50]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1731:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1729|           xcb_pad = 0;
# 1730|       }
# 1731|->     xcb_block_len = 0;
# 1732|   
# 1733|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def51]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1835:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1833|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1834|       if (0 != xcb_pad) {
# 1835|->         xcb_tmp += xcb_pad;
# 1836|           xcb_pad = 0;
# 1837|       }

Error: CLANG_WARNING: [#def52]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1836:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1834|       if (0 != xcb_pad) {
# 1835|           xcb_tmp += xcb_pad;
# 1836|->         xcb_pad = 0;
# 1837|       }
# 1838|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def53]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1838:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1836|           xcb_pad = 0;
# 1837|       }
# 1838|->     xcb_block_len = 0;
# 1839|   
# 1840|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def54]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1952:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1950|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1951|       if (0 != xcb_pad) {
# 1952|->         xcb_tmp += xcb_pad;
# 1953|           xcb_pad = 0;
# 1954|       }

Error: CLANG_WARNING: [#def55]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1953:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1951|       if (0 != xcb_pad) {
# 1952|           xcb_tmp += xcb_pad;
# 1953|->         xcb_pad = 0;
# 1954|       }
# 1955|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def56]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:1955:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1953|           xcb_pad = 0;
# 1954|       }
# 1955|->     xcb_block_len = 0;
# 1956|   
# 1957|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def57]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2061:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 2059|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 2060|       if (0 != xcb_pad) {
# 2061|->         xcb_tmp += xcb_pad;
# 2062|           xcb_pad = 0;
# 2063|       }

Error: CLANG_WARNING: [#def58]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2062:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 2060|       if (0 != xcb_pad) {
# 2061|           xcb_tmp += xcb_pad;
# 2062|->         xcb_pad = 0;
# 2063|       }
# 2064|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def59]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2064:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 2062|           xcb_pad = 0;
# 2063|       }
# 2064|->     xcb_block_len = 0;
# 2065|   
# 2066|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def60]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2178:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 2176|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 2177|       if (0 != xcb_pad) {
# 2178|->         xcb_tmp += xcb_pad;
# 2179|           xcb_pad = 0;
# 2180|       }

Error: CLANG_WARNING: [#def61]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2179:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 2177|       if (0 != xcb_pad) {
# 2178|           xcb_tmp += xcb_pad;
# 2179|->         xcb_pad = 0;
# 2180|       }
# 2181|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def62]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2181:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 2179|           xcb_pad = 0;
# 2180|       }
# 2181|->     xcb_block_len = 0;
# 2182|   
# 2183|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def63]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2287:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 2285|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 2286|       if (0 != xcb_pad) {
# 2287|->         xcb_tmp += xcb_pad;
# 2288|           xcb_pad = 0;
# 2289|       }

Error: CLANG_WARNING: [#def64]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2288:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 2286|       if (0 != xcb_pad) {
# 2287|           xcb_tmp += xcb_pad;
# 2288|->         xcb_pad = 0;
# 2289|       }
# 2290|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def65]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2290:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 2288|           xcb_pad = 0;
# 2289|       }
# 2290|->     xcb_block_len = 0;
# 2291|   
# 2292|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def66]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2400:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 2398|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 2399|       if (0 != xcb_pad) {
# 2400|->         xcb_tmp += xcb_pad;
# 2401|           xcb_pad = 0;
# 2402|       }

Error: CLANG_WARNING: [#def67]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2401:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 2399|       if (0 != xcb_pad) {
# 2400|           xcb_tmp += xcb_pad;
# 2401|->         xcb_pad = 0;
# 2402|       }
# 2403|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def68]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2403:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 2401|           xcb_pad = 0;
# 2402|       }
# 2403|->     xcb_block_len = 0;
# 2404|   
# 2405|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def69]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2518:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 2516|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 2517|       if (0 != xcb_pad) {
# 2518|->         xcb_tmp += xcb_pad;
# 2519|           xcb_pad = 0;
# 2520|       }

Error: CLANG_WARNING: [#def70]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2519:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 2517|       if (0 != xcb_pad) {
# 2518|           xcb_tmp += xcb_pad;
# 2519|->         xcb_pad = 0;
# 2520|       }
# 2521|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def71]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2521:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 2519|           xcb_pad = 0;
# 2520|       }
# 2521|->     xcb_block_len = 0;
# 2522|   
# 2523|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def72]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2621:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 2619|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 2620|       if (0 != xcb_pad) {
# 2621|->         xcb_tmp += xcb_pad;
# 2622|           xcb_pad = 0;
# 2623|       }

Error: CLANG_WARNING: [#def73]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2622:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 2620|       if (0 != xcb_pad) {
# 2621|           xcb_tmp += xcb_pad;
# 2622|->         xcb_pad = 0;
# 2623|       }
# 2624|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def74]
libxcb-1.16-build/libxcb-1.16/src/xselinux.c:2624:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 2622|           xcb_pad = 0;
# 2623|       }
# 2624|->     xcb_block_len = 0;
# 2625|   
# 2626|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def75]
libxcb-1.16-build/libxcb-1.16/src/xv.c:112:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read
#  110|       xcb_block_len += _aux->name_size * sizeof(char);
#  111|       xcb_tmp += xcb_block_len;
#  112|->     xcb_align_to = ALIGNOF(char);
#  113|       xcb_align_to = 4;
#  114|       /* insert padding */

Error: CLANG_WARNING: [#def76]
libxcb-1.16-build/libxcb-1.16/src/xv.c:119:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  117|       if (0 != xcb_pad) {
#  118|           xcb_tmp += xcb_pad;
#  119|->         xcb_pad = 0;
#  120|       }
#  121|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def77]
libxcb-1.16-build/libxcb-1.16/src/xv.c:127:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  125|       if (0 != xcb_pad) {
#  126|           xcb_tmp += xcb_pad;
#  127|->         xcb_pad = 0;
#  128|       }
#  129|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def78]
libxcb-1.16-build/libxcb-1.16/src/xv.c:138:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  136|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  137|       if (0 != xcb_pad) {
#  138|->         xcb_tmp += xcb_pad;
#  139|           xcb_pad = 0;
#  140|       }

Error: CLANG_WARNING: [#def79]
libxcb-1.16-build/libxcb-1.16/src/xv.c:139:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  137|       if (0 != xcb_pad) {
#  138|           xcb_tmp += xcb_pad;
#  139|->         xcb_pad = 0;
#  140|       }
#  141|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def80]
libxcb-1.16-build/libxcb-1.16/src/xv.c:141:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  139|           xcb_pad = 0;
#  140|       }
#  141|->     xcb_block_len = 0;
#  142|   
#  143|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def81]
libxcb-1.16-build/libxcb-1.16/src/xv.c:233:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read
#  231|       xcb_block_len += _aux->name_size * sizeof(char);
#  232|       xcb_tmp += xcb_block_len;
#  233|->     xcb_align_to = ALIGNOF(char);
#  234|       xcb_align_to = 4;
#  235|       /* insert padding */

Error: CLANG_WARNING: [#def82]
libxcb-1.16-build/libxcb-1.16/src/xv.c:240:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  238|       if (0 != xcb_pad) {
#  239|           xcb_tmp += xcb_pad;
#  240|->         xcb_pad = 0;
#  241|       }
#  242|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def83]
libxcb-1.16-build/libxcb-1.16/src/xv.c:247:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  245|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  246|       if (0 != xcb_pad) {
#  247|->         xcb_tmp += xcb_pad;
#  248|           xcb_pad = 0;
#  249|       }

Error: CLANG_WARNING: [#def84]
libxcb-1.16-build/libxcb-1.16/src/xv.c:248:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  246|       if (0 != xcb_pad) {
#  247|           xcb_tmp += xcb_pad;
#  248|->         xcb_pad = 0;
#  249|       }
#  250|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def85]
libxcb-1.16-build/libxcb-1.16/src/xv.c:250:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  248|           xcb_pad = 0;
#  249|       }
#  250|->     xcb_block_len = 0;
#  251|   
#  252|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def86]
libxcb-1.16-build/libxcb-1.16/src/xv.c:324:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  322|       if (0 != xcb_pad) {
#  323|           xcb_tmp += xcb_pad;
#  324|->         xcb_pad = 0;
#  325|       }
#  326|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def87]
libxcb-1.16-build/libxcb-1.16/src/xv.c:336:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  334|       if (0 != xcb_pad) {
#  335|           xcb_tmp += xcb_pad;
#  336|->         xcb_pad = 0;
#  337|       }
#  338|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def88]
libxcb-1.16-build/libxcb-1.16/src/xv.c:347:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  345|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  346|       if (0 != xcb_pad) {
#  347|->         xcb_tmp += xcb_pad;
#  348|           xcb_pad = 0;
#  349|       }

Error: CLANG_WARNING: [#def89]
libxcb-1.16-build/libxcb-1.16/src/xv.c:348:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  346|       if (0 != xcb_pad) {
#  347|           xcb_tmp += xcb_pad;
#  348|->         xcb_pad = 0;
#  349|       }
#  350|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def90]
libxcb-1.16-build/libxcb-1.16/src/xv.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|   
#  352|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def91]
libxcb-1.16-build/libxcb-1.16/src/xv.c:466:5: warning[deadcode.DeadStores]: Value stored to 'xcb_align_to' is never read
#  464|       xcb_block_len += _aux->size * sizeof(char);
#  465|       xcb_tmp += xcb_block_len;
#  466|->     xcb_align_to = ALIGNOF(char);
#  467|       xcb_align_to = 4;
#  468|       /* insert padding */

Error: CLANG_WARNING: [#def92]
libxcb-1.16-build/libxcb-1.16/src/xv.c:473:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  471|       if (0 != xcb_pad) {
#  472|           xcb_tmp += xcb_pad;
#  473|->         xcb_pad = 0;
#  474|       }
#  475|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def93]
libxcb-1.16-build/libxcb-1.16/src/xv.c:480:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  478|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  479|       if (0 != xcb_pad) {
#  480|->         xcb_tmp += xcb_pad;
#  481|           xcb_pad = 0;
#  482|       }

Error: CLANG_WARNING: [#def94]
libxcb-1.16-build/libxcb-1.16/src/xv.c:481:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  479|       if (0 != xcb_pad) {
#  480|           xcb_tmp += xcb_pad;
#  481|->         xcb_pad = 0;
#  482|       }
#  483|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def95]
libxcb-1.16-build/libxcb-1.16/src/xv.c:483:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  481|           xcb_pad = 0;
#  482|       }
#  483|->     xcb_block_len = 0;
#  484|   
#  485|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def96]
libxcb-1.16-build/libxcb-1.16/src/xv.c:635:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  633|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  634|       if (0 != xcb_pad) {
#  635|->         xcb_tmp += xcb_pad;
#  636|           xcb_pad = 0;
#  637|       }

Error: CLANG_WARNING: [#def97]
libxcb-1.16-build/libxcb-1.16/src/xv.c:636:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  634|       if (0 != xcb_pad) {
#  635|           xcb_tmp += xcb_pad;
#  636|->         xcb_pad = 0;
#  637|       }
#  638|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def98]
libxcb-1.16-build/libxcb-1.16/src/xv.c:638:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  636|           xcb_pad = 0;
#  637|       }
#  638|->     xcb_block_len = 0;
#  639|   
#  640|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def99]
libxcb-1.16-build/libxcb-1.16/src/xv.c:747:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
#  745|       xcb_buffer_len += xcb_block_len + xcb_pad;
#  746|       if (0 != xcb_pad) {
#  747|->         xcb_tmp += xcb_pad;
#  748|           xcb_pad = 0;
#  749|       }

Error: CLANG_WARNING: [#def100]
libxcb-1.16-build/libxcb-1.16/src/xv.c:748:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
#  746|       if (0 != xcb_pad) {
#  747|           xcb_tmp += xcb_pad;
#  748|->         xcb_pad = 0;
#  749|       }
#  750|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def101]
libxcb-1.16-build/libxcb-1.16/src/xv.c:750:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
#  748|           xcb_pad = 0;
#  749|       }
#  750|->     xcb_block_len = 0;
#  751|   
#  752|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def102]
libxcb-1.16-build/libxcb-1.16/src/xv.c:1725:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1723|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1724|       if (0 != xcb_pad) {
# 1725|->         xcb_tmp += xcb_pad;
# 1726|           xcb_pad = 0;
# 1727|       }

Error: CLANG_WARNING: [#def103]
libxcb-1.16-build/libxcb-1.16/src/xv.c:1726:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1724|       if (0 != xcb_pad) {
# 1725|           xcb_tmp += xcb_pad;
# 1726|->         xcb_pad = 0;
# 1727|       }
# 1728|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def104]
libxcb-1.16-build/libxcb-1.16/src/xv.c:1728:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1726|           xcb_pad = 0;
# 1727|       }
# 1728|->     xcb_block_len = 0;
# 1729|   
# 1730|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def105]
libxcb-1.16-build/libxcb-1.16/src/xv.c:1832:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1830|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1831|       if (0 != xcb_pad) {
# 1832|->         xcb_tmp += xcb_pad;
# 1833|           xcb_pad = 0;
# 1834|       }

Error: CLANG_WARNING: [#def106]
libxcb-1.16-build/libxcb-1.16/src/xv.c:1833:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1831|       if (0 != xcb_pad) {
# 1832|           xcb_tmp += xcb_pad;
# 1833|->         xcb_pad = 0;
# 1834|       }
# 1835|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def107]
libxcb-1.16-build/libxcb-1.16/src/xv.c:1835:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1833|           xcb_pad = 0;
# 1834|       }
# 1835|->     xcb_block_len = 0;
# 1836|   
# 1837|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def108]
libxcb-1.16-build/libxcb-1.16/src/xv.c:1946:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1944|       if (0 != xcb_pad) {
# 1945|           xcb_tmp += xcb_pad;
# 1946|->         xcb_pad = 0;
# 1947|       }
# 1948|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def109]
libxcb-1.16-build/libxcb-1.16/src/xv.c:1957:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 1955|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 1956|       if (0 != xcb_pad) {
# 1957|->         xcb_tmp += xcb_pad;
# 1958|           xcb_pad = 0;
# 1959|       }

Error: CLANG_WARNING: [#def110]
libxcb-1.16-build/libxcb-1.16/src/xv.c:1958:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 1956|       if (0 != xcb_pad) {
# 1957|           xcb_tmp += xcb_pad;
# 1958|->         xcb_pad = 0;
# 1959|       }
# 1960|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def111]
libxcb-1.16-build/libxcb-1.16/src/xv.c:1960:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 1958|           xcb_pad = 0;
# 1959|       }
# 1960|->     xcb_block_len = 0;
# 1961|   
# 1962|       return xcb_buffer_len;

Error: CLANG_WARNING: [#def112]
libxcb-1.16-build/libxcb-1.16/src/xv.c:2106:9: warning[deadcode.DeadStores]: Value stored to 'xcb_tmp' is never read
# 2104|       xcb_buffer_len += xcb_block_len + xcb_pad;
# 2105|       if (0 != xcb_pad) {
# 2106|->         xcb_tmp += xcb_pad;
# 2107|           xcb_pad = 0;
# 2108|       }

Error: CLANG_WARNING: [#def113]
libxcb-1.16-build/libxcb-1.16/src/xv.c:2107:9: warning[deadcode.DeadStores]: Value stored to 'xcb_pad' is never read
# 2105|       if (0 != xcb_pad) {
# 2106|           xcb_tmp += xcb_pad;
# 2107|->         xcb_pad = 0;
# 2108|       }
# 2109|       xcb_block_len = 0;

Error: CLANG_WARNING: [#def114]
libxcb-1.16-build/libxcb-1.16/src/xv.c:2109:5: warning[deadcode.DeadStores]: Value stored to 'xcb_block_len' is never read
# 2107|           xcb_pad = 0;
# 2108|       }
# 2109|->     xcb_block_len = 0;
# 2110|   
# 2111|       return xcb_buffer_len;

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-177.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibxcb-1.17.0-1.fc41
diffbase-store-results-to/tmp/tmphjb1dfvl/libxcb-1.17.0-1.fc41.tar.xz
diffbase-time-created2024-07-03 16:17:52
diffbase-time-finished2024-07-03 16:20:47
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmphjb1dfvl/libxcb-1.17.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmphjb1dfvl/libxcb-1.17.0-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-177.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibxcb-1.16-4.fc40
store-results-to/tmp/tmp5nja5pje/libxcb-1.16-4.fc40.tar.xz
time-created2024-07-03 16:14:27
time-finished2024-07-03 16:17:41
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp5nja5pje/libxcb-1.16-4.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp5nja5pje/libxcb-1.16-4.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9