2025-04-11 05:25 ftp://ftp.de.debian.org/debian/pool/main/libs/libsixel/libsixel_1.10.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=libcurl --library=motif --library=opengl --library=ruby --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-57-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 6d61fb6 (2025-04-10 10:45:32 +0200) count: 292 292 elapsed-time: 88.2 33.9 head-timing-info: old-timing-info: head results: libsixel-1.10.5/converters/img2sixel.c:44:25: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_VERSION is a macro then please configure it. [unknownMacro] libsixel-1.10.5/converters/sixel2png.c:53:25: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_VERSION is a macro then please configure it. [unknownMacro] libsixel-1.10.5/examples/drawing/main.c:90:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] libsixel-1.10.5/examples/drawing/main.c:124:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BRKINT [valueFlowBailoutIncompleteVar] libsixel-1.10.5/examples/drawing/main.c:142:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSADRAIN [valueFlowBailoutIncompleteVar] libsixel-1.10.5/examples/drawing/main.c:219:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/examples/drawing/main.c:237:35: style: Condition 'canvas_init(&c,640,480)!=0' is always false [knownConditionTrueFalse] libsixel-1.10.5/examples/drawing/main.c:237:20: note: Calling function 'canvas_init' returns 0 libsixel-1.10.5/examples/drawing/main.c:237:35: note: Condition 'canvas_init(&c,640,480)!=0' is always false libsixel-1.10.5/examples/drawing/main.c:140:41: style: Parameter 'old_termios' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/examples/drawing/main.c:145:30: style: Parameter 'data' can be declared as pointer to const. However it seems that 'sixel_write' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/examples/drawing/main.c:242:40: note: You might need to cast the function pointer here libsixel-1.10.5/examples/drawing/main.c:145:30: note: Parameter 'data' can be declared as pointer to const libsixel-1.10.5/examples/opengl/main.c:263:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] libsixel-1.10.5/examples/opengl/main.c:339:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_LIBC_ERROR [valueFlowBailoutIncompleteVar] libsixel-1.10.5/examples/opengl/main.c:380:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] libsixel-1.10.5/examples/opengl/main.c:423:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] libsixel-1.10.5/examples/opengl/main.c:425:30: style: Condition 'setup(width,height)!=0' is always false [knownConditionTrueFalse] libsixel-1.10.5/examples/opengl/main.c:425:14: note: Calling function 'setup' returns 0 libsixel-1.10.5/examples/opengl/main.c:425:30: note: Condition 'setup(width,height)!=0' is always false libsixel-1.10.5/examples/opengl/main.c:498:19: style: Condition 'cleanup()!=0' is always false [knownConditionTrueFalse] libsixel-1.10.5/examples/opengl/main.c:498:16: note: Calling function 'cleanup' returns 0 libsixel-1.10.5/examples/opengl/main.c:498:19: note: Condition 'cleanup()!=0' is always false libsixel-1.10.5/examples/opengl/main.c:445:13: style: Variable 'matrix' can be declared as const array [constVariable] libsixel-1.10.5/ruby/ext/libsixel/libsixel.c:30:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSIXEL_VERSION [valueFlowBailoutIncompleteVar] libsixel-1.10.5/ruby/ext/libsixel/libsixel.c:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eRuntimeError [valueFlowBailoutIncompleteVar] libsixel-1.10.5/ruby/ext/libsixel/libsixel.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] libsixel-1.10.5/ruby/ext/libsixel/libsixel.c:72:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sixel_encoder_t [valueFlowBailoutIncompleteVar] libsixel-1.10.5/ruby/ext/libsixel/libsixel.c:94:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sixel_encoder_t [valueFlowBailoutIncompleteVar] libsixel-1.10.5/ruby/ext/libsixel/libsixel.c:123:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eRuntimeError [valueFlowBailoutIncompleteVar] libsixel-1.10.5/ruby/ext/libsixel/libsixel.c:136:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] libsixel-1.10.5/ruby/ext/libsixel/libsixel.c:146:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sixel_decoder_t [valueFlowBailoutIncompleteVar] libsixel-1.10.5/ruby/ext/libsixel/libsixel.c:168:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sixel_decoder_t [valueFlowBailoutIncompleteVar] libsixel-1.10.5/ruby/ext/libsixel/libsixel.c:189:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/allocator.c:42:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/allocator.c:148:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_ALLOCATE_BYTES_MAX [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/allocator.c:177:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_ALLOCATE_BYTES_MAX [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/allocator.c:202:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_ALLOCATE_BYTES_MAX [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/chunk.c:56:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/chunk.c:178:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/chunk.c:229:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/chunk.c:297:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/chunk.c:392:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/chunk.c:159:13: style: Condition 'ret==0' is always false [knownConditionTrueFalse] libsixel-1.10.5/src/chunk.c:145:15: note: Assignment 'ret=1', assigned value is 1 libsixel-1.10.5/src/chunk.c:159:13: note: Condition 'ret==0' is always false libsixel-1.10.5/src/chunk.c:162:13: style: Condition 'ret<0' is always false [knownConditionTrueFalse] libsixel-1.10.5/src/chunk.c:145:15: note: Assignment 'ret=1', assigned value is 1 libsixel-1.10.5/src/chunk.c:162:13: note: Condition 'ret<0' is always false libsixel-1.10.5/src/decoder.c:74:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/decoder.c:120:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/decoder.c:177:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/decoder.c:223:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/dither.c:254:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/dither.c:336:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/dither.c:389:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/dither.c:471:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_LARGE_AUTO [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/dither.c:483:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_REP_AUTO [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/dither.c:495:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_QUALITY_AUTO [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/dither.c:520:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/dither.c:608:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_DIFFUSE_AUTO [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/dither.c:725:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/dither.c:519:20: style: Variable 'input_pixels' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/dither.c:622:31: style: Parameter 'dither' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/dither.c:631:30: style: Parameter 'dither' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/dither.c:649:30: style: Parameter 'dither' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/dither.c:659:30: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/encoder.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:240:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_OUTPUT_PACKET_SIZE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:268:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:295:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:325:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:421:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:456:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:584:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:639:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:700:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:717:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_OK [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:809:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_OK [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:898:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:1045:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:1150:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:1211:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_OK [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:1226:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:1647:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:1750:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/encoder.c:131:48: style: Redundant condition: The condition '*p == '/'' is redundant since '*p != '\0'' is sufficient. [redundantCondition] libsixel-1.10.5/src/encoder.c:1387:18: warning:inconclusive: Width 2 given in format string (no. 2) is smaller than destination buffer 'unit[32]'. [invalidScanfFormatWidth_smaller] libsixel-1.10.5/src/encoder.c:1408:18: warning:inconclusive: Width 2 given in format string (no. 2) is smaller than destination buffer 'unit[32]'. [invalidScanfFormatWidth_smaller] libsixel-1.10.5/src/encoder.c:219:28: style: Parameter 'data' can be declared as pointer to const. However it seems that 'sixel_write_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/src/encoder.c:991:33: note: You might need to cast the function pointer here libsixel-1.10.5/src/encoder.c:219:28: note: Parameter 'data' can be declared as pointer to const libsixel-1.10.5/src/encoder.c:219:50: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'sixel_write_callback' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/src/encoder.c:991:33: note: You might need to cast the function pointer here libsixel-1.10.5/src/encoder.c:219:50: note: Parameter 'priv' can be declared as pointer to const libsixel-1.10.5/src/encoder.c:236:23: style: Parameter 'data' can be declared as pointer to const. However it seems that 'sixel_hex_write_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/src/encoder.c:964:39: note: You might need to cast the function pointer here libsixel-1.10.5/src/encoder.c:236:23: note: Parameter 'data' can be declared as pointer to const libsixel-1.10.5/src/encoder.c:238:23: style: Parameter 'priv' can be declared as pointer to const. However it seems that 'sixel_hex_write_callback' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/src/encoder.c:964:39: note: You might need to cast the function pointer here libsixel-1.10.5/src/encoder.c:238:23: note: Parameter 'priv' can be declared as pointer to const libsixel-1.10.5/src/encoder.c:636:34: style: Parameter 'encoder' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/encoder.c:696:20: style: Variable 'palette' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/encoder.c:728:20: style: Variable 'pixbuf' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/encoder.c:876:17: style: Variable 'lag' is assigned a value that is never used. [unreadVariable] libsixel-1.10.5/src/encoder.c:882:21: style: Variable 'lag' is assigned a value that is never used. [unreadVariable] libsixel-1.10.5/src/frame.c:42:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/frame.c:85:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/frame.c:145:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/frame.c:286:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/frame.c:395:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/frame.c:514:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/frame.c:597:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/frame.c:664:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/frame.c:193:48: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:201:49: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:209:47: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:217:48: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:225:49: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:233:53: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:241:53: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:249:52: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:257:47: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:265:50: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:273:49: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/frame.c:283:30: style: Parameter 'bgcolor' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/fromgif.c:131:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromgif.c:182:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_OK [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromgif.c:275:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_RUNTIME_ERROR [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromgif.c:319:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromgif.c:427:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromgif.c:614:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromgif.c:383:43: style: Condition 'code==avail' is always false [knownConditionTrueFalse] libsixel-1.10.5/src/fromgif.c:377:29: note: Assuming that condition 'code<=avail' is not redundant libsixel-1.10.5/src/fromgif.c:380:39: note: avail is incremented', new value is symbolic=code libsixel-1.10.5/src/fromgif.c:383:43: note: Condition 'code==avail' is always false libsixel-1.10.5/src/fromgif.c:178:29: style: Parameter 'bgcolor' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/fromgif.c:424:29: style: Parameter 'bgcolor' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/fromgif.c:48:17: style: struct member 'gif_context_t::img_x' is never used. [unusedStructMember] libsixel-1.10.5/src/fromgif.c:48:24: style: struct member 'gif_context_t::img_y' is never used. [unusedStructMember] libsixel-1.10.5/src/fromgif.c:49:8: style: struct member 'gif_context_t::img_n' is never used. [unusedStructMember] libsixel-1.10.5/src/fromgif.c:49:15: style: struct member 'gif_context_t::img_out_n' is never used. [unusedStructMember] libsixel-1.10.5/src/fromgif.c:51:8: style: struct member 'gif_context_t::buflen' is never used. [unusedStructMember] libsixel-1.10.5/src/fromgif.c:52:18: style: struct member 'gif_context_t::buffer_start' is never used. [unusedStructMember] libsixel-1.10.5/src/fromgif.c:86:8: style: struct member 'gif_t::is_multiframe' is never used. [unusedStructMember] libsixel-1.10.5/src/frompnm.c:74:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/frompnm.c:38:47: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/fromsixel.c:170:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromsixel.c:256:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromsixel.c:351:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromsixel.c:377:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromsixel.c:404:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromsixel.c:905:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromsixel.c:987:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/fromsixel.c:945:6: warning: Either the condition 'palette==NULL' is redundant or there is possible null pointer dereference: palette. [nullPointerRedundantCheck] libsixel-1.10.5/src/fromsixel.c:946:17: note: Assuming that condition 'palette==NULL' is not redundant libsixel-1.10.5/src/fromsixel.c:945:6: note: Null pointer dereference libsixel-1.10.5/src/fromsixel.c:1017:6: warning: Either the condition 'palette==NULL' is redundant or there is possible null pointer dereference: palette. [nullPointerRedundantCheck] libsixel-1.10.5/src/fromsixel.c:1018:17: note: Assuming that condition 'palette==NULL' is not redundant libsixel-1.10.5/src/fromsixel.c:1017:6: note: Null pointer dereference libsixel-1.10.5/src/fromsixel.c:375:68: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/loader.c:617:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/loader.c:782:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/loader.c:1327:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/stb_image.h:5589:17: style: Redundant condition: The condition 'req_comp' is redundant since 'req_comp >= 3' is sufficient. [redundantCondition] libsixel-1.10.5/src/stb_image.h:4394:23: style: Condition 'c==18' is always true [knownConditionTrueFalse] libsixel-1.10.5/src/stb_image.h:4392:23: note: Assuming that condition 'c==17' is not redundant libsixel-1.10.5/src/stb_image.h:4383:22: note: Assuming that condition 'c>=19' is not redundant libsixel-1.10.5/src/stb_image.h:4394:23: note: Condition 'c==18' is always true libsixel-1.10.5/src/stb_image.h:5218:23: style: Condition '!stbi__compute_transparency16(z,tc16,s->img_out_n)' is always false [knownConditionTrueFalse] libsixel-1.10.5/src/stb_image.h:5218:52: note: Calling function 'stbi__compute_transparency16' returns 1 libsixel-1.10.5/src/stb_image.h:5218:23: note: Condition '!stbi__compute_transparency16(z,tc16,s->img_out_n)' is always false libsixel-1.10.5/src/stb_image.h:5220:23: style: Condition '!stbi__compute_transparency(z,tc,s->img_out_n)' is always false [knownConditionTrueFalse] libsixel-1.10.5/src/stb_image.h:5220:50: note: Calling function 'stbi__compute_transparency' returns 1 libsixel-1.10.5/src/stb_image.h:5220:23: note: Condition '!stbi__compute_transparency(z,tc,s->img_out_n)' is always false libsixel-1.10.5/src/stb_image.h:6108:22: style: Condition 'len>128' is always true [knownConditionTrueFalse] libsixel-1.10.5/src/stb_image.h:6096:15: note: Assuming that condition 'len==128' is not redundant libsixel-1.10.5/src/stb_image.h:6108:22: note: Condition 'len>128' is always true libsixel-1.10.5/src/stb_image.h:7269:30: style: Condition 'count==0' is always false [knownConditionTrueFalse] libsixel-1.10.5/src/stb_image.h:7265:26: note: Assuming that condition 'count>128' is not redundant libsixel-1.10.5/src/stb_image.h:7268:19: note: Compound assignment '-=', assigned value is 0 libsixel-1.10.5/src/stb_image.h:7269:30: note: Condition 'count==0' is always false libsixel-1.10.5/src/stb_image.h:7115:6: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] libsixel-1.10.5/src/stb_image.h:7113:11: note: c is initialized libsixel-1.10.5/src/stb_image.h:7115:6: note: c is overwritten libsixel-1.10.5/src/stb_image.h:1083:25: warning: Either the condition 'b<0' is redundant or there is division by zero at line 1083. [zerodivcond] libsixel-1.10.5/src/stb_image.h:1082:10: note: Assuming that condition 'b<0' is not redundant libsixel-1.10.5/src/stb_image.h:1083:25: note: Division by zero libsixel-1.10.5/src/stb_image.h:1429:93: style:inconclusive: Function 'stbi_load_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:423:109: note: Function 'stbi_load_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. libsixel-1.10.5/src/stb_image.h:1429:93: note: Function 'stbi_load_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. libsixel-1.10.5/src/stb_image.h:1429:103: style:inconclusive: Function 'stbi_load_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:423:131: note: Function 'stbi_load_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. libsixel-1.10.5/src/stb_image.h:1429:103: note: Function 'stbi_load_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. libsixel-1.10.5/src/stb_image.h:1436:107: style:inconclusive: Function 'stbi_load_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:424:109: note: Function 'stbi_load_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. libsixel-1.10.5/src/stb_image.h:1436:107: note: Function 'stbi_load_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. libsixel-1.10.5/src/stb_image.h:1436:117: style:inconclusive: Function 'stbi_load_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:424:131: note: Function 'stbi_load_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. libsixel-1.10.5/src/stb_image.h:1436:117: note: Function 'stbi_load_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. libsixel-1.10.5/src/stb_image.h:1478:92: style:inconclusive: Function 'stbi_loadf_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:458:100: note: Function 'stbi_loadf_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. libsixel-1.10.5/src/stb_image.h:1478:92: note: Function 'stbi_loadf_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. libsixel-1.10.5/src/stb_image.h:1478:102: style:inconclusive: Function 'stbi_loadf_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:458:122: note: Function 'stbi_loadf_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. libsixel-1.10.5/src/stb_image.h:1478:102: note: Function 'stbi_loadf_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. libsixel-1.10.5/src/stb_image.h:1485:106: style:inconclusive: Function 'stbi_loadf_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:459:112: note: Function 'stbi_loadf_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. libsixel-1.10.5/src/stb_image.h:1485:106: note: Function 'stbi_loadf_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. libsixel-1.10.5/src/stb_image.h:1485:116: style:inconclusive: Function 'stbi_loadf_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:459:134: note: Function 'stbi_loadf_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. libsixel-1.10.5/src/stb_image.h:1485:116: note: Function 'stbi_loadf_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. libsixel-1.10.5/src/stb_image.h:6501:51: style:inconclusive: Function 'stbi__pic_load' argument 2 names different: declaration 'x' definition 'px'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:948:55: note: Function 'stbi__pic_load' argument 2 names different: declaration 'x' definition 'px'. libsixel-1.10.5/src/stb_image.h:6501:51: note: Function 'stbi__pic_load' argument 2 names different: declaration 'x' definition 'px'. libsixel-1.10.5/src/stb_image.h:6501:59: style:inconclusive: Function 'stbi__pic_load' argument 3 names different: declaration 'y' definition 'py'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:948:63: note: Function 'stbi__pic_load' argument 3 names different: declaration 'y' definition 'py'. libsixel-1.10.5/src/stb_image.h:6501:59: note: Function 'stbi__pic_load' argument 3 names different: declaration 'y' definition 'py'. libsixel-1.10.5/src/stb_image.h:7742:63: style:inconclusive: Function 'stbi_info_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:495:68: note: Function 'stbi_info_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. libsixel-1.10.5/src/stb_image.h:7742:63: note: Function 'stbi_info_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. libsixel-1.10.5/src/stb_image.h:7756:68: style:inconclusive: Function 'stbi_is_16_bit_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image.h:497:73: note: Function 'stbi_is_16_bit_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. libsixel-1.10.5/src/stb_image.h:7756:68: note: Function 'stbi_is_16_bit_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. libsixel-1.10.5/src/loader.c:666:20: style: Variable 'end' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:836:72: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:1314:57: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:1314:65: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:2004:55: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:2211:120: style: Parameter 'fac' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:2211:146: style: Parameter 'dequant' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:2296:108: style: Parameter 'fac' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:3074:62: style: Parameter 'dequant' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:3466:63: style: Parameter 'in_near' can be declared as pointer to const. However it seems that 'stbi__resample_row_v_2' is a callback function, if 'in_near' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/src/stb_image.h:3916:59: note: You might need to cast the function pointer here libsixel-1.10.5/src/stb_image.h:3466:63: note: Parameter 'in_near' can be declared as pointer to const libsixel-1.10.5/src/stb_image.h:3466:81: style: Parameter 'in_far' can be declared as pointer to const. However it seems that 'stbi__resample_row_v_2' is a callback function, if 'in_far' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/src/stb_image.h:3916:59: note: You might need to cast the function pointer here libsixel-1.10.5/src/stb_image.h:3466:81: note: Parameter 'in_far' can be declared as pointer to const libsixel-1.10.5/src/stb_image.h:3480:13: style: Variable 'input' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:3506:64: style: Parameter 'in_near' can be declared as pointer to const. However it seems that 'stbi__resample_row_hv_2' is a callback function, if 'in_near' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/src/stb_image.h:3826:34: note: You might need to cast the function pointer here libsixel-1.10.5/src/stb_image.h:3506:64: note: Parameter 'in_near' can be declared as pointer to const libsixel-1.10.5/src/stb_image.h:3506:82: style: Parameter 'in_far' can be declared as pointer to const. However it seems that 'stbi__resample_row_hv_2' is a callback function, if 'in_far' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/src/stb_image.h:3826:34: note: You might need to cast the function pointer here libsixel-1.10.5/src/stb_image.h:3506:82: note: Parameter 'in_far' can be declared as pointer to const libsixel-1.10.5/src/stb_image.h:3647:67: style: Parameter 'in_near' can be declared as pointer to const. However it seems that 'stbi__resample_row_generic' is a callback function, if 'in_near' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/src/stb_image.h:3919:59: note: You might need to cast the function pointer here libsixel-1.10.5/src/stb_image.h:3647:67: note: Parameter 'in_near' can be declared as pointer to const libsixel-1.10.5/src/stb_image.h:4013:25: style: Variable 'y' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:4193:47: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:4323:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:4676:68: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:4700:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:4741:16: style: Variable 'prior' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:4793:19: style: Variable 'in' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:4875:11: style: Variable 'xorig' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image.h:4876:11: style: Variable 'yorig' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image.h:4877:11: style: Variable 'xspc' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image.h:4878:11: style: Variable 'yspc' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image.h:4909:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:4934:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:4957:60: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:4960:28: style: Variable 'orig' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:5036:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:5398:24: style: Variable 'mul_table' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image.h:5403:24: style: Variable 'shift_table' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image.h:6423:28: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:7132:55: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image.h:7338:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image.h:4405:44: warning: Uninitialized variable: lencodes [uninitvar] libsixel-1.10.5/src/stb_image.h:4381:13: note: Assuming condition is false libsixel-1.10.5/src/stb_image.h:4405:44: note: Uninitialized variable: lencodes libsixel-1.10.5/src/stb_image.h:6379:11: warning: Uninitialized variable: dest [uninitvar] libsixel-1.10.5/src/stb_image.h:6452:59: note: Calling function 'stbi__readval', 3rd argument 'value' value is libsixel-1.10.5/src/stb_image.h:6373:19: note: Assuming condition is false libsixel-1.10.5/src/stb_image.h:6379:11: note: Uninitialized variable: dest libsixel-1.10.5/src/stb_image.h:6070:40: style: Variable 'tga_palette_len' is assigned a value that is never used. [unreadVariable] libsixel-1.10.5/src/stb_image.h:6070:59: style: Variable 'tga_palette_bits' is assigned a value that is never used. [unreadVariable] libsixel-1.10.5/src/output.c:41:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/output.c:92:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/output.c:145:52: style: Parameter 'output' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/pixelformat.c:197:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/pixelformat.c:266:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:135:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:212:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:247:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:479:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:505:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:612:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:680:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:806:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:1200:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:1262:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/quant.c:711:14: style: Checking if unsigned expression 'step' is less than zero. [unsignedLessThanZero] libsixel-1.10.5/src/quant.c:1249:33: style:inconclusive: Function 'sixel_quant_apply_palette' argument 5 names different: declaration 'pixelformat' definition 'depth'. [funcArgNamesDifferent] libsixel-1.10.5/src/quant.h:54:35: note: Function 'sixel_quant_apply_palette' argument 5 names different: declaration 'pixelformat' definition 'depth'. libsixel-1.10.5/src/quant.c:1249:33: note: Function 'sixel_quant_apply_palette' argument 5 names different: declaration 'pixelformat' definition 'depth'. libsixel-1.10.5/src/quant.c:1257:34: style:inconclusive: Function 'sixel_quant_apply_palette' argument 13 names different: declaration 'ncolor' definition 'ncolors'. [funcArgNamesDifferent] libsixel-1.10.5/src/quant.h:62:36: note: Function 'sixel_quant_apply_palette' argument 13 names different: declaration 'ncolor' definition 'ncolors'. libsixel-1.10.5/src/quant.c:1257:34: note: Function 'sixel_quant_apply_palette' argument 13 names different: declaration 'ncolor' definition 'ncolors'. libsixel-1.10.5/src/quant.c:323:12: style: Variable 'lumin_factor' can be declared as const array [constVariable] libsixel-1.10.5/src/quant.c:686:13: style: Variable 'it' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/quant.c:1365:60: warning: Found calculation inside sizeof(). [sizeofCalculation] libsixel-1.10.5/src/status.c:140:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/status.c:90:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/tosixel.c:80:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_OUTPUT_PACKET_SIZE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:180:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:208:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:255:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:300:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:382:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:422:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:495:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:742:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:889:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:1417:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:1631:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tosixel.c:210:6: warning: Either the condition 'np==NULL' is redundant or there is possible null pointer dereference: np. [nullPointerRedundantCheck] libsixel-1.10.5/src/tosixel.c:212:12: note: Assuming that condition 'np==NULL' is not redundant libsixel-1.10.5/src/tosixel.c:210:6: note: Null pointer dereference libsixel-1.10.5/src/tosixel.c:251:34: style: Parameter 'np' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/tosixel.c:377:30: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/tosixel.c:417:30: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/tosixel.c:484:35: style: Parameter 'pixels' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/tosixel.c:492:35: style: Parameter 'palstate' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/tty.c:107:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/tty.c:144:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/writer.c:58:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/writer.c:294:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIXEL_FALSE [valueFlowBailoutIncompleteVar] libsixel-1.10.5/src/stb_image_write.h:1378:16: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] libsixel-1.10.5/src/stb_image_write.h:836:4: error: Memory leak: p [memleak] libsixel-1.10.5/src/stb_image_write.h:991:10: warning: Either the condition '(out)==0' is redundant or there is possible null pointer dereference: out. [nullPointerRedundantCheck] libsixel-1.10.5/src/stb_image_write.h:992:10: note: Assuming that condition '(out)==0' is not redundant libsixel-1.10.5/src/stb_image_write.h:991:10: note: Null pointer dereference libsixel-1.10.5/src/stb_image_write.h:992:10: warning: Either the condition '(out)==0' is redundant or there is possible null pointer dereference: out. [nullPointerRedundantCheck] libsixel-1.10.5/src/stb_image_write.h:993:10: note: Assuming that condition '(out)==0' is not redundant libsixel-1.10.5/src/stb_image_write.h:992:10: note: Null pointer dereference libsixel-1.10.5/src/stb_image_write.h:993:10: warning: Either the condition '(out)==0' is redundant or there is possible null pointer dereference: out. [nullPointerRedundantCheck] libsixel-1.10.5/src/stb_image_write.h:994:10: note: Assuming that condition '(out)==0' is not redundant libsixel-1.10.5/src/stb_image_write.h:993:10: note: Null pointer dereference libsixel-1.10.5/src/stb_image_write.h:1013:7: warning: Either the condition '(out)==0' is redundant or there is possible null pointer dereference: out. [nullPointerRedundantCheck] libsixel-1.10.5/src/stb_image_write.h:1014:7: note: Assuming that condition '(out)==0' is not redundant libsixel-1.10.5/src/stb_image_write.h:1013:7: note: Null pointer dereference libsixel-1.10.5/src/stb_image_write.h:1014:7: warning: Either the condition '(out)==0' is redundant or there is possible null pointer dereference: out. [nullPointerRedundantCheck] libsixel-1.10.5/src/stb_image_write.h:1015:7: note: Assuming that condition '(out)==0' is not redundant libsixel-1.10.5/src/stb_image_write.h:1014:7: note: Null pointer dereference libsixel-1.10.5/src/stb_image_write.h:991:10: warning: Either the condition '(out)==0' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] libsixel-1.10.5/src/stb_image_write.h:992:10: note: Assuming that condition '(out)==0' is not redundant libsixel-1.10.5/src/stb_image_write.h:991:10: note: Null pointer subtraction libsixel-1.10.5/src/stb_image_write.h:992:10: warning: Either the condition '(out)==0' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] libsixel-1.10.5/src/stb_image_write.h:993:10: note: Assuming that condition '(out)==0' is not redundant libsixel-1.10.5/src/stb_image_write.h:992:10: note: Null pointer subtraction libsixel-1.10.5/src/stb_image_write.h:993:10: warning: Either the condition '(out)==0' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] libsixel-1.10.5/src/stb_image_write.h:994:10: note: Assuming that condition '(out)==0' is not redundant libsixel-1.10.5/src/stb_image_write.h:993:10: note: Null pointer subtraction libsixel-1.10.5/src/stb_image_write.h:1013:7: warning: Either the condition '(out)==0' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] libsixel-1.10.5/src/stb_image_write.h:1014:7: note: Assuming that condition '(out)==0' is not redundant libsixel-1.10.5/src/stb_image_write.h:1013:7: note: Null pointer subtraction libsixel-1.10.5/src/stb_image_write.h:1014:7: warning: Either the condition '(out)==0' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] libsixel-1.10.5/src/stb_image_write.h:1015:7: note: Assuming that condition '(out)==0' is not redundant libsixel-1.10.5/src/stb_image_write.h:1014:7: note: Null pointer subtraction libsixel-1.10.5/src/stb_image_write.h:262:49: style:inconclusive: Function 'stbi_flip_vertically_on_write' argument 1 names different: declaration 'flip_boolean' definition 'flag'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:195:49: note: Function 'stbi_flip_vertically_on_write' argument 1 names different: declaration 'flip_boolean' definition 'flag'. libsixel-1.10.5/src/stb_image_write.h:262:49: note: Function 'stbi_flip_vertically_on_write' argument 1 names different: declaration 'flip_boolean' definition 'flag'. libsixel-1.10.5/src/stb_image_write.h:512:79: style:inconclusive: Function 'stbi_write_bmp_to_func' argument 3 names different: declaration 'w' definition 'x'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:190:79: note: Function 'stbi_write_bmp_to_func' argument 3 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:512:79: note: Function 'stbi_write_bmp_to_func' argument 3 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:512:86: style:inconclusive: Function 'stbi_write_bmp_to_func' argument 4 names different: declaration 'h' definition 'y'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:190:86: note: Function 'stbi_write_bmp_to_func' argument 4 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:512:86: note: Function 'stbi_write_bmp_to_func' argument 4 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:520:55: style:inconclusive: Function 'stbi_write_bmp' argument 2 names different: declaration 'w' definition 'x'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:177:55: note: Function 'stbi_write_bmp' argument 2 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:520:55: note: Function 'stbi_write_bmp' argument 2 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:520:62: style:inconclusive: Function 'stbi_write_bmp' argument 3 names different: declaration 'h' definition 'y'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:177:62: note: Function 'stbi_write_bmp' argument 3 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:520:62: note: Function 'stbi_write_bmp' argument 3 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:611:79: style:inconclusive: Function 'stbi_write_tga_to_func' argument 3 names different: declaration 'w' definition 'x'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:191:79: note: Function 'stbi_write_tga_to_func' argument 3 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:611:79: note: Function 'stbi_write_tga_to_func' argument 3 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:611:86: style:inconclusive: Function 'stbi_write_tga_to_func' argument 4 names different: declaration 'h' definition 'y'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:191:86: note: Function 'stbi_write_tga_to_func' argument 4 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:611:86: note: Function 'stbi_write_tga_to_func' argument 4 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:619:55: style:inconclusive: Function 'stbi_write_tga' argument 2 names different: declaration 'w' definition 'x'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:178:55: note: Function 'stbi_write_tga' argument 2 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:619:55: note: Function 'stbi_write_tga' argument 2 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:619:62: style:inconclusive: Function 'stbi_write_tga' argument 3 names different: declaration 'h' definition 'y'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:178:62: note: Function 'stbi_write_tga' argument 3 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:619:62: note: Function 'stbi_write_tga' argument 3 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:787:79: style:inconclusive: Function 'stbi_write_hdr_to_func' argument 3 names different: declaration 'w' definition 'x'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:192:79: note: Function 'stbi_write_hdr_to_func' argument 3 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:787:79: note: Function 'stbi_write_hdr_to_func' argument 3 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:787:86: style:inconclusive: Function 'stbi_write_hdr_to_func' argument 4 names different: declaration 'h' definition 'y'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:192:86: note: Function 'stbi_write_hdr_to_func' argument 4 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:787:86: note: Function 'stbi_write_hdr_to_func' argument 4 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:794:55: style:inconclusive: Function 'stbi_write_hdr' argument 2 names different: declaration 'w' definition 'x'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:179:55: note: Function 'stbi_write_hdr' argument 2 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:794:55: note: Function 'stbi_write_hdr' argument 2 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:794:62: style:inconclusive: Function 'stbi_write_hdr' argument 3 names different: declaration 'h' definition 'y'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:179:62: note: Function 'stbi_write_hdr' argument 3 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:794:62: note: Function 'stbi_write_hdr' argument 3 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:1215:55: style:inconclusive: Function 'stbi_write_png' argument 2 names different: declaration 'w' definition 'x'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:176:55: note: Function 'stbi_write_png' argument 2 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:1215:55: note: Function 'stbi_write_png' argument 2 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:1215:62: style:inconclusive: Function 'stbi_write_png' argument 3 names different: declaration 'h' definition 'y'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:176:62: note: Function 'stbi_write_png' argument 3 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:1215:62: note: Function 'stbi_write_png' argument 3 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:1215:97: style:inconclusive: Function 'stbi_write_png' argument 6 names different: declaration 'stride_in_bytes' definition 'stride_bytes'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:176:98: note: Function 'stbi_write_png' argument 6 names different: declaration 'stride_in_bytes' definition 'stride_bytes'. libsixel-1.10.5/src/stb_image_write.h:1215:97: note: Function 'stbi_write_png' argument 6 names different: declaration 'stride_in_bytes' definition 'stride_bytes'. libsixel-1.10.5/src/stb_image_write.h:1231:79: style:inconclusive: Function 'stbi_write_png_to_func' argument 3 names different: declaration 'w' definition 'x'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:189:79: note: Function 'stbi_write_png_to_func' argument 3 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:1231:79: note: Function 'stbi_write_png_to_func' argument 3 names different: declaration 'w' definition 'x'. libsixel-1.10.5/src/stb_image_write.h:1231:86: style:inconclusive: Function 'stbi_write_png_to_func' argument 4 names different: declaration 'h' definition 'y'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:189:86: note: Function 'stbi_write_png_to_func' argument 4 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:1231:86: note: Function 'stbi_write_png_to_func' argument 4 names different: declaration 'h' definition 'y'. libsixel-1.10.5/src/stb_image_write.h:1231:121: style:inconclusive: Function 'stbi_write_png_to_func' argument 7 names different: declaration 'stride_in_bytes' definition 'stride_bytes'. [funcArgNamesDifferent] libsixel-1.10.5/src/stb_image_write.h:189:122: note: Function 'stbi_write_png_to_func' argument 7 names different: declaration 'stride_in_bytes' definition 'stride_bytes'. libsixel-1.10.5/src/stb_image_write.h:1231:121: note: Function 'stbi_write_png_to_func' argument 7 names different: declaration 'stride_in_bytes' definition 'stride_bytes'. libsixel-1.10.5/src/stb_image_write.h:284:52: style: Parameter 'data' can be declared as pointer to const. However it seems that 'stbi__stdio_write' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsixel-1.10.5/src/stb_image_write.h:335:35: note: You might need to cast the function pointer here libsixel-1.10.5/src/stb_image_write.h:284:52: note: Parameter 'data' can be declared as pointer to const libsixel-1.10.5/src/stb_image_write.h:418:128: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image_write.h:420:18: style: Variable 'bg' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image_write.h:672:116: style: Parameter 'scanline' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image_write.h:859:55: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image_write.h:859:73: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image_write.h:867:49: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image_write.h:901:26: style: Variable 'lengthc' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image_write.h:902:26: style: Variable 'lengtheb' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image_write.h:903:26: style: Variable 'distc' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image_write.h:904:26: style: Variable 'disteb' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image_write.h:925:22: style: Variable 'bestloc' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image_write.h:1024:49: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/src/stb_image_write.h:1029:24: style: Variable 'crc_table' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image_write.h:1096:9: style: Variable 'mymap' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image_write.h:1099:19: style: Variable 'z' can be declared as pointer to const [constVariablePointer] libsixel-1.10.5/src/stb_image_write.h:1131:8: style: Variable 'ctype' can be declared as const array [constVariable] libsixel-1.10.5/src/stb_image_write.h:1328:117: style: Parameter 'fdtbl' can be declared as pointer to const [constParameterPointer] libsixel-1.10.5/wic/wic.cc:331:5: error: There is an unknown macro here somewhere. Configuration is required. If STDMETHOD is a macro then please configure it. [unknownMacro] diff: DONE