2022-06-25 11:43 ftp://ftp.de.debian.org/debian/pool/main/s/syslinux/syslinux_6.04~git20190206.bf6db5b4+dfsg1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j1 platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 cppcheck: head 2.8 head-info: 63e567e (2022-06-25 08:38:17 +0200) count: 475 474 elapsed-time: 196.1 285.8 head-timing-info: Tokenizer::simplifyTokens1: 58.6784s (avg. 0.0929927s - 631 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 52.8945s (avg. 0.084496s - 626 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 2.84708s (avg. 0.00454805s - 626 result(s)) Tokenizer::createTokens: 1.28439s (avg. 0.00175944s - 730 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.588306s (avg. 0.000939786s - 626 result(s)) Overall time: 119.737s old-timing-info: Tokenizer::simplifyTokens1: 88.563s (avg. 0.140353s - 631 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 82.915s (avg. 0.132452s - 626 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 2.7876s (avg. 0.00445303s - 626 result(s)) Tokenizer::createTokens: 1.24248s (avg. 0.00170203s - 730 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.582385s (avg. 0.000930327s - 626 result(s)) Overall time: 179.362s head results: syslinux-6.04~git20190206.bf6db5b4/com32/chain/mangle.c:659:25: style: Condition '!werr' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/chain/mangle.c:648:30: note: Assuming that condition '!werr' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/chain/mangle.c:659:25: note: Condition '!werr' is always true syslinux-6.04~git20190206.bf6db5b4/com32/chain/utility.c:187:31: style:inconclusive: Function 'bpb_detect' argument 1 names different: declaration 'bpb' definition 'sec'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/chain/utility.h:53:31: note: Function 'bpb_detect' argument 1 names different: declaration 'bpb' definition 'sec'. syslinux-6.04~git20190206.bf6db5b4/com32/chain/utility.c:187:31: note: Function 'bpb_detect' argument 1 names different: declaration 'bpb' definition 'sec'. syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/des.c:581:42: error: Uninitialized variable: key [uninitvar] syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/des.c:963:39: note: Assuming condition is false syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/des.c:968:20: note: Calling function 'des_setkey', 1st argument '(char*)keybuf' value is syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/des.c:600:27: note: Calling function 'char_to_int', 1st argument 'key' value is syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/des.c:581:42: note: Uninitialized variable: key syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/help.c:217:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/menu.c:1270:17: style: Condition 'menunum<0' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/menu.c:1269:28: note: Assignment 'menunum=find_menu_num(menu_name)', assigned value is greater than -1 syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/menu.c:1270:17: note: Condition 'menunum<0' is always false syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/menu.c:1212:21: style: Checking if unsigned expression 'm->numitems' is less than zero. [unsignedLessThanZero] syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/menu.c:350:13: style: Variable 'asc' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/passwords.c:37:37: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/tui.c:29:25: style:inconclusive: Function 'getuserinput' argument 1 names different: declaration 'str' definition 'stra'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/tui.h:47:25: note: Function 'getuserinput' argument 1 names different: declaration 'str' definition 'stra'. syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/tui.c:29:25: note: Function 'getuserinput' argument 1 names different: declaration 'str' definition 'stra'. syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/cli.c:139:9: style: Condition '!width' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/cli.c:134:17: note: Assignment 'width=0', assigned value is 0 syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/cli.c:139:9: note: Condition '!width' is always true syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/cli.c:406:10: style: Local variable 'len' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/cli.c:129:14: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/cli.c:406:10: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/cli.c:465:18: error: Uninitialized variable: ret [uninitvar] syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/cli.c:156:12: note: Assuming condition is false syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/cli.c:465:18: note: Uninitialized variable: ret syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/ldlinux.c:357:9: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/readconfig.c:843:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/readconfig.c:843:4: style: Variable 'm' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/elflink/ldlinux/setadv.c:64:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/elflink/test_com32.c:71:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/elflink/test_com32.c:104:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/elflink/test_com32.c:154:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/gdbstub/main.c:50:44: style: Redundant condition: If 'EXPR == ' '', the comparison 'EXPR != '\0'' is always true. [redundantCondition] syslinux-6.04~git20190206.bf6db5b4/com32/gdbstub/main.c:56:23: style: Redundant condition: If 'EXPR == ' '', the comparison 'EXPR != '\0'' is always true. [redundantCondition] syslinux-6.04~git20190206.bf6db5b4/com32/gdbstub/main.c:110:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/gdbstub/main.c:96:30: error: Subtracting pointers that point to different objects [comparePointers] syslinux-6.04~git20190206.bf6db5b4/com32/gdbstub/main.c:15:23: note: Variable declared here. syslinux-6.04~git20190206.bf6db5b4/com32/gdbstub/main.c:96:25: note: Array decayed to pointer here. syslinux-6.04~git20190206.bf6db5b4/com32/gdbstub/main.c:15:13: note: Variable declared here. syslinux-6.04~git20190206.bf6db5b4/com32/gdbstub/main.c:96:32: note: Array decayed to pointer here. syslinux-6.04~git20190206.bf6db5b4/com32/gdbstub/main.c:96:30: note: Subtracting pointers that point to different objects syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:767:5: warning: Return value of function asprintf() is not used. [ignoredReturnValue] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:798:5: warning: Return value of function asprintf() is not used. [ignoredReturnValue] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:899:5: warning: Return value of function asprintf() is not used. [ignoredReturnValue] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:924:5: warning: Return value of function asprintf() is not used. [ignoredReturnValue] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:218:13: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:216:11: note: outer condition: argc<2 syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:218:13: note: opposite inner condition: argc>2 syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:798:5: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ssize_t {aka signed long}'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:787:7: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:727:34: style:inconclusive: Function 'gfx_progress_update' argument 1 names different: declaration 'size' definition 'advance'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:174:34: note: Function 'gfx_progress_update' argument 1 names different: declaration 'size' definition 'advance'. syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:727:34: note: Function 'gfx_progress_update' argument 1 names different: declaration 'size' definition 'advance'. syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:820:11: style: Local variable 'menu_ptr' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:142:16: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:820:11: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:573:29: error: Subtracting pointers that point to different objects [comparePointers] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:66:46: note: Variable declared here. syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:573:7: note: Array decayed to pointer here. syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:66:19: note: Variable declared here. syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:573:31: note: Array decayed to pointer here. syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:573:29: note: Subtracting pointers that point to different objects syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:582:25: error: Subtracting pointers that point to different objects [comparePointers] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:66:46: note: Variable declared here. syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:573:7: note: Array decayed to pointer here. syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:576:20: note: Assuming condition is false syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:66:19: note: Variable declared here. syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:573:31: note: Array decayed to pointer here. syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:576:20: note: Assuming condition is false syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:582:25: note: Subtracting pointers that point to different objects syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:581:17: portability: 'lowmem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:585:25: portability: 'lowmem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:586:25: portability: 'lowmem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:586:45: portability: 'lowmem+4096' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:591:10: portability: 'lowmem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:594:26: portability: 'archive' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:594:39: portability: 'archive+file_start' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:612:69: portability: 'lowmem' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:780:24: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:788:24: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gfxboot/gfxboot.c:921:50: portability: 'kernel' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/acpi/ecdt.c:39:7: style: Variable 'q' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/acpi/ecdt.c:40:7: style: Variable 'q' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/acpi/rsdp.c:56:8: style: Variable 'q' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/acpi/sbst.c:38:7: style: Variable 'q' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/acpi/sbst.c:39:7: style: Variable 'q' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/disk/labels.c:184:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/disk/labels.c:189:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/disk/labels.c:272:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/disk/labels.c:510:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/disk/labels.c:693:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/disk/write.c:130:2: error: Memory leak: rb [memleak] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:322:36: warning: Either the condition 'code<=0x0D' is redundant or the array 'type[13]' is accessed at index 13, which is out of bounds. [arrayIndexOutOfBoundsCond] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:321:30: note: Assuming that condition 'code<=0x0D' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:322:36: note: Array index out of bounds syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:210:20: style: Condition '1<<3' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:487:24: style: Parameter 'buf' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:497:49: style: Parameter 'buf' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:516:49: style: Parameter 'buf' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:217:16: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:215:19: note: Assuming that condition 'i<=31' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:217:16: note: Shift syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:217:16: error: Signed integer overflow for expression '1<=0' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/zzjson/zzjson_parse.c:71:14: note: Assuming that condition 'c>0' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/zzjson/zzjson_parse.c:72:39: note: Condition 'c>=0' is always true syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-cpu.c:37:29: style:inconclusive: Function 'main_show_cpu' argument 1 names different: declaration 'argc' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:191:24: note: Function 'main_show_cpu' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-cpu.c:37:29: note: Function 'main_show_cpu' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-cpu.c:37:51: style:inconclusive: Function 'main_show_cpu' argument 2 names different: declaration 'argv' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:191:37: note: Function 'main_show_cpu' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-cpu.c:37:51: note: Function 'main_show_cpu' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-disk.c:79:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-disk.c:79:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-disk.c:184:29: style:inconclusive: Function 'disks_summary' argument 1 names different: declaration 'argc' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:194:24: note: Function 'disks_summary' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-disk.c:184:29: note: Function 'disks_summary' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-disk.c:184:51: style:inconclusive: Function 'disks_summary' argument 2 names different: declaration 'argv' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:194:37: note: Function 'disks_summary' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-disk.c:184:51: note: Function 'disks_summary' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:381:55: style: Condition 'bank<0' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:376:33: note: Assuming that condition 'bank<0' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:381:55: note: Condition 'bank<0' is always false syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:474:66: style: Condition 'module<0' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:469:35: note: Assuming that condition 'module<0' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:474:66: note: Condition 'module<0' is always false syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:502:29: style:inconclusive: Function 'main_show_dmi' argument 1 names different: declaration 'argc' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:181:24: note: Function 'main_show_dmi' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:502:29: note: Function 'main_show_dmi' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:502:51: style:inconclusive: Function 'main_show_dmi' argument 2 names different: declaration 'argv' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:181:37: note: Function 'main_show_dmi' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:502:51: note: Function 'main_show_dmi' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:518:39: style:inconclusive: Function 'show_dmi_memory_modules' argument 1 names different: declaration 'argc' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:182:34: note: Function 'show_dmi_memory_modules' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:518:39: note: Function 'show_dmi_memory_modules' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:518:61: style:inconclusive: Function 'show_dmi_memory_modules' argument 2 names different: declaration 'argv' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:182:47: note: Function 'show_dmi_memory_modules' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-dmi.c:518:61: note: Function 'show_dmi_memory_modules' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-kernel.c:37:32: style:inconclusive: Function 'main_show_kernel' argument 1 names different: declaration 'argc' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:200:27: note: Function 'main_show_kernel' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-kernel.c:37:32: note: Function 'main_show_kernel' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-kernel.c:37:54: style:inconclusive: Function 'main_show_kernel' argument 2 names different: declaration 'argv' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:200:40: note: Function 'main_show_kernel' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-kernel.c:37:54: note: Function 'main_show_kernel' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-pci.c:36:29: style:inconclusive: Function 'main_show_pci' argument 1 names different: declaration 'argc' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:188:24: note: Function 'main_show_pci' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-pci.c:36:29: note: Function 'main_show_pci' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-pci.c:36:51: style:inconclusive: Function 'main_show_pci' argument 2 names different: declaration 'argv' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:188:37: note: Function 'main_show_pci' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-pci.c:36:51: note: Function 'main_show_pci' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-pxe.c:40:29: style:inconclusive: Function 'main_show_pxe' argument 1 names different: declaration 'argc' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:197:24: note: Function 'main_show_pxe' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-pxe.c:40:29: note: Function 'main_show_pxe' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-pxe.c:40:51: style:inconclusive: Function 'main_show_pxe' argument 2 names different: declaration 'argv' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:197:37: note: Function 'main_show_pxe' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-pxe.c:40:51: note: Function 'main_show_pxe' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-pxe.c:44:23: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-syslinux.c:39:34: style:inconclusive: Function 'main_show_syslinux' argument 1 names different: declaration 'argc' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:203:29: note: Function 'main_show_syslinux' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-syslinux.c:39:34: note: Function 'main_show_syslinux' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-syslinux.c:39:56: style:inconclusive: Function 'main_show_syslinux' argument 2 names different: declaration 'argv' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:203:42: note: Function 'main_show_syslinux' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-syslinux.c:39:56: note: Function 'main_show_syslinux' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-vesa.c:36:30: style:inconclusive: Function 'main_show_vesa' argument 1 names different: declaration 'argc' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:206:25: note: Function 'main_show_vesa' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-vesa.c:36:30: note: Function 'main_show_vesa' argument 1 names different: declaration 'argc' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-vesa.c:36:52: style:inconclusive: Function 'main_show_vesa' argument 2 names different: declaration 'argv' definition '__unused'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.h:206:38: note: Function 'main_show_vesa' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli-vesa.c:36:52: note: Function 'main_show_vesa' argument 2 names different: declaration 'argv' definition '__unused'. syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.c:390:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.c:396:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.c:402:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.c:769:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.c:779:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.c:281:19: warning:inconclusive: Multiplying sizeof() with sizeof() indicates a logic error. [multiplySizeof] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.c:327:65: style: Variable 'token_len' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.c:328:18: style: Variable 'args_len' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-cli.c:821:21: style: Variable 'current_key' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-common.c:683:15: style: Redundant condition: If 'EXPR == 10', the comparison 'EXPR' is always true. [redundantCondition] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-menu-acpi.c:107:14: style: Local variable 'buffer' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-menu-acpi.c:53:10: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-menu-acpi.c:107:14: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-menu-disk.c:129:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-menu-disk.c:130:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-menu-disk.c:133:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/hdt/hdt-menu-disk.c:134:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/lib/dhcppack.c:66:14: style: Variable 'xlen' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/lib/jpeg/jidctflt.c:105:12: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] syslinux-6.04~git20190206.bf6db5b4/com32/lib/jpeg/tinyjpeg.c:521:28: warning: Either the condition 'qi>4' is redundant or the array 'priv->Q_tables[3][64]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] syslinux-6.04~git20190206.bf6db5b4/com32/lib/jpeg/tinyjpeg.c:518:12: note: Assuming that condition 'qi>4' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lib/jpeg/tinyjpeg.c:521:28: note: Array index out of bounds syslinux-6.04~git20190206.bf6db5b4/com32/lib/jpeg/tinyjpeg.c:979:8: warning: Redundant assignment of 'priv' to itself. [selfAssignment] syslinux-6.04~git20190206.bf6db5b4/com32/lib/jpeg/tinyjpeg.c:376:13: error: Uninitialized variable: huffcode [uninitvar] syslinux-6.04~git20190206.bf6db5b4/com32/lib/jpeg/tinyjpeg.c:359:10: note: Assuming condition is false syslinux-6.04~git20190206.bf6db5b4/com32/lib/jpeg/tinyjpeg.c:376:13: note: Uninitialized variable: huffcode syslinux-6.04~git20190206.bf6db5b4/com32/lib/jpeg/tinyjpeg.c:979:8: style: Variable 'priv' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/cfgtype.c:73:8: style: Variable 'type' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/cfgtype.c:63:7: note: type is assigned syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/cfgtype.c:73:8: note: type is overwritten syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/readx.c:3:6: error: There is an unknown macro here somewhere. Configuration is required. If BWL is a macro then please configure it. [unknownMacro] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:114:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:133:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:652:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:692:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:237:22: style: Condition 'line[0]=='\t'' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:214:14: note: Assuming that condition 'line[0]!='\t'' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:237:22: note: Condition 'line[0]=='\t'' is always true syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:348:22: style: Condition 'line[0]=='\t'' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:314:14: note: Assuming that condition 'line[0]!='\t'' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:348:22: note: Condition 'line[0]=='\t'' is always true syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:379:22: style: Condition 'line[0]=='\t'' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:314:14: note: Assuming that condition 'line[0]!='\t'' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:379:22: note: Condition 'line[0]=='\t'' is always true syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:83:11: warning:inconclusive: Possible null pointer dereference: dev [nullPointer] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:77:26: note: Assignment 'dev=NULL', assigned value is 0 syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:83:11: note: Null pointer dereference syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:612:11: warning:inconclusive: Possible null pointer dereference: dev [nullPointer] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:605:26: note: Assignment 'dev=NULL', assigned value is 0 syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:612:11: note: Null pointer dereference syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:692:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:681:10: note: result is assigned syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/scan.c:692:16: note: result is overwritten syslinux-6.04~git20190206.bf6db5b4/com32/lib/pci/writex.c:3:6: error: There is an unknown macro here somewhere. Configuration is required. If BWL is a macro then please configure it. [unknownMacro] syslinux-6.04~git20190206.bf6db5b4/com32/lib/strndup.c:15:5: warning: Either the condition 'd' is redundant or there is possible null pointer dereference: d. [nullPointerRedundantCheck] syslinux-6.04~git20190206.bf6db5b4/com32/lib/strndup.c:13:9: note: Assuming that condition 'd' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lib/strndup.c:15:5: note: Null pointer dereference syslinux-6.04~git20190206.bf6db5b4/com32/lib/strspn.c:19:36: style: Parameter 'bitmap' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/argv.c:57:12: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/argv.c:49:19: note: p is initialized syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/argv.c:57:12: note: p is overwritten syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/close.c:40:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/farcall.c:18:0: error: #error "Unable to build for to-be-defined architecture type" [preprocessorErrorDirective] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/module/common.c:450:11: style: Condition 'mod!=begin' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/module/common.c:286:7: warning:inconclusive: Possible null pointer dereference: crt_dep [nullPointer] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/module/common.c:282:31: note: Assignment 'crt_dep=NULL', assigned value is 0 syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/module/common.c:286:7: note: Null pointer dereference syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/module/x86_64/elf_module.c:341:31: portability: 'rel' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/module/x86_64/elf_module.c:354:31: portability: 'rel' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/module/x86_64/elf_module.c:370:35: portability: 'plt_rel' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/vesa/background.c:197:35: style: Parameter 'bytes' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/vesa/drawtxt.c:80:46: style: Variable 'chsbits' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/vesa/screencpy.c:49:18: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/vesa/screencpy.c:49:18: error: Signed integer overflow for expression '1<<31'. [integerOverflow] syslinux-6.04~git20190206.bf6db5b4/com32/lib/syslinux/load_linux.c:403:6: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] syslinux-6.04~git20190206.bf6db5b4/com32/lib/syslinux/load_linux.c:398:9: note: outer condition: irf_size syslinux-6.04~git20190206.bf6db5b4/com32/lib/syslinux/load_linux.c:403:6: note: identical inner condition: irf_size syslinux-6.04~git20190206.bf6db5b4/com32/lib/syslinux/runimage.c:55:2: error: Memory leak: bbcmdline [memleak] syslinux-6.04~git20190206.bf6db5b4/com32/lib/syslinux/shuffle.c:78:5: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] syslinux-6.04~git20190206.bf6db5b4/com32/lib/syslinux/shuffle.c:63:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/lib/zlib/deflate.c:788:29: warning: Identical condition 'strm->avail_out==0', second condition is always false [identicalConditionAfterEarlyExit] syslinux-6.04~git20190206.bf6db5b4/com32/lib/zlib/deflate.c:780:25: note: If condition 'strm->avail_out==0' is true, the function will return/exit syslinux-6.04~git20190206.bf6db5b4/com32/lib/zlib/deflate.c:788:29: note: Testing identical condition 'strm->avail_out==0' syslinux-6.04~git20190206.bf6db5b4/com32/lib/zlib/deflate.c:2038:9: style: Variable 'bflush' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/libupload/zout.c:60:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/ansiline.c:77:22: style:inconclusive: Boolean expression '!tio.c_oflag' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/ansiline.c:77:22: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/ansiraw.c:78:22: style:inconclusive: Boolean expression '!tio.c_oflag' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/ansiraw.c:78:22: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/keyname.c:91:14: style: Condition 'code[1]=='?'' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/keyname.c:89:38: note: Assuming condition 'code[1]' is true syslinux-6.04~git20190206.bf6db5b4/com32/libutil/keyname.c:91:14: note: Condition 'code[1]=='?'' is always false syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha1hash.c:119:16: style: union member 'CHAR64LONG16::c' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha1hash.c:224:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha1hash.c:224:11: style: Variable 'b' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha1hash.c:224:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha1hash.c:224:19: style: Variable 'd' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha1hash.c:224:23: style: Variable 'e' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha1hash.c:291:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha256crypt.c:334:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha256crypt.c:341:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha256crypt.c:402:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha256crypt.c:418:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha512crypt.c:369:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha512crypt.c:376:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha512crypt.c:437:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/libutil/sha512crypt.c:453:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lapi.c:255:53: style:inconclusive: Function 'lua_typename' argument 2 names different: declaration 'tp' definition 't'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lua.h:171:59: note: Function 'lua_typename' argument 2 names different: declaration 'tp' definition 't'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lapi.c:255:53: note: Function 'lua_typename' argument 2 names different: declaration 'tp' definition 't'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lapi.c:501:74: style:inconclusive: Function 'lua_pushlstring' argument 3 names different: declaration 'l' definition 'len'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lua.h:214:76: note: Function 'lua_pushlstring' argument 3 names different: declaration 'l' definition 'len'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lapi.c:501:74: note: Function 'lua_pushlstring' argument 3 names different: declaration 'l' definition 'len'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lapi.c:1175:53: style:inconclusive: Function 'lua_newuserdata' argument 2 names different: declaration 'sz' definition 'size'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lua.h:235:55: note: Function 'lua_newuserdata' argument 2 names different: declaration 'sz' definition 'size'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lapi.c:1175:53: note: Function 'lua_newuserdata' argument 2 names different: declaration 'sz' definition 'size'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.c:357:61: style:inconclusive: Function 'luaL_checklstring' argument 2 names different: declaration 'numArg' definition 'narg'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.h:36:63: note: Function 'luaL_checklstring' argument 2 names different: declaration 'numArg' definition 'narg'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.c:357:61: note: Function 'luaL_checklstring' argument 2 names different: declaration 'numArg' definition 'narg'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.c:357:75: style:inconclusive: Function 'luaL_checklstring' argument 3 names different: declaration 'l' definition 'len'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.h:37:67: note: Function 'luaL_checklstring' argument 3 names different: declaration 'l' definition 'len'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.c:357:75: note: Function 'luaL_checklstring' argument 3 names different: declaration 'l' definition 'len'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.c:364:59: style:inconclusive: Function 'luaL_optlstring' argument 2 names different: declaration 'numArg' definition 'narg'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.h:38:61: note: Function 'luaL_optlstring' argument 2 names different: declaration 'numArg' definition 'narg'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.c:364:59: note: Function 'luaL_optlstring' argument 2 names different: declaration 'numArg' definition 'narg'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.c:365:66: style:inconclusive: Function 'luaL_optlstring' argument 4 names different: declaration 'l' definition 'len'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.h:39:68: note: Function 'luaL_optlstring' argument 4 names different: declaration 'l' definition 'len'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lauxlib.c:365:66: note: Function 'luaL_optlstring' argument 4 names different: declaration 'l' definition 'len'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:331:17: style: Same expression on both sides of '=='. [duplicateExpression] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:227:48: style:inconclusive: Function 'luaK_codeABC' argument 3 names different: declaration 'A' definition 'a'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.h:48:58: note: Function 'luaK_codeABC' argument 3 names different: declaration 'A' definition 'a'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:227:48: note: Function 'luaK_codeABC' argument 3 names different: declaration 'A' definition 'a'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:227:55: style:inconclusive: Function 'luaK_codeABC' argument 4 names different: declaration 'B' definition 'b'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.h:48:65: note: Function 'luaK_codeABC' argument 4 names different: declaration 'B' definition 'b'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:227:55: note: Function 'luaK_codeABC' argument 4 names different: declaration 'B' definition 'b'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:227:62: style:inconclusive: Function 'luaK_codeABC' argument 5 names different: declaration 'C' definition 'c'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.h:48:72: note: Function 'luaK_codeABC' argument 5 names different: declaration 'C' definition 'c'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:227:62: note: Function 'luaK_codeABC' argument 5 names different: declaration 'C' definition 'c'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:236:48: style:inconclusive: Function 'luaK_codeABx' argument 3 names different: declaration 'A' definition 'a'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.h:47:58: note: Function 'luaK_codeABx' argument 3 names different: declaration 'A' definition 'a'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:236:48: note: Function 'luaK_codeABx' argument 3 names different: declaration 'A' definition 'a'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:236:64: style:inconclusive: Function 'luaK_codeABx' argument 4 names different: declaration 'Bx' definition 'bc'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.h:47:74: note: Function 'luaK_codeABx' argument 4 names different: declaration 'Bx' definition 'bc'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:236:64: note: Function 'luaK_codeABx' argument 4 names different: declaration 'Bx' definition 'bc'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:558:59: style:inconclusive: Function 'luaK_storevar' argument 3 names different: declaration 'e' definition 'ex'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.h:66:69: note: Function 'luaK_storevar' argument 3 names different: declaration 'e' definition 'ex'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:558:59: note: Function 'luaK_storevar' argument 3 names different: declaration 'e' definition 'ex'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:762:53: style:inconclusive: Function 'luaK_prefix' argument 3 names different: declaration 'v' definition 'e'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.h:76:63: note: Function 'luaK_prefix' argument 3 names different: declaration 'v' definition 'e'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:762:53: note: Function 'luaK_prefix' argument 3 names different: declaration 'v' definition 'e'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:814:28: style:inconclusive: Function 'luaK_posfix' argument 3 names different: declaration 'v1' definition 'e1'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.h:78:64: note: Function 'luaK_posfix' argument 3 names different: declaration 'v1' definition 'e1'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:814:28: note: Function 'luaK_posfix' argument 3 names different: declaration 'v1' definition 'e1'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:814:41: style:inconclusive: Function 'luaK_posfix' argument 4 names different: declaration 'v2' definition 'e2'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.h:79:38: note: Function 'luaK_posfix' argument 4 names different: declaration 'v2' definition 'e2'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lcode.c:814:41: note: Function 'luaK_posfix' argument 4 names different: declaration 'v2' definition 'e2'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldebug.c:513:68: style:inconclusive: Function 'luaG_typeerror' argument 3 names different: declaration 'opname' definition 'op'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldebug.h:25:61: note: Function 'luaG_typeerror' argument 3 names different: declaration 'opname' definition 'op'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldebug.c:513:68: note: Function 'luaG_typeerror' argument 3 names different: declaration 'opname' definition 'op'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldo.c:237:13: style: Variable 'ci->top' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldo.c:228:13: note: ci->top is assigned syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldo.c:237:13: note: ci->top is overwritten syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldo.c:596:27: style:inconclusive: Function 'luaD_pcall' argument 4 names different: declaration 'oldtop' definition 'old_top'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldo.h:36:51: note: Function 'luaD_pcall' argument 4 names different: declaration 'oldtop' definition 'old_top'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldo.c:596:27: note: Function 'luaD_pcall' argument 4 names different: declaration 'oldtop' definition 'old_top'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldo.c:376:14: style: Variable 'ci' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfs.c:261:24: error: Array 'members[3]' accessed at index 12, which is out of bounds. [arrayIndexOutOfBounds] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfs.c:254:63: note: Assignment 'v=12', assigned value is 12 syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfs.c:261:24: note: Array index out of bounds syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfs.c:122:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.c:23:46: style:inconclusive: Function 'luaF_newCclosure' argument 2 names different: declaration 'nelems' definition 'n'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.h:22:56: note: Function 'luaF_newCclosure' argument 2 names different: declaration 'nelems' definition 'n'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.c:23:46: note: Function 'luaF_newCclosure' argument 2 names different: declaration 'nelems' definition 'n'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.c:30:46: style:inconclusive: Function 'luaF_newLclosure' argument 2 names different: declaration 'nelems' definition 'n'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.h:23:56: note: Function 'luaF_newLclosure' argument 2 names different: declaration 'nelems' definition 'n'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.c:30:46: note: Function 'luaF_newLclosure' argument 2 names different: declaration 'nelems' definition 'n'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.c:150:45: style:inconclusive: Function 'luaF_getlocalname' argument 1 names different: declaration 'func' definition 'f'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.h:29:55: note: Function 'luaF_getlocalname' argument 1 names different: declaration 'func' definition 'f'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.c:150:45: note: Function 'luaF_getlocalname' argument 1 names different: declaration 'func' definition 'f'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.c:89:38: style: Parameter 'level' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lgc.c:625:64: style: Parameter 'f' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lgc.c:643:66: style: Parameter 'f' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/llex.c:118:53: style:inconclusive: Function 'luaX_syntaxerror' argument 2 names different: declaration 's' definition 'msg'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/llex.h:74:63: note: Function 'luaX_syntaxerror' argument 2 names different: declaration 's' definition 'msg'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/llex.c:118:53: note: Function 'luaX_syntaxerror' argument 2 names different: declaration 's' definition 'msg'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lmem.c:46:67: style:inconclusive: Function 'luaM_growaux_' argument 4 names different: declaration 'size_elem' definition 'size_elems'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lmem.h:53:39: note: Function 'luaM_growaux_' argument 4 names different: declaration 'size_elem' definition 'size_elems'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lmem.c:46:67: note: Function 'luaM_growaux_' argument 4 names different: declaration 'size_elem' definition 'size_elems'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lmem.c:75:56: style:inconclusive: Function 'luaM_realloc_' argument 3 names different: declaration 'oldsize' definition 'osize'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lmem.h:50:66: note: Function 'luaM_realloc_' argument 3 names different: declaration 'oldsize' definition 'osize'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lmem.c:75:56: note: Function 'luaM_realloc_' argument 3 names different: declaration 'oldsize' definition 'osize'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lmem.c:75:70: style:inconclusive: Function 'luaM_realloc_' argument 4 names different: declaration 'size' definition 'nsize'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lmem.h:51:66: note: Function 'luaM_realloc_' argument 4 names different: declaration 'size' definition 'nsize'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lmem.c:75:70: note: Function 'luaM_realloc_' argument 4 names different: declaration 'size' definition 'nsize'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lobject.c:252:58: style:inconclusive: Function 'luaO_chunkid' argument 3 names different: declaration 'len' definition 'bufflen'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lobject.h:603:68: note: Function 'luaO_chunkid' argument 3 names different: declaration 'len' definition 'bufflen'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lobject.c:252:58: note: Function 'luaO_chunkid' argument 3 names different: declaration 'len' definition 'bufflen'. syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/loslib.c:111:3: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/loslib.c:205:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/loslib.c:209:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lstrlib.c:48:29: style: Condition '0u-(unsigned long)pos>len' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ltable.c:197:30: style: Parameter 'nums' can be declared as const array [constParameter] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ltablib.c:143:9: style: Condition 'n<=0' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ltablib.c:141:9: note: Assuming that condition 'i>e' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ltablib.c:142:13: note: Assignment 'n=e-i+1', assigned value is greater than 0 syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ltablib.c:143:9: note: Condition 'n<=0' is always false syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lvm.c:676:7: style: Variable 'L->top' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lvm.c:676:7: note: L->top is assigned syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lvm.c:676:7: note: L->top is overwritten syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lvm.c:801:7: style: Variable 'init' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lvm.c:801:7: style: Variable 'plimit' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/pci.c:124:25: style: Condition 'line[0]=='\t'' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/pci.c:106:17: note: Assuming that condition 'line[0]!='\t'' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/pci.c:124:25: note: Condition 'line[0]=='\t'' is always true syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/pci.c:141:25: style: Condition 'line[0]=='\t'' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/pci.c:106:17: note: Assuming that condition 'line[0]!='\t'' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/pci.c:141:25: note: Condition 'line[0]=='\t'' is always true syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:156:12: warning: Either the condition '!newcmdline' is redundant or there is possible null pointer dereference: newcmdline. [nullPointerRedundantCheck] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:153:9: note: Assuming that condition '!newcmdline' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:156:12: note: Null pointer dereference syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:157:32: warning: Either the condition '!newcmdline' is redundant or there is possible null pointer dereference: newcmdline. [nullPointerRedundantCheck] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:153:9: note: Assuming that condition '!newcmdline' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:157:32: note: Null pointer dereference syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:157:23: warning: Either the condition '!newcmdline' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:153:9: note: Assuming that condition '!newcmdline' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:157:23: note: Null pointer addition syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:203:9: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:150:9: note: ret is assigned syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:203:9: note: ret is overwritten syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:118:6: warning: Redundant assignment of 'L' to itself. [selfAssignment] syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/syslinux.c:118:6: style: Variable 'L' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/include/bitsize/stdint.h:21:0: error: #error "Unable to build for to-be-defined architecture type" [preprocessorErrorDirective] syslinux-6.04~git20190206.bf6db5b4/com32/mboot/map.c:246:19: style: Local variable 'len' shadows outer argument [shadowArgument] syslinux-6.04~git20190206.bf6db5b4/com32/mboot/map.c:101:54: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/mboot/map.c:246:19: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/mboot/map.c:352:19: style: Local variable 'len' shadows outer argument [shadowArgument] syslinux-6.04~git20190206.bf6db5b4/com32/mboot/map.c:101:54: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/mboot/map.c:352:19: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/mboot/mem.c:100:14: error: Common realloc mistake: 'ard' nulled but not freed upon failure [memleakOnRealloc] syslinux-6.04~git20190206.bf6db5b4/com32/menu/passwd.c:32:36: portability: '(void*)passwd' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/menu/readconfig.c:320:45: style: Local variable 'ipappend' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/com32/menu/readconfig.c:596:21: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/menu/readconfig.c:320:45: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/modules/cptime.c:219:4: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/modules/cptime.c:219:4: portability: %zd in format string (no. 3) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/com32/modules/dir.c:86:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu.c:73:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu.c:154:14: style: Condition 'n<2' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu.c:151:8: note: Assuming that condition 'n>=2' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu.c:154:14: note: Condition 'n<2' is always true syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu64.c:84:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu64.c:117:14: style: Condition 'n<3' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu64.c:114:8: note: Assuming that condition 'n>=3' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu64.c:117:14: note: Condition 'n<3' is always true syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu64.c:68:31: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu64.c:68:31: error: Signed integer overflow for expression '(x&1)<<31'. [integerOverflow] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifmemdsk.c:347:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifmemdsk.c:271:66: portability: 'addr' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifplop.c:125:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:294:38: style: Condition 'stage_pretimeout==0' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:291:30: note: Assuming that condition 'stage_pretimeout!=0' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:294:38: note: Condition 'stage_pretimeout==0' is always true syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:156:36: style: Local variable 'pld' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:41:28: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:156:36: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:205:36: style: Local variable 'pld' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:41:28: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:205:36: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:216:36: style: Local variable 'pld' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:41:28: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:216:36: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:240:36: style: Local variable 'pld' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:41:28: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:240:36: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:328:36: style: Local variable 'pld' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:41:28: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:328:36: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:329:17: style: Local variable 'status' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:43:9: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:329:17: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:140:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/kontron_wdt.c:231:19: style: Variable 'stage_cfg' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ls.c:86:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] syslinux-6.04~git20190206.bf6db5b4/com32/modules/meminfo.c:110:3: error: Null pointer dereference: ivt [nullPointer] syslinux-6.04~git20190206.bf6db5b4/com32/modules/meminfo.c:102:20: note: Assignment 'ivt=(void*)0', assigned value is 0 syslinux-6.04~git20190206.bf6db5b4/com32/modules/meminfo.c:110:3: note: Null pointer dereference syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:527:23: warning: Logical conjunction always evaluates to false: optnum <= 0 && optnum >= 256 - 1. [incorrectLogicOperator] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:1005:9: style: Variable 'rv' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:1004:9: note: rv is assigned syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:1005:9: note: rv is overwritten syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:1011:8: style: Variable 'rv' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:1005:9: note: rv is assigned syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:1011:8: note: rv is overwritten syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:741:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:311:19: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:832:17: error: Uninitialized variable: pxe->opts [uninitvar] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:1107:26: note: Calling function 'pxechn_args', 3rd argument '&pxe' value is syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:832:17: note: Uninitialized variable: pxe->opts syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:53:14: style: union member 'reg64_t::q' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:54:14: style: union member 'reg64_t::l' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:55:14: style: union member 'reg64_t::w' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:56:13: style: union member 'reg64_t::b' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:503:12: style: Variable 'n0' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:503:21: style: Variable 'n1' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:1131:11: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/com32/modules/sdi.c:147:37: style: Parameter 'header' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/com32/modules/whichsys.c:49:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:566:21: portability: Undefined behaviour, pointer arithmetic 'filestr2+file2pos' is out of bounds. [pointerOutOfBounds] syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:560:17: note: Assignment 'file2pos=-1', assigned value is -1 syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:561:9: note: Assuming condition is false syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:566:21: note: Pointer arithmetic overflow syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:600:21: portability: Undefined behaviour, pointer arithmetic 'filestr2+file2pos' is out of bounds. [pointerOutOfBounds] syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:587:17: note: Assignment 'file2pos=-1', assigned value is -1 syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:590:9: note: Assuming condition is false syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:600:21: note: Pointer arithmetic overflow syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:799:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:122:24: style: The statement 'if (dest[epos-bpos]!=0) dest[epos-bpos]=0' is logically equivalent to 'dest[epos-bpos]=0'. [duplicateConditionalAssign] syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:123:24: note: Assignment 'dest[epos-bpos]=0' syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:122:24: note: Condition 'dest[epos-bpos]!=0' is redundant syslinux-6.04~git20190206.bf6db5b4/com32/rosh/rosh.c:228:29: style: Condition 'inext()->astOperand1() [DacaWrongData] syslinux-6.04~git20190206.bf6db5b4/com32/sysdump/pci.c:20:13: style: Variable 'hdrtype' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/core/bios.c:486:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/core/bios.c:215:68: style: Parameter 'px' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/core/bios.c:215:77: style: Parameter 'py' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/core/call16.c:36:0: error: #error "Unable to build for to-be-defined architecture type" [preprocessorErrorDirective] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:309:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:87:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:83:30: style: Local variable 'dmi' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:68:33: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:83:30: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:42:14: style: struct member 'dmi_table::handle' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:47:13: style: struct member 'dmi_header::csum' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:51:13: style: struct member 'dmi_header::revision' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:52:13: style: struct member 'dmi_header::reserved' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:57:13: style: struct member 'smbios_header::csum' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:59:13: style: struct member 'smbios_header::major' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:60:13: style: struct member 'smbios_header::minor' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:61:14: style: struct member 'smbios_header::maxsize' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:62:13: style: struct member 'smbios_header::revision' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:63:13: style: struct member 'smbios_header::fmt' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/dmi.c:65:23: style: struct member 'smbios_header::dmi' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/elflink/load_env32.c:137:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/core/elflink/load_env32.c:138:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/core/elflink/load_env32.c:265:9: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/core/font.c:155:20: style: Variable 'vidrows' can be declared as pointer to const [constVariable] syslinux-6.04~git20190206.bf6db5b4/core/fs/btrfs/btrfs.c:57:14: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/core/fs/cache.c:55:19: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/core/fs/diskio_bios.c:325:20: style: Condition '(int8_t)devno<0' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/core/fs/diskio_bios.c:306:21: note: Assignment 'ireg.edx.b[0]=devno', assigned value is greater than -1 syslinux-6.04~git20190206.bf6db5b4/core/fs/diskio_bios.c:306:19: note: ireg.edx.b[0] is assigned 'devno' here. syslinux-6.04~git20190206.bf6db5b4/core/fs/diskio_bios.c:325:20: note: Condition '(int8_t)devno<0' is always false syslinux-6.04~git20190206.bf6db5b4/core/fs/diskio_bios.c:14:14: style: struct member 'edd_rdwr_packet::size' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/fs/diskio_bios.c:15:14: style: struct member 'edd_rdwr_packet::blocks' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/fs/diskio_bios.c:17:14: style: struct member 'edd_rdwr_packet::lba' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/fs/ext2/ext2.c:25:19: warning: Either the condition 'd_file_type>sizeof(inode_type)/sizeof(*inode_type)' is redundant or the array 'inode_type[8]' is accessed at index 8, which is out of bounds. [arrayIndexOutOfBoundsCond] syslinux-6.04~git20190206.bf6db5b4/core/fs/ext2/ext2.c:22:21: note: Assuming that condition 'd_file_type>sizeof(inode_type)/sizeof(*inode_type)' is not redundant syslinux-6.04~git20190206.bf6db5b4/core/fs/ext2/ext2.c:25:19: note: Array index out of bounds syslinux-6.04~git20190206.bf6db5b4/core/fs/ext2/ext2.c:35:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/core/fs/ext2/ext2.c:35:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/core/fs/fat/fat.c:266:15: style: Condition 'dst[-1]=='/'' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/core/fs/fat/fat.c:264:21: note: Assuming that condition 'dst[-1]!='/'' is not redundant syslinux-6.04~git20190206.bf6db5b4/core/fs/fat/fat.c:266:15: note: Condition 'dst[-1]=='/'' is always true syslinux-6.04~git20190206.bf6db5b4/core/fs/fat/fat.c:815:12: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/core/fs/fat/fat.c:816:27: portability: '(void*)&fat' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/core/fs/fat/fat.c:327:21: style: Variable 'c' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/core/fs/iso9660/iso9660.c:121:11: warning: Possible null pointer dereference: de [nullPointer] syslinux-6.04~git20190206.bf6db5b4/core/fs/iso9660/iso9660.c:102:25: note: Assignment 'offset=0', assigned value is 0 syslinux-6.04~git20190206.bf6db5b4/core/fs/iso9660/iso9660.c:114:14: note: Assuming condition is false syslinux-6.04~git20190206.bf6db5b4/core/fs/iso9660/iso9660.c:120:5: note: de is assigned '(const struct iso_dir_entry*)(data+offset)' here. syslinux-6.04~git20190206.bf6db5b4/core/fs/iso9660/iso9660.c:121:11: note: Null pointer dereference syslinux-6.04~git20190206.bf6db5b4/core/fs/iso9660/susp_rr.c:91:40: style: Parameter 'pt' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/core/fs/lib/mangle.c:39:15: style: Condition 'dst[-1]=='/'' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/core/fs/lib/mangle.c:37:21: note: Assuming that condition 'dst[-1]!='/'' is not redundant syslinux-6.04~git20190206.bf6db5b4/core/fs/lib/mangle.c:39:15: note: Condition 'dst[-1]=='/'' is always true syslinux-6.04~git20190206.bf6db5b4/core/fs/ntfs/ntfs.c:598:16: style: Condition 'retval' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/core/fs/ntfs/runlist.h:36:53: style: Parameter 'rlist' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/core/fs/ntfs/runlist.h:55:57: style: Parameter 'elem' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/core/fs/ntfs/ntfs.c:149:24: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/bios.c:133:17: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/bios.c:334:11: style: union member 'Anonymous0::Status' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/dhcp_option.c:92:21: portability: 'data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/dhcp_option.c:110:22: portability: 'data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/dhcp_option.c:234:17: style: Variable 'min_opt' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/dhcp_option.c:240:10: style: Variable 'min_opt' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/http.c:219:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/http_readdir.c:424:17: style: The statement 'if (pstate!=st_start) pstate=st_start' is logically equivalent to 'pstate=st_start'. [duplicateConditionalAssign] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/http_readdir.c:425:10: note: Assignment 'pstate=st_start' syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/http_readdir.c:424:17: note: Condition 'pstate!=st_start' is redundant syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/pxe.c:108:17: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/pxe.c:54:36: warning: Either the condition '!inode' is redundant or there is possible null pointer dereference: inode. [nullPointerRedundantCheck] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/pxe.c:56:9: note: Assuming that condition '!inode' is not redundant syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/pxe.c:54:36: note: Null pointer dereference syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/pxe.c:432:5: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/pxe.c:240:42: style:inconclusive: Function 'url_set_ip' argument 1 names different: declaration 'ui' definition 'url'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/url.h:32:33: note: Function 'url_set_ip' argument 1 names different: declaration 'ui' definition 'url'. syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/pxe.c:240:42: note: Function 'url_set_ip' argument 1 names different: declaration 'ui' definition 'url'. syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:36:38: style:inconclusive: Function 'tftp_error' argument 1 names different: declaration 'file' definition 'inode'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:17:38: note: Function 'tftp_error' argument 1 names different: declaration 'file' definition 'inode'. syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:36:38: note: Function 'tftp_error' argument 1 names different: declaration 'file' definition 'inode'. syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:40:11: style: Local variable 'err_op' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:40:11: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:40:11: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:41:11: style: Local variable 'err_num' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:41:11: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:41:11: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:42:7: style: Local variable 'err_msg' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:42:7: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:42:7: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/tftp.c:14:10: style: struct member 'tftp_packet::data' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/core/fs/ufs/bmap.c:28:21: error: Pointer addition with NULL pointer. [nullPointerArithmetic] syslinux-6.04~git20190206.bf6db5b4/core/fs/ufs/bmap.c:97:26: note: Assignment 'blk=NULL', assigned value is 0 syslinux-6.04~git20190206.bf6db5b4/core/fs/ufs/bmap.c:100:18: note: Assuming condition is false syslinux-6.04~git20190206.bf6db5b4/core/fs/ufs/bmap.c:112:29: note: Calling function 'scan_set_nblocks', 1st argument 'blk' value is 0 syslinux-6.04~git20190206.bf6db5b4/core/fs/ufs/bmap.c:43:32: note: Calling function 'get_blkaddr', 1st argument 'map' value is 0 syslinux-6.04~git20190206.bf6db5b4/core/fs/ufs/bmap.c:28:21: note: Null pointer addition syslinux-6.04~git20190206.bf6db5b4/core/fs/ufs/ufs.c:253:33: error: Buffer is accessed out of bounds: ufs_inode->direct_blk_ptr [bufferAccessOutOfBounds] syslinux-6.04~git20190206.bf6db5b4/core/fs/ufs/ufs.c:166:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/core/fs/ufs/ufs.c:166:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/core/fs/ufs/ufs.c:106:17: portability: 'data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs.c:314:2: warning: Either the condition '!core' is redundant or there is possible null pointer dereference: core. [nullPointerRedundantCheck] syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs.c:312:9: note: Assuming that condition '!core' is not redundant syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs.c:314:2: note: Null pointer dereference syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs_dir2.c:581:13: style: Variable 'bno' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs_dir2.c:576:13: note: bno is assigned syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs_dir2.c:581:13: note: bno is overwritten syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs_dir2.c:618:19: error: Uninitialized struct member: irec.br_startoff [uninitStructMember] syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs_dir2.c:619:20: error: Uninitialized struct member: irec.br_startoff [uninitStructMember] syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs_dir2.c:622:12: error: Uninitialized struct member: irec.br_startoff [uninitStructMember] syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs_dir2.c:619:39: error: Uninitialized struct member: irec.br_blockcount [uninitStructMember] syslinux-6.04~git20190206.bf6db5b4/core/graphics.c:75:15: style: Condition 'UsingVGA&0x4' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/core/graphics.c:69:6: note: Assuming that condition 'UsingVGA' is not redundant syslinux-6.04~git20190206.bf6db5b4/core/graphics.c:75:15: note: Condition 'UsingVGA&0x4' is always false syslinux-6.04~git20190206.bf6db5b4/core/kaboom.c:23:17: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] syslinux-6.04~git20190206.bf6db5b4/core/legacynet/dnsresolv.c:278:17: style: Redundant initialization for 'timeout_ptr'. The initialized value is overwritten before it is read. [redundantInitialization] syslinux-6.04~git20190206.bf6db5b4/core/legacynet/dnsresolv.c:222:32: note: timeout_ptr is initialized syslinux-6.04~git20190206.bf6db5b4/core/legacynet/dnsresolv.c:278:17: note: timeout_ptr is overwritten syslinux-6.04~git20190206.bf6db5b4/core/lwip/src/core/init.c:64:0: error: #error "BYTE_ORDER is not defined, you have to define it in your cc.h" [preprocessorErrorDirective] syslinux-6.04~git20190206.bf6db5b4/core/lwip/src/core/memp.c:397:76: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. [unknownMacro] syslinux-6.04~git20190206.bf6db5b4/core/lwip/src/core/pbuf.c:502:90: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. [unknownMacro] syslinux-6.04~git20190206.bf6db5b4/core/lwip/src/netif/undiif.c:98:0: error: #error "hwaddr_len mismatch" [preprocessorErrorDirective] syslinux-6.04~git20190206.bf6db5b4/core/mem/free.c:134:2: portability: %p in format string (no. 2) requires an address but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_p] syslinux-6.04~git20190206.bf6db5b4/core/mem/free.c:134:2: portability: %p in format string (no. 4) requires an address but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_p] syslinux-6.04~git20190206.bf6db5b4/core/mem/free.c:36:13: style: Variable 'pah' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/core/mem/init.c:38:33: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] syslinux-6.04~git20190206.bf6db5b4/core/mem/init.c:94:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] syslinux-6.04~git20190206.bf6db5b4/core/strcasecmp.c:10:33: error: Invalid strncasecmp() argument nr 3. The value is -1 but the valid values are '0:'. [invalidFunctionArg] syslinux-6.04~git20190206.bf6db5b4/core/thread/schedule.c:67:14: warning: Redundant code: Found a statement that begins with string constant. [constStatement] syslinux-6.04~git20190206.bf6db5b4/core/thread/schedule.c:80:42: warning: Found suspicious operator ',', result is not used. [constStatement] syslinux-6.04~git20190206.bf6db5b4/core/thread/schedule.c:83:10: warning: Redundant code: Found a statement that begins with string constant. [constStatement] syslinux-6.04~git20190206.bf6db5b4/diag/geodsp/mk-lba-img.c:40:13: style: Variable 'tt' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/dos/stdlib.h:11:0: error: #error "unsupported architecture" [preprocessorErrorDirective] syslinux-6.04~git20190206.bf6db5b4/dosutil/mdiskchk.c:129:5: warning: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] syslinux-6.04~git20190206.bf6db5b4/dosutil/mdiskchk.c:129:5: warning: %u in format string (no. 7) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] syslinux-6.04~git20190206.bf6db5b4/dosutil/mdiskchk.c:129:5: warning: %u in format string (no. 8) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] syslinux-6.04~git20190206.bf6db5b4/efi/adv.c:293:9: style: Condition 'file' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/efi/console.c:95:9: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/efi/console.c:90:9: note: status is assigned syslinux-6.04~git20190206.bf6db5b4/efi/console.c:95:9: note: status is overwritten syslinux-6.04~git20190206.bf6db5b4/efi/fio.c:85:25: style:inconclusive: Function 'efi_perror' argument 1 names different: declaration 'str' definition 'prog'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/efi/fio.h:21:25: note: Function 'efi_perror' argument 1 names different: declaration 'str' definition 'prog'. syslinux-6.04~git20190206.bf6db5b4/efi/fio.c:85:25: note: Function 'efi_perror' argument 1 names different: declaration 'str' definition 'prog'. syslinux-6.04~git20190206.bf6db5b4/efi/main.c:497:0: error: #error "unsupported architecture" [preprocessorErrorDirective] syslinux-6.04~git20190206.bf6db5b4/efi/wrapper.c:34:0: error: #error "unsupported architecture" [preprocessorErrorDirective] syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:317:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:774:8: style: Variable 'fd' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:772:8: note: fd is assigned syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:774:8: note: fd is overwritten syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1292:9: style: Variable 'pfd' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1290:9: note: pfd is assigned syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1292:9: note: pfd is overwritten syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1451:16: style: Variable 'devfd' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1448:11: note: devfd is assigned syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1451:16: note: devfd is overwritten syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1237:38: style:inconclusive: Function 'validate_device_btrfs' argument 1 names different: declaration 'pathfd' definition 'pfd'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1060:38: note: Function 'validate_device_btrfs' argument 1 names different: declaration 'pathfd' definition 'pfd'. syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1237:38: note: Function 'validate_device_btrfs' argument 1 names different: declaration 'pathfd' definition 'pfd'. syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1237:47: style:inconclusive: Function 'validate_device_btrfs' argument 2 names different: declaration 'devfd' definition 'dfd'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1060:50: note: Function 'validate_device_btrfs' argument 2 names different: declaration 'devfd' definition 'dfd'. syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:1237:47: note: Function 'validate_device_btrfs' argument 2 names different: declaration 'devfd' definition 'dfd'. syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:101:14: style: Unused variable: bytes [unusedVariable] syslinux-6.04~git20190206.bf6db5b4/extlinux/main.c:839:23: style: Variable 'off' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/libfat/ulint.h:32:43: style: Parameter '_p' can be declared as pointer to const [constParameter] syslinux-6.04~git20190206.bf6db5b4/libinstaller/advio.c:160:9: style: Condition 'file' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/libinstaller/syslxcom.c:129:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/libinstaller/syslxmod.c:79:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] syslinux-6.04~git20190206.bf6db5b4/libinstaller/syslxmod.c:107:36: style:inconclusive: Function 'syslinux_patch' argument 1 names different: declaration 'sectors' definition 'sectp'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/libinstaller/syslinux.h:61:36: note: Function 'syslinux_patch' argument 1 names different: declaration 'sectors' definition 'sectp'. syslinux-6.04~git20190206.bf6db5b4/libinstaller/syslxmod.c:107:36: note: Function 'syslinux_patch' argument 1 names different: declaration 'sectors' definition 'sectp'. syslinux-6.04~git20190206.bf6db5b4/libinstaller/syslxmod.c:79:4: style: Variable 'ex' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:393:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:396:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:370:58: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:284:6: style: Local variable 'rv' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:275:12: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:284:6: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:335:6: style: Local variable 'i' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:275:9: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:335:6: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:337:6: style: Local variable 'rv' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:275:12: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:337:6: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/lzo/prepcore.c:58:1: error: There is an unknown macro here somewhere. Configuration is required. If LZO_EXTERN is a macro then please configure it. [unknownMacro] syslinux-6.04~git20190206.bf6db5b4/lzo/src/lzo_conf.h:56:0: error: #error "version mismatch" [preprocessorErrorDirective] syslinux-6.04~git20190206.bf6db5b4/memdisk/conio.c:360:38: style:inconclusive: Function 'vprintf' argument 2 names different: declaration 'ap' definition 'args'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/memdisk/conio.h:28:35: note: Function 'vprintf' argument 2 names different: declaration 'ap' definition 'args'. syslinux-6.04~git20190206.bf6db5b4/memdisk/conio.c:360:38: note: Function 'vprintf' argument 2 names different: declaration 'ap' definition 'args'. syslinux-6.04~git20190206.bf6db5b4/memdisk/e820func.c:68:54: style: Condition 'ranges[i].type!=-1U' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/memdisk/e820func.c:75:51: style: Condition 'ranges[i].type==-1U' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/memdisk/e820test.c:58:6: warning: %llx in format string (no. 1) requires 'unsigned long long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] syslinux-6.04~git20190206.bf6db5b4/memdisk/e820test.c:58:6: warning: %llx in format string (no. 2) requires 'unsigned long long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] syslinux-6.04~git20190206.bf6db5b4/memdisk/e820test.c:58:6: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] syslinux-6.04~git20190206.bf6db5b4/memdisk/e820test.c:60:6: warning: %llx in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] syslinux-6.04~git20190206.bf6db5b4/memdisk/e820test.c:60:6: warning: %llx in format string (no. 2) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] syslinux-6.04~git20190206.bf6db5b4/memdisk/e820test.c:60:6: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/memdisk/msetup.c:155:32: style: Condition 'ep->type!=-1U' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/memdisk/msetup.c:62:2: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/memdisk/setup.c:679:0: error: #error "unsupported architecture" [preprocessorErrorDirective] syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:273:14: style: Array index 'offset' is used before limits check. [arrayIndexThenCheck] syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:282:14: style: Array index 'offset' is used before limits check. [arrayIndexThenCheck] syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:320:9: style: Variable 'offset' is reassigned a value before the old one has been used. [redundantAssignment] syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:300:9: note: offset is assigned syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:320:9: note: offset is overwritten syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:177:25: style:inconclusive: Function 'error' argument 1 names different: declaration 'm' definition 'x'. [funcArgNamesDifferent] syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:71:25: note: Function 'error' argument 1 names different: declaration 'm' definition 'x'. syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:177:25: note: Function 'error' argument 1 names different: declaration 'm' definition 'x'. syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:246:36: portability: 'indata' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:246:43: portability: 'indata+size' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/memdisk/unzip.c:267:42: portability: 'indata' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] syslinux-6.04~git20190206.bf6db5b4/mtools/syslinux.c:188:2: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] syslinux-6.04~git20190206.bf6db5b4/utils/gethostip.c:90:9: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] syslinux-6.04~git20190206.bf6db5b4/utils/gethostip.c:124:10: style: Variable 'sep' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:524:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:546:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:565:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:869:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:954:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:389:9: style: Condition '!*(uint8_t*)&r' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:387:18: note: Assignment 'r=1', assigned value is 1 syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:389:9: note: Condition '!*(uint8_t*)&r' is always false syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:403:9: style: Condition '!*(uint8_t*)&r' is always false [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:401:18: note: Assignment 'r=1', assigned value is 1 syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:403:9: note: Condition '!*(uint8_t*)&r' is always false syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:417:9: style: Condition '*(uint8_t*)&r' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:415:18: note: Assignment 'r=1', assigned value is 1 syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:417:9: note: Condition '*(uint8_t*)&r' is always true syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:431:9: style: Condition '*(uint8_t*)&r' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:429:18: note: Assignment 'r=1', assigned value is 1 syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:431:9: note: Condition '*(uint8_t*)&r' is always true syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:445:6: style: Condition '*(uint8_t*)&r' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:443:15: note: Assignment 'r=1', assigned value is 1 syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:445:6: note: Condition '*(uint8_t*)&r' is always true syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:492:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:746:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:990:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:1066:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:739:19: style: Local variable 'c' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:70:10: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:739:19: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:793:10: style: Local variable 'c' shadows outer variable [shadowVariable] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:70:10: note: Shadowed declaration syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:793:10: note: Shadow variable syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:159:13: style: struct member 'iso_primary_descriptor::ignore' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:161:13: style: struct member 'iso_primary_descriptor::ignore2' is never used. [unusedStructMember] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:524:9: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:565:9: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:739:21: style: Variable 'c' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:857:9: style: Variable 'gpt' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:866:9: style: Variable 'gpt' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/utils/isohybrid.c:869:6: style: Variable 'gpt' is assigned a value that is never used. [unreadVariable] syslinux-6.04~git20190206.bf6db5b4/utils/memdiskfind.c:84:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] syslinux-6.04~git20190206.bf6db5b4/utils/memdiskfind.c:134:2: error: Resource leak: memfd [resourceLeak] syslinux-6.04~git20190206.bf6db5b4/utils/memdiskfind.c:144:2: error: Resource leak: memfd [resourceLeak] syslinux-6.04~git20190206.bf6db5b4/utils/memdiskfind.c:151:2: error: Resource leak: memfd [resourceLeak] syslinux-6.04~git20190206.bf6db5b4/win/ntfssect.c:132:5: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] syslinux-6.04~git20190206.bf6db5b4/win/ntfstest.c:155:19: error: Uninitialized variable: buf [uninitvar] syslinux-6.04~git20190206.bf6db5b4/win/ntfstest.c:51:10: style: Unused variable: ok [unusedVariable] syslinux-6.04~git20190206.bf6db5b4/win/syslinux.c:126:3: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/win/syslinux.c:160:3: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] syslinux-6.04~git20190206.bf6db5b4/win/syslinux.c:207:16: error: Uninitialized variable: lpMsgBuf [uninitvar] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:832:12: error: Using argument pxe that points at uninitialized variable pxe [ctuuninitvar] syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:1107:13: note: Calling function pxechn_args, 3rd argument is uninitialized syslinux-6.04~git20190206.bf6db5b4/com32/modules/pxechn.c:832:12: note: Using argument pxe syslinux-6.04~git20190206.bf6db5b4/core/fs/btrfs/btrfs.c:241:6: error: Using argument k1 that points at uninitialized variable ignore_key [ctuuninitvar] syslinux-6.04~git20190206.bf6db5b4/core/fs/btrfs/btrfs.c:392:30: note: Calling function btrfs_comp_keys_type, 1st argument is uninitialized syslinux-6.04~git20190206.bf6db5b4/core/fs/btrfs/btrfs.c:241:6: note: Using argument k1 diff: 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/cmenu/libmenu/help.c:39:29: style: Parameter 'buffer' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:487:24: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:487:24: style: Parameter 'buf' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:497:49: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:497:49: style: Parameter 'buf' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:516:49: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/dmi/dmi.c:516:49: style: Parameter 'buf' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/vpd/vpd.c:33:24: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/gpllib/vpd/vpd.c:33:24: style: Parameter 'buf' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/lib/strspn.c:19:36: style: Parameter 'bitmap' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/lib/strspn.c:19:36: style: Parameter 'bitmap' can be declared with const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/module/elfutils.c:66:21: style: Parameter 'memptr' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/vesa/background.c:197:35: style: Parameter 'bytes' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/lib/sys/vesa/background.c:197:35: style: Parameter 'bytes' can be declared with const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ldo.c:142:49: style: Parameter 'oldstack' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.c:89:38: style: Parameter 'level' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lfunc.c:89:38: style: Parameter 'level' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lgc.c:625:64: style: Parameter 'f' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lgc.c:625:64: style: Parameter 'f' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lgc.c:643:66: style: Parameter 'f' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/lgc.c:643:66: style: Parameter 'f' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ltable.c:197:30: style: Parameter 'nums' can be declared as const array [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/lua/src/ltable.c:197:30: style: Parameter 'nums' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu.c:154:14: style: Condition 'n<2' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu.c:151:8: note: Assuming that condition 'n>=2' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu.c:154:14: note: Condition 'n<2' is always true head syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu64.c:117:14: style: Condition 'n<3' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu64.c:114:8: note: Assuming that condition 'n>=3' is not redundant syslinux-6.04~git20190206.bf6db5b4/com32/modules/ifcpu64.c:117:14: note: Condition 'n<3' is always true head syslinux-6.04~git20190206.bf6db5b4/com32/modules/sdi.c:147:37: style: Parameter 'header' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/com32/modules/sdi.c:147:37: style: Parameter 'header' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/core/bios.c:215:68: style: Parameter 'px' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/core/bios.c:215:68: style: Parameter 'px' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/core/bios.c:215:77: style: Parameter 'py' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/core/bios.c:215:77: style: Parameter 'py' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/core/font.c:155:20: style: Variable 'vidrows' can be declared as pointer to const [constVariable] 2.8 syslinux-6.04~git20190206.bf6db5b4/core/font.c:155:20: style: Variable 'vidrows' can be declared with const [constVariable] 2.8 syslinux-6.04~git20190206.bf6db5b4/core/fs/ext2/bmap.c:136:33: error: Pointer addition with NULL pointer. [nullPointerArithmetic] syslinux-6.04~git20190206.bf6db5b4/core/fs/ext2/bmap.c:122:27: note: Assignment 'blk=NULL', assigned value is 0 syslinux-6.04~git20190206.bf6db5b4/core/fs/ext2/bmap.c:125:18: note: Assuming condition is false syslinux-6.04~git20190206.bf6db5b4/core/fs/ext2/bmap.c:136:33: note: Null pointer addition head syslinux-6.04~git20190206.bf6db5b4/core/fs/fat/fat.c:266:15: style: Condition 'dst[-1]=='/'' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/core/fs/fat/fat.c:264:21: note: Assuming that condition 'dst[-1]!='/'' is not redundant syslinux-6.04~git20190206.bf6db5b4/core/fs/fat/fat.c:266:15: note: Condition 'dst[-1]=='/'' is always true head syslinux-6.04~git20190206.bf6db5b4/core/fs/iso9660/susp_rr.c:91:40: style: Parameter 'pt' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/core/fs/iso9660/susp_rr.c:91:40: style: Parameter 'pt' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/core/fs/lib/mangle.c:39:15: style: Condition 'dst[-1]=='/'' is always true [knownConditionTrueFalse] syslinux-6.04~git20190206.bf6db5b4/core/fs/lib/mangle.c:37:21: note: Assuming that condition 'dst[-1]!='/'' is not redundant syslinux-6.04~git20190206.bf6db5b4/core/fs/lib/mangle.c:39:15: note: Condition 'dst[-1]=='/'' is always true head syslinux-6.04~git20190206.bf6db5b4/core/fs/ntfs/runlist.h:36:53: style: Parameter 'rlist' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/core/fs/ntfs/runlist.h:36:53: style: Parameter 'rlist' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/core/fs/ntfs/runlist.h:55:57: style: Parameter 'elem' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/core/fs/ntfs/runlist.h:55:57: style: Parameter 'elem' can be declared with const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/core/fs/pxe/ftp_readdir.c:48:10: style: Variable 'bufs' can be declared with const [constVariable] 2.8 syslinux-6.04~git20190206.bf6db5b4/core/fs/xfs/xfs_dir2.h:56:68: style: Parameter 'end' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/core/mem/init.c:38:33: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head syslinux-6.04~git20190206.bf6db5b4/core/mem/init.c:94:32: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head syslinux-6.04~git20190206.bf6db5b4/libfat/ulint.h:32:43: style: Parameter '_p' can be declared as pointer to const [constParameter] 2.8 syslinux-6.04~git20190206.bf6db5b4/libfat/ulint.h:32:43: style: Parameter '_p' can be declared with const [constParameter] head syslinux-6.04~git20190206.bf6db5b4/linux/syslinux.c:370:58: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] DONE