2025-04-03 22:56 ftp://ftp.de.debian.org/debian/pool/main/z/zvbi/zvbi_0.2.44.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.66 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 610386c (2025-04-03 20:19:17 +0200) count: 903 897 elapsed-time: 6.7 6.9 head-timing-info: old-timing-info: head results: zvbi-0.2.44/contrib/atsc-cc.c:1250:1: error: There is an unknown macro here somewhere. Configuration is required. If xasprintf is a macro then please configure it. [unknownMacro] zvbi-0.2.44/contrib/x11font.c:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/x11font.c:115:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unicode_wstfont2 [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:216:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:443:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:773:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:916:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1054:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1088:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1116:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1284:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1324:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1381:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1458:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1523:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1597:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1696:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1823:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1890:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:2116:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:2346:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:2499:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:2558:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/x11font.c:56:14: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/examples/network.c:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/network.c:125:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_SLICED_CAPTION_525 [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/network.c:176:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/network.c:60:12: style: Redundant assignment of 'user_data' to itself. [selfAssignment] zvbi-0.2.44/examples/pdc1.c:111:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc1.c:143:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc1.c:82:12: style: Redundant assignment of 'user_data' to itself. [selfAssignment] zvbi-0.2.44/examples/pdc1.c:82:12: style: Variable 'user_data' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/ntsc-cc.c:352:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:679:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_NUL_TERMINATED [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:718:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:817:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:844:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:1051:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:1061:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:1077:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:1186:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:1334:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:1387:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:261:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:322:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:416:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_PID_CHANNEL_LCI_0 [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:428:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:437:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:448:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:503:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:549:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_PIL_INTERRUPTION [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:607:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:658:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:811:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:961:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:983:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:1029:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_PID_CHANNEL_LCI_0 [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:1192:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_PID_CHANNEL_VPS [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:1366:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_MAX_PID_CHANNELS [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:1462:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:1514:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_SLICED_TELETEXT_B [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:1680:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_MAX_PID_CHANNELS [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:1721:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:1825:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:1882:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/pdc2.c:897:12: style: Redundant assignment of 'user_data' to itself. [selfAssignment] zvbi-0.2.44/examples/pdc2.c:1029:33: style: Same expression on both sides of '|'. [duplicateExpression] zvbi-0.2.44/examples/pdc2.c:1030:33: style: Same expression on both sides of '|'. [duplicateExpression] zvbi-0.2.44/examples/pdc2.c:1031:33: style: Same expression on both sides of '|'. [duplicateExpression] zvbi-0.2.44/examples/pdc2.c:1378:24: style: Redundant assignment of 'test_exp_vcr_state' to itself. [selfAssignment] zvbi-0.2.44/contrib/dvbsubs.c:161:11: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] zvbi-0.2.44/examples/rawout.c:69:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/rawout.c:122:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/rawout.c:139:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] zvbi-0.2.44/examples/rawout.c:155:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:1722:4: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/contrib/dvbsubs.c:2075:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] zvbi-0.2.44/contrib/dvbsubs.c:2084:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] zvbi-0.2.44/contrib/dvbsubs.c:2088:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] zvbi-0.2.44/examples/rawout.c:89:5: style: Redundant assignment of 'dx' to itself. [selfAssignment] zvbi-0.2.44/examples/rawout.c:90:12: style: Redundant assignment of 'user_data' to itself. [selfAssignment] zvbi-0.2.44/examples/rawout.c:89:5: style: Variable 'dx' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/examples/rawout.c:90:12: style: Variable 'user_data' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:174:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] zvbi-0.2.44/contrib/dvbsubs.c:205:12: note: Assuming allocation function fails zvbi-0.2.44/contrib/dvbsubs.c:205:12: note: Assignment 'f=fopen(inbuf,"w")', assigned value is 0 zvbi-0.2.44/contrib/dvbsubs.c:206:14: note: Calling function 'output_pgm', 1st argument 'f' value is 0 zvbi-0.2.44/contrib/dvbsubs.c:174:11: note: Null pointer dereference zvbi-0.2.44/contrib/dvbsubs.c:188:22: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] zvbi-0.2.44/contrib/dvbsubs.c:205:12: note: Assuming allocation function fails zvbi-0.2.44/contrib/dvbsubs.c:205:12: note: Assignment 'f=fopen(inbuf,"w")', assigned value is 0 zvbi-0.2.44/contrib/dvbsubs.c:206:14: note: Calling function 'output_pgm', 1st argument 'f' value is 0 zvbi-0.2.44/contrib/dvbsubs.c:188:22: note: Null pointer dereference zvbi-0.2.44/contrib/dvbsubs.c:191:14: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] zvbi-0.2.44/contrib/dvbsubs.c:205:12: note: Assuming allocation function fails zvbi-0.2.44/contrib/dvbsubs.c:205:12: note: Assignment 'f=fopen(inbuf,"w")', assigned value is 0 zvbi-0.2.44/contrib/dvbsubs.c:206:14: note: Calling function 'output_pgm', 1st argument 'f' value is 0 zvbi-0.2.44/contrib/dvbsubs.c:191:14: note: Null pointer dereference zvbi-0.2.44/contrib/dvbsubs.c:207:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] zvbi-0.2.44/contrib/dvbsubs.c:205:12: note: Assuming allocation function fails zvbi-0.2.44/contrib/dvbsubs.c:205:12: note: Assignment 'f=fopen(inbuf,"w")', assigned value is 0 zvbi-0.2.44/contrib/dvbsubs.c:207:10: note: Null pointer dereference zvbi-0.2.44/examples/wss.c:461:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/dvbsubs.c:234:16: style: Redundant assignment of 'region_depth' to itself. [selfAssignment] zvbi-0.2.44/contrib/dvbsubs.c:313:12: style: Redundant assignment of 'Cr_value' to itself. [selfAssignment] zvbi-0.2.44/contrib/dvbsubs.c:314:12: style: Redundant assignment of 'Cb_value' to itself. [selfAssignment] zvbi-0.2.44/contrib/dvbsubs.c:334:13: style: Redundant assignment of 'object_id' to itself. [selfAssignment] zvbi-0.2.44/contrib/dvbsubs.c:335:7: style: Redundant assignment of 'ofs' to itself. [selfAssignment] zvbi-0.2.44/contrib/dvbsubs.c:1280:4: style: Redundant assignment of 'r' to itself. [selfAssignment] zvbi-0.2.44/contrib/dvbsubs.c:1320:4: style: Redundant assignment of 'r' to itself. [selfAssignment] zvbi-0.2.44/contrib/dvbsubs.c:1377:4: style: Redundant assignment of 'r' to itself. [selfAssignment] zvbi-0.2.44/contrib/dvbsubs.c:1642:4: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] zvbi-0.2.44/contrib/dvbsubs.c:113:7: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:102:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:113:7: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:173:7: style: Local variable 'x' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:79:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:173:7: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:173:10: style: Local variable 'y' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:78:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:173:10: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:225:7: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:102:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:225:7: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:245:7: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:102:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:245:7: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:268:17: style: Local variable 'x' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:79:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:268:17: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:823:9: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:102:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:823:9: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:904:7: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:102:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:904:7: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:1113:15: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:102:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:1113:15: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:2169:9: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:102:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:2169:9: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:2179:9: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:102:5: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:2179:9: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:2187:9: style: Local variable 'n' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/dvbsubs.c:2108:15: note: Shadowed declaration zvbi-0.2.44/contrib/dvbsubs.c:2187:9: note: Shadow variable zvbi-0.2.44/contrib/dvbsubs.c:868:34: style: Parameter 'pid' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/contrib/dvbsubs.c:2554:26: style: Parameter 'argv' can be declared as const array [constParameter] zvbi-0.2.44/contrib/dvbsubs.c:234:16: style: Variable 'region_depth' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:313:12: style: Variable 'Cr_value' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:314:12: style: Variable 'Cb_value' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:328:17: style: Variable 'pixel_code' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:356:11: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:364:13: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:377:15: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:379:15: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:393:25: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:395:25: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:401:25: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:403:25: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:542:10: style: Variable 'page_id' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:548:24: style: Variable 'region_version_number' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:553:32: style: Variable 'region_level_of_compatibility' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:557:26: style: Variable 'region_8_bit_pixel_code' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:559:26: style: Variable 'region_2_bit_pixel_code' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:598:25: style: Variable 'object_provider_flag' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:609:28: style: Variable 'foreground_pixel_code' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:610:28: style: Variable 'background_pixel_code' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:640:10: style: Variable 'page_id' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:645:22: style: Variable 'CLUT_version_number' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:656:20: style: Variable 'CLUT_flag_2_bit' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:657:20: style: Variable 'CLUT_flag_4_bit' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:658:20: style: Variable 'CLUT_flag_8_bit' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:711:10: style: Variable 'page_id' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:713:4: style: Variable 'j' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:717:24: style: Variable 'object_version_number' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:719:28: style: Variable 'non_modifying_colour_flag' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1280:4: style: Variable 'r' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1304:16: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1307:16: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1341:16: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1345:16: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1351:16: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1357:16: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1363:16: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1399:16: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1413:17: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1419:17: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:1425:17: style: Variable 'run_length' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/dvbsubs.c:2159:11: style: Variable 'PTS_secs' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/misc.h:399:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/misc.h:416:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:284:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:285:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:286:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:287:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:288:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:289:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:345:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:485:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:550:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:618:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/bit_slicer.c:715:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/contrib/ntsc-cc.c:1692:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] zvbi-0.2.44/contrib/ntsc-cc.c:1703:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] zvbi-0.2.44/contrib/ntsc-cc.c:1737:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] zvbi-0.2.44/contrib/ntsc-cc.c:1783:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] zvbi-0.2.44/contrib/ntsc-cc.c:384:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/contrib/ntsc-cc.c:205:11: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] zvbi-0.2.44/contrib/ntsc-cc.c:187:5: note: i is assigned zvbi-0.2.44/contrib/ntsc-cc.c:205:11: note: i is overwritten zvbi-0.2.44/contrib/ntsc-cc.c:230:14: style: Local variable 'infoptr' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/ntsc-cc.c:97:7: note: Shadowed declaration zvbi-0.2.44/contrib/ntsc-cc.c:230:14: note: Shadow variable zvbi-0.2.44/contrib/ntsc-cc.c:328:18: style: Local variable 'in_xds' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/ntsc-cc.c:87:19: note: Shadowed declaration zvbi-0.2.44/contrib/ntsc-cc.c:328:18: note: Shadow variable zvbi-0.2.44/contrib/ntsc-cc.c:557:19: style: Local variable 'x' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/ntsc-cc.c:65:5: note: Shadowed declaration zvbi-0.2.44/contrib/ntsc-cc.c:557:19: note: Shadow variable zvbi-0.2.44/contrib/ntsc-cc.c:1358:8: style: Local variable 'x' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/ntsc-cc.c:65:5: note: Shadowed declaration zvbi-0.2.44/contrib/ntsc-cc.c:1358:8: note: Shadow variable zvbi-0.2.44/contrib/ntsc-cc.c:1674:7: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/contrib/ntsc-cc.c:1365:15: note: Shadowed declaration zvbi-0.2.44/contrib/ntsc-cc.c:1674:7: note: Shadow variable zvbi-0.2.44/contrib/ntsc-cc.c:154:37: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/contrib/ntsc-cc.c:1040:34: style: Parameter 'sliced' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/contrib/ntsc-cc.c:1041:14: style: Parameter 'n_lines' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/contrib/ntsc-cc.c:587:7: style: Variable 'row' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/contrib/ntsc-cc.c:1350:18: style: Unused variable: buf [unusedVariable] zvbi-0.2.44/contrib/ntsc-cc.c:1351:8: style: Unused variable: arg [unusedVariable] zvbi-0.2.44/contrib/ntsc-cc.c:1352:8: style: Variable 'args' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/cache.c:76:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:89:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:226:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:298:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _p [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:309:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _p [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:361:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _p [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:442:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _p [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:735:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:855:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:973:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:1007:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pri_node [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:1019:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pri_node [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:1101:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_node [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:1145:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:1215:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:1308:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:1464:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cache.c:1792:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/caption.c:118:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/caption.c:734:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/caption.c:767:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dlist.h:64:18: warning: Assert statement modifies 'counter'. [assignmentInAssert] zvbi-0.2.44/src/cache.c:118:2: portability: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'vbi_bool {aka signed int}'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/cache.c:1586:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/cache.c:1586:3: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/cache.c:501:15: style: Redundant assignment of 'videostd_set' to itself. [selfAssignment] zvbi-0.2.44/src/cache.c:1273:5: style: Redundant assignment of 'pg' to itself. [selfAssignment] zvbi-0.2.44/src/cache.c:1549:15: style: Local variable 'cp' shadows outer argument [shadowArgument] zvbi-0.2.44/src/cache.c:1437:25: note: Shadowed declaration zvbi-0.2.44/src/cache.c:1549:15: note: Shadow variable zvbi-0.2.44/src/cache.c:1568:15: style: Local variable 'cp' shadows outer argument [shadowArgument] zvbi-0.2.44/src/cache.c:1437:25: note: Shadowed declaration zvbi-0.2.44/src/cache.c:1568:15: note: Shadow variable zvbi-0.2.44/src/cache.c:1354:24: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/dlist.h:352:28: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/cache.c:501:15: style: Variable 'videostd_set' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/cache.c:1273:5: style: Variable 'pg' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/caption.c:793:5: style: Redundant assignment of 'cc' to itself. [selfAssignment] zvbi-0.2.44/src/caption.c:1605:8: style: Redundant assignment of 'reset' to itself. [selfAssignment] zvbi-0.2.44/src/caption.c:265:8: style: Local variable 'neq' shadows outer variable [shadowVariable] zvbi-0.2.44/src/caption.c:152:6: note: Shadowed declaration zvbi-0.2.44/src/caption.c:265:8: note: Shadow variable zvbi-0.2.44/src/caption.c:148:15: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/caption.c:584:42: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/caption.c:878:46: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/caption.c:267:8: style: Variable 'neq' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/caption.c:271:9: style: Variable 'neq' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/caption.c:275:8: style: Variable 'neq' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/caption.c:793:5: style: Variable 'cc' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/caption.c:1087:7: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/caption.c:1605:8: style: Variable 'reset' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/cc608_decoder.c:1152:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cc608_decoder.c:1316:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cc608_decoder.c:1527:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cc608_decoder.c:1895:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cc608_decoder.c:2003:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cc608_decoder.c:2114:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cc608_decoder.c:2186:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/cc608_decoder.c:2454:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/conv.c:711:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/conv.c:878:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/conv.c:230:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] zvbi-0.2.44/src/conv.c:233:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] zvbi-0.2.44/src/conv.c:354:15: style: Condition 'src_size>check_buffer_size' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/conv.c:353:34: note: check_buffer_size is assigned 'src_size+4' here. zvbi-0.2.44/src/conv.c:354:15: note: Condition 'src_size>check_buffer_size' is always false zvbi-0.2.44/src/conv.c:169:11: style: Redundant assignment of 'dst_size' to itself. [selfAssignment] zvbi-0.2.44/src/conv.c:265:6: style: Redundant assignment of 'dst' to itself. [selfAssignment] zvbi-0.2.44/src/conv.c:266:11: style: Redundant assignment of 'dst_size' to itself. [selfAssignment] zvbi-0.2.44/src/conv.c:267:12: style: Redundant assignment of 'repl_char' to itself. [selfAssignment] zvbi-0.2.44/src/conv.c:567:12: style: Redundant assignment of 'repl_char' to itself. [selfAssignment] zvbi-0.2.44/src/conv.c:136:35: style: Parameter 'cd' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/conv.c:184:35: style: Parameter 'cd' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/conv.c:56:8: style: struct member '_vbi_iconv_t::dummy' is never used. [unusedStructMember] zvbi-0.2.44/src/conv.c:169:11: style: Variable 'dst_size' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/conv.c:230:15: style: Variable 'dst_codeset' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/conv.c:233:15: style: Variable 'src_codeset' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/conv.c:265:6: style: Variable 'dst' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/conv.c:266:11: style: Variable 'dst_size' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/conv.c:267:12: style: Variable 'repl_char' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/conv.c:496:14: style: Variable 'buffer_size' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/conv.c:567:12: style: Variable 'repl_char' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/conv.c:748:15: style: Variable 'src_codeset' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/conv.c:762:14: style: Variable 'buffer_size' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/decoder.c:127:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/decoder.c:432:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/decoder.c:127:38: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/decoder.c:132:45: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/decoder.c:508:17: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/decoder.c:541:14: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/decoder.c:542:22: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/decoder.c:569:15: style: Variable 'service_set' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/cc608_decoder.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] zvbi-0.2.44/src/cc608_decoder.c:1105:11: style: Condition 'up>0' is always true [knownConditionTrueFalse] zvbi-0.2.44/src/cc608_decoder.c:1104:33: note: Assignment 'up=ch->uppercase_predictor+1', assigned value is greater than 0 zvbi-0.2.44/src/cc608_decoder.c:1105:11: note: Condition 'up>0' is always true zvbi-0.2.44/src/cc608_decoder.c:2223:8: style: Condition '0&&FIELD_1==f' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/cc608_decoder.c:2003:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/cc608_decoder.c:2114:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/cc608_decoder.c:2186:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/cc608_decoder.c:2186:3: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/cc608_decoder.c:2186:3: warning: %lld in format string (no. 10) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/cc608_decoder.c:2454:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/cc608_decoder.c:903:18: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/cc608_decoder.c:954:23: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/cc608_decoder.c:1719:23: style: Parameter 'curr_ch' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/cc608_decoder.c:1820:6: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/dvb_demux.c:402:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:509:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:636:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:656:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:795:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:886:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:1347:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:1386:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:1544:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:1659:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:2029:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:2351:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:2532:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_demux.c:2576:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_mux.c:830:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_mux.c:1821:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_mux.c:1973:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_mux.c:2217:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/dvb_mux.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] zvbi-0.2.44/src/dvb_mux.c:171:9: style: Same expression on both sides of '-'. [duplicateExpression] zvbi-0.2.44/src/dvb_mux.c:171:18: style: Same expression on both sides of '-'. [duplicateExpression] zvbi-0.2.44/src/dvb_mux.c:1748:22: style:inconclusive: Function 'vbi_dvb_mux_cor' argument 5 names different: declaration 'sliced_lines' definition 'sliced_left'. [funcArgNamesDifferent] zvbi-0.2.44/src/dvb_mux.h:93:22: note: Function 'vbi_dvb_mux_cor' argument 5 names different: declaration 'sliced_lines' definition 'sliced_left'. zvbi-0.2.44/src/dvb_mux.c:1748:22: note: Function 'vbi_dvb_mux_cor' argument 5 names different: declaration 'sliced_lines' definition 'sliced_left'. zvbi-0.2.44/src/dvb_mux.c:1751:30: style:inconclusive: Function 'vbi_dvb_mux_cor' argument 8 names different: declaration 'sampling_par' definition 'sp'. [funcArgNamesDifferent] zvbi-0.2.44/src/dvb_mux.h:96:30: note: Function 'vbi_dvb_mux_cor' argument 8 names different: declaration 'sampling_par' definition 'sp'. zvbi-0.2.44/src/dvb_mux.c:1751:30: note: Function 'vbi_dvb_mux_cor' argument 8 names different: declaration 'sampling_par' definition 'sp'. zvbi-0.2.44/src/dvb_mux.c:1952:30: style:inconclusive: Function 'vbi_dvb_mux_feed' argument 6 names different: declaration 'sampling_par' definition 'sp'. [funcArgNamesDifferent] zvbi-0.2.44/src/dvb_mux.h:108:30: note: Function 'vbi_dvb_mux_feed' argument 6 names different: declaration 'sampling_par' definition 'sp'. zvbi-0.2.44/src/dvb_mux.c:1952:30: note: Function 'vbi_dvb_mux_feed' argument 6 names different: declaration 'sampling_par' definition 'sp'. zvbi-0.2.44/src/dvb_mux.c:607:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/dvb_mux.c:1001:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/dvb_mux.c:1409:11: style: Variable 'p_end' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/dvb_mux.c:2089:21: style: Parameter 'mx' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/dvb_mux.c:2105:21: style: Parameter 'mx' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/dvb_demux.c:1436:7: style: Condition '!decode_timestamp(dx,&dx->packet_pts,0x21,p+9)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/dvb_demux.c:1436:25: note: Calling function 'decode_timestamp' returns 1 zvbi-0.2.44/src/dvb_demux.c:1436:7: note: Condition '!decode_timestamp(dx,&dx->packet_pts,0x21,p+9)' is always false zvbi-0.2.44/src/dvb_demux.c:1441:7: style: Condition '!decode_timestamp(dx,&dx->packet_pts,0x31,p+9)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/dvb_demux.c:1441:25: note: Calling function 'decode_timestamp' returns 1 zvbi-0.2.44/src/dvb_demux.c:1441:7: note: Condition '!decode_timestamp(dx,&dx->packet_pts,0x31,p+9)' is always false zvbi-0.2.44/src/dvb_demux.c:1058:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] zvbi-0.2.44/src/dvb_demux.c:2324:21: style:inconclusive: Function 'vbi_dvb_demux_cor' argument 3 names different: declaration 'sliced_lines' definition 'max_lines'. [funcArgNamesDifferent] zvbi-0.2.44/src/dvb_demux.h:71:21: note: Function 'vbi_dvb_demux_cor' argument 3 names different: declaration 'sliced_lines' definition 'max_lines'. zvbi-0.2.44/src/dvb_demux.c:2324:21: note: Function 'vbi_dvb_demux_cor' argument 3 names different: declaration 'sliced_lines' definition 'max_lines'. zvbi-0.2.44/src/dvb_demux.c:1839:20: style: Local variable 'p' shadows outer variable [shadowVariable] zvbi-0.2.44/src/dvb_demux.c:1793:17: note: Shadowed declaration zvbi-0.2.44/src/dvb_demux.c:1839:20: note: Shadow variable zvbi-0.2.44/src/bit_slicer.c:480:9: style: Redundant assignment of 'buffer' to itself. [selfAssignment] zvbi-0.2.44/src/bit_slicer.c:481:9: style: Redundant assignment of 'points' to itself. [selfAssignment] zvbi-0.2.44/src/bit_slicer.c:482:11: style: Redundant assignment of 'n_points' to itself. [selfAssignment] zvbi-0.2.44/src/bit_slicer.c:483:6: style: Redundant assignment of 'raw' to itself. [selfAssignment] zvbi-0.2.44/src/bit_slicer.c:284:1: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/bit_slicer.c:285:1: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/bit_slicer.c:286:1: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/bit_slicer.c:287:1: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/bit_slicer.c:288:1: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/bit_slicer.c:289:1: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/bit_slicer.c:345:12: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/bit_slicer.c:581:2: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/bit_slicer.c:303:25: style: Variable 'points_start' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/bit_slicer.c:538:25: style: Variable 'points_start' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/bit_slicer.c:480:9: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/bit_slicer.c:481:9: style: Variable 'points' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/bit_slicer.c:482:11: style: Variable 'n_points' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/bit_slicer.c:483:6: style: Variable 'raw' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/event.c:40:57: style:inconclusive: Function '__vbi_event_handler_list_send' argument 1 names different: declaration 'es' definition 'el'. [funcArgNamesDifferent] zvbi-0.2.44/src/event-priv.h:73:57: note: Function '__vbi_event_handler_list_send' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:40:57: note: Function '__vbi_event_handler_list_send' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:89:35: style:inconclusive: Function '_vbi_event_handler_list_remove_by_event' argument 1 names different: declaration 'es' definition 'el'. [funcArgNamesDifferent] zvbi-0.2.44/src/event-priv.h:77:35: note: Function '_vbi_event_handler_list_remove_by_event' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:89:35: note: Function '_vbi_event_handler_list_remove_by_event' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:129:31: style:inconclusive: Function '_vbi_event_handler_list_remove_by_callback' argument 1 names different: declaration 'es' definition 'el'. [funcArgNamesDifferent] zvbi-0.2.44/src/event-priv.h:81:31: note: Function '_vbi_event_handler_list_remove_by_callback' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:129:31: note: Function '_vbi_event_handler_list_remove_by_callback' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:145:58: style:inconclusive: Function '_vbi_event_handler_list_remove' argument 1 names different: declaration 'es' definition 'el'. [funcArgNamesDifferent] zvbi-0.2.44/src/event-priv.h:85:58: note: Function '_vbi_event_handler_list_remove' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:145:58: note: Function '_vbi_event_handler_list_remove' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:197:55: style:inconclusive: Function '_vbi_event_handler_list_add' argument 1 names different: declaration 'es' definition 'el'. [funcArgNamesDifferent] zvbi-0.2.44/src/event-priv.h:88:55: note: Function '_vbi_event_handler_list_add' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:197:55: note: Function '_vbi_event_handler_list_add' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:255:59: style:inconclusive: Function '_vbi_event_handler_list_destroy' argument 1 names different: declaration 'es' definition 'el'. [funcArgNamesDifferent] zvbi-0.2.44/src/event-priv.h:93:59: note: Function '_vbi_event_handler_list_destroy' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:255:59: note: Function '_vbi_event_handler_list_destroy' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:265:56: style:inconclusive: Function '_vbi_event_handler_list_init' argument 1 names different: declaration 'es' definition 'el'. [funcArgNamesDifferent] zvbi-0.2.44/src/event-priv.h:95:56: note: Function '_vbi_event_handler_list_init' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/event.c:265:56: note: Function '_vbi_event_handler_list_init' argument 1 names different: declaration 'es' definition 'el'. zvbi-0.2.44/src/exp-templ.c:62:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-templ.c:143:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-templ.c:173:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-templ.c:235:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-templ.c:126:4: style: Redundant assignment of 'e' to itself. [selfAssignment] zvbi-0.2.44/src/exp-templ.c:211:9: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-templ.c:126:4: style: Variable 'e' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/exp-html.c:110:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-html.c:147:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-html.c:168:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-html.c:389:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-html.c:465:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:68:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wstfont2_width [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:531:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:629:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:789:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:837:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:856:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:885:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:925:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:1150:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ccfont2_height [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:1161:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wstfont2_height [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:1313:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:1480:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-txt.c:66:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-txt.c:156:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-txt.c:184:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-txt.c:264:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-txt.c:359:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-txt.c:599:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable export [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-html.c:573:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] zvbi-0.2.44/src/exp-html.c:571:15: note: Assuming allocation function fails zvbi-0.2.44/src/exp-html.c:571:15: note: Assignment 's=calloc(1,sizeof(struct style))', assigned value is 0 zvbi-0.2.44/src/exp-html.c:573:5: note: Null pointer dereference zvbi-0.2.44/src/exp-html.c:574:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] zvbi-0.2.44/src/exp-html.c:571:15: note: Assuming allocation function fails zvbi-0.2.44/src/exp-html.c:571:15: note: Assignment 's=calloc(1,sizeof(struct style))', assigned value is 0 zvbi-0.2.44/src/exp-html.c:574:5: note: Null pointer dereference zvbi-0.2.44/src/exp-html.c:575:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] zvbi-0.2.44/src/exp-html.c:571:15: note: Assuming allocation function fails zvbi-0.2.44/src/exp-html.c:571:15: note: Assignment 's=calloc(1,sizeof(struct style))', assigned value is 0 zvbi-0.2.44/src/exp-html.c:575:5: note: Null pointer dereference zvbi-0.2.44/src/exp-html.c:578:4: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] zvbi-0.2.44/src/exp-html.c:571:15: note: Assuming allocation function fails zvbi-0.2.44/src/exp-html.c:571:15: note: Assignment 's=calloc(1,sizeof(struct style))', assigned value is 0 zvbi-0.2.44/src/exp-html.c:578:4: note: Null pointer dereference zvbi-0.2.44/src/exp-html.c:136:4: style: Redundant assignment of 'e' to itself. [selfAssignment] zvbi-0.2.44/src/exp-html.c:147:17: style: Variable 'html' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-html.c:238:41: style: Parameter 's' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/exp-html.c:136:4: style: Variable 'e' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/exp-txt.c:143:4: style: Redundant assignment of 'e' to itself. [selfAssignment] zvbi-0.2.44/src/exp-txt.c:356:6: style: Redundant assignment of 'rtl' to itself. [selfAssignment] zvbi-0.2.44/src/exp-txt.c:264:8: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/exp-txt.c:265:8: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/exp-txt.c:266:8: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/exp-txt.c:347:54: style:inconclusive: Function 'vbi_print_page_region' argument 6 names different: declaration 'ltr' definition 'rtl'. [funcArgNamesDifferent] zvbi-0.2.44/src/exp-txt.h:36:57: note: Function 'vbi_print_page_region' argument 6 names different: declaration 'ltr' definition 'rtl'. zvbi-0.2.44/src/exp-txt.c:347:54: note: Function 'vbi_print_page_region' argument 6 names different: declaration 'ltr' definition 'rtl'. zvbi-0.2.44/src/exp-txt.c:156:17: style: Variable 'text' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-txt.c:488:55: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/exp-txt.c:596:18: style: Parameter 'pg' can be declared as pointer to const. However it seems that 'export' is a callback function, if 'pg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zvbi-0.2.44/src/exp-txt.c:599:24: note: You might need to cast the function pointer here zvbi-0.2.44/src/exp-txt.c:596:18: note: Parameter 'pg' can be declared as pointer to const zvbi-0.2.44/src/exp-txt.c:601:12: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-txt.c:42:12: style: struct member 'text_instance::color' is never used. [unusedStructMember] zvbi-0.2.44/src/exp-txt.c:143:4: style: Variable 'e' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/exp-gfx.c:534:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/exp-gfx.c:534:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/exp-gfx.c:197:5: style: Redundant assignment of 'c' to itself. [selfAssignment] zvbi-0.2.44/src/export.c:119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:189:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:429:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:508:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:873:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:932:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:1063:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSIZE_MAX [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:1616:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:1759:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:1782:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:1801:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:1843:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:1948:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:2025:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/export.c:2061:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/exp-gfx.c:815:4: style: Redundant assignment of 'e' to itself. [selfAssignment] zvbi-0.2.44/src/exp-gfx.c:826:4: style: Redundant assignment of 'e' to itself. [selfAssignment] zvbi-0.2.44/src/exp-gfx.c:626:7: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/src/exp-gfx.c:615:6: note: Shadowed declaration zvbi-0.2.44/src/exp-gfx.c:626:7: note: Shadow variable zvbi-0.2.44/src/exp-gfx.c:837:16: style: Variable 'gfx' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-gfx.c:885:16: style: Variable 'gfx' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-gfx.c:925:16: style: Variable 'gfx' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-gfx.c:1019:12: style: Variable 'd_end' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-gfx.c:1147:31: style: Parameter 'ac' can be declared as pointer to const. However it seems that 'draw_char_cc_indexed' is a callback function, if 'ac' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zvbi-0.2.44/src/exp-gfx.c:1181:27: note: You might need to cast the function pointer here zvbi-0.2.44/src/exp-gfx.c:1147:31: note: Parameter 'ac' can be declared as pointer to const zvbi-0.2.44/src/exp-gfx.c:1158:31: style: Parameter 'ac' can be declared as pointer to const. However it seems that 'draw_char_vt_indexed' is a callback function, if 'ac' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zvbi-0.2.44/src/exp-gfx.c:1181:50: note: You might need to cast the function pointer here zvbi-0.2.44/src/exp-gfx.c:1158:31: note: Parameter 'ac' can be declared as pointer to const zvbi-0.2.44/src/exp-gfx.c:1313:16: style: Variable 'gfx' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-gfx.c:1440:9: style: Variable 'd_end' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-gfx.c:1480:16: style: Variable 'gfx' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/exp-gfx.c:815:4: style: Variable 'e' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/exp-gfx.c:826:4: style: Variable 'e' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/exp-gfx.c:904:22: style: Variable 'size' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/exp-gfx.c:907:22: style: Variable 'size' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/exp-gfx.c:911:22: style: Variable 'size' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/export.c:595:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] zvbi-0.2.44/src/export.c:552:26: style: Array index 'keylen' is used before limits check. [arrayIndexThenCheck] zvbi-0.2.44/src/export.c:1690:4: error: Common realloc mistake: 'data' nulled but not freed upon failure [memleakOnRealloc] zvbi-0.2.44/src/export.c:438:19: style: Variable 'oi' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/export.c:439:17: style: Variable 'keyword' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/export.c:790:9: style: Variable 'network' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/export.c:800:9: style: Variable 'creator' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/export.c:988:9: style: Variable 'old_data' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/export.c:2000:19: style: Variable 'oi' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/export.c:2004:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/export.c:2083:31: style: Parameter 'export' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/idl_demux.c:179:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/idl_demux.c:226:5: style: Redundant assignment of 'dx' to itself. [selfAssignment] zvbi-0.2.44/src/idl_demux.c:227:9: style: Redundant assignment of 'buffer' to itself. [selfAssignment] zvbi-0.2.44/src/inout.c:502:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/idl_demux.c:228:5: style: Redundant assignment of 'ft' to itself. [selfAssignment] zvbi-0.2.44/src/inout.c:558:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/idl_demux.c:242:5: style: Redundant assignment of 'dx' to itself. [selfAssignment] zvbi-0.2.44/src/inout.c:667:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/idl_demux.c:243:9: style: Redundant assignment of 'buffer' to itself. [selfAssignment] zvbi-0.2.44/src/inout.c:712:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/idl_demux.c:257:5: style: Redundant assignment of 'dx' to itself. [selfAssignment] zvbi-0.2.44/src/idl_demux.c:258:9: style: Redundant assignment of 'buffer' to itself. [selfAssignment] zvbi-0.2.44/src/idl_demux.c:269:5: style: Redundant assignment of 'dx' to itself. [selfAssignment] zvbi-0.2.44/src/idl_demux.c:270:9: style: Redundant assignment of 'buffer' to itself. [selfAssignment] zvbi-0.2.44/src/idl_demux.c:210:8: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/idl_demux.c:226:5: style: Variable 'dx' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/idl_demux.c:227:9: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/idl_demux.c:228:5: style: Variable 'ft' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/idl_demux.c:242:5: style: Variable 'dx' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/idl_demux.c:243:9: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/idl_demux.c:257:5: style: Variable 'dx' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/idl_demux.c:258:9: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/idl_demux.c:269:5: style: Variable 'dx' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/idl_demux.c:270:9: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/inout.c:644:2: warning: %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/inout.c:642:15: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/io-bktr.c:387:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-bktr.c:379:11: style: Redundant assignment of 'dev_name' to itself. [selfAssignment] zvbi-0.2.44/src/io-bktr.c:380:11: style: Redundant assignment of 'scanning' to itself. [selfAssignment] zvbi-0.2.44/src/io-bktr.c:381:11: style: Redundant assignment of 'services' to itself. [selfAssignment] zvbi-0.2.44/src/io-bktr.c:382:9: style: Redundant assignment of 'strict' to itself. [selfAssignment] zvbi-0.2.44/src/io-bktr.c:383:8: style: Redundant assignment of 'trace' to itself. [selfAssignment] zvbi-0.2.44/src/io-bktr.c:379:11: style: Variable 'dev_name' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-bktr.c:380:11: style: Variable 'scanning' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-bktr.c:381:11: style: Variable 'services' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-bktr.c:382:9: style: Variable 'strict' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:622:6: style: Redundant assignment of 'cap' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:641:6: style: Redundant assignment of 'cap' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:642:6: style: Redundant assignment of 'pid' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:668:14: style: Redundant assignment of 'device_name' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:669:6: style: Redundant assignment of 'pid' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:670:8: style: Redundant assignment of 'trace' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:716:6: style: Redundant assignment of 'dev' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:717:11: style: Redundant assignment of 'scanning' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:718:11: style: Redundant assignment of 'services' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:719:9: style: Redundant assignment of 'strict' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:720:8: style: Redundant assignment of 'trace' to itself. [selfAssignment] zvbi-0.2.44/src/io-dvb.c:622:6: style: Variable 'cap' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:641:6: style: Variable 'cap' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:642:6: style: Variable 'pid' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:668:14: style: Variable 'device_name' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:669:6: style: Variable 'pid' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:670:8: style: Variable 'trace' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:716:6: style: Variable 'dev' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:717:11: style: Variable 'scanning' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:718:11: style: Variable 'services' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:719:9: style: Variable 'strict' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-dvb.c:720:8: style: Variable 'trace' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l.c:1436:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-v4l.c:1428:11: style: Redundant assignment of 'dev_name' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l.c:1429:11: style: Redundant assignment of 'scanning' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l.c:1430:11: style: Redundant assignment of 'services' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l.c:1431:9: style: Redundant assignment of 'strict' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l.c:1389:15: style:inconclusive: Function 'vbi_capture_v4l_sidecar_new' argument 5 names different: declaration 'errorstr' definition 'errstr'. [funcArgNamesDifferent] zvbi-0.2.44/src/inout.h:95:30: note: Function 'vbi_capture_v4l_sidecar_new' argument 5 names different: declaration 'errorstr' definition 'errstr'. zvbi-0.2.44/src/io-v4l.c:1389:15: note: Function 'vbi_capture_v4l_sidecar_new' argument 5 names different: declaration 'errorstr' definition 'errstr'. zvbi-0.2.44/src/io-v4l.c:1426:15: style:inconclusive: Function 'vbi_capture_v4l_new' argument 5 names different: declaration 'errorstr' definition 'errstr'. [funcArgNamesDifferent] zvbi-0.2.44/src/inout.h:92:17: note: Function 'vbi_capture_v4l_new' argument 5 names different: declaration 'errorstr' definition 'errstr'. zvbi-0.2.44/src/io-v4l.c:1426:15: note: Function 'vbi_capture_v4l_new' argument 5 names different: declaration 'errorstr' definition 'errstr'. zvbi-0.2.44/src/io-v4l.c:1428:11: style: Variable 'dev_name' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l.c:1429:11: style: Variable 'scanning' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l.c:1430:11: style: Variable 'services' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l.c:1431:9: style: Variable 'strict' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l2.c:220:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:180:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:232:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:308:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:367:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:502:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:582:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:748:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:905:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:1461:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:1475:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:1510:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:1602:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:1829:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:2253:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:2319:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:2423:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:2435:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:2450:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:2466:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:2528:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-v4l2.c:212:11: style: Redundant assignment of 'dev_name' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l2.c:213:10: style: Redundant assignment of 'buffers' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l2.c:214:11: style: Redundant assignment of 'services' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l2.c:215:9: style: Redundant assignment of 'strict' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l2.c:209:15: style:inconclusive: Function 'vbi_capture_v4l2_new' argument 5 names different: declaration 'errorstr' definition 'errstr'. [funcArgNamesDifferent] zvbi-0.2.44/src/inout.h:82:18: note: Function 'vbi_capture_v4l2_new' argument 5 names different: declaration 'errorstr' definition 'errstr'. zvbi-0.2.44/src/io-v4l2.c:209:15: note: Function 'vbi_capture_v4l2_new' argument 5 names different: declaration 'errorstr' definition 'errstr'. zvbi-0.2.44/src/io-v4l2.c:212:11: style: Variable 'dev_name' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l2.c:213:10: style: Variable 'buffers' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l2.c:214:11: style: Variable 'services' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l2.c:215:9: style: Variable 'strict' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l2k.c:1551:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-v4l2k.c:1542:11: style: Redundant assignment of 'dev_name' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l2k.c:1543:5: style: Redundant assignment of 'fd' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l2k.c:1544:10: style: Redundant assignment of 'buffers' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l2k.c:1545:11: style: Redundant assignment of 'services' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l2k.c:1546:9: style: Redundant assignment of 'strict' to itself. [selfAssignment] zvbi-0.2.44/src/io-v4l2k.c:1540:16: style:inconclusive: Function 'vbi_capture_v4l2k_new' argument 6 names different: declaration 'errorstr' definition 'errstr'. [funcArgNamesDifferent] zvbi-0.2.44/src/inout.h:88:21: note: Function 'vbi_capture_v4l2k_new' argument 6 names different: declaration 'errorstr' definition 'errstr'. zvbi-0.2.44/src/io-v4l2k.c:1540:16: note: Function 'vbi_capture_v4l2k_new' argument 6 names different: declaration 'errorstr' definition 'errstr'. zvbi-0.2.44/src/io-v4l2k.c:1542:11: style: Variable 'dev_name' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l2k.c:1543:5: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l2k.c:1544:10: style: Variable 'buffers' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l2k.c:1545:11: style: Variable 'services' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-v4l2k.c:1546:9: style: Variable 'strict' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/lang.c:481:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/hammgen.c:167:32: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] zvbi-0.2.44/src/hammgen.c:176:33: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] zvbi-0.2.44/src/hammgen.c:73:16: style: Unused variable: j [unusedVariable] zvbi-0.2.44/src/misc.c:384:32: debug: Function::addArguments found argument 'level' with varid 0. [varid0] zvbi-0.2.44/src/misc.c:434:32: debug: Function::addArguments found argument 'level' with varid 0. [varid0] zvbi-0.2.44/src/misc.c:124:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/misc.c:154:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/misc.c:320:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/misc.c:379:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/misc.c:402:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_fn [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/misc.c:446:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_fn [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/packet-830.c:153:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/packet-830.c:131:16: style:inconclusive: Function 'vbi_decode_teletext_8301_local_time' argument 1 names different: declaration 'utc_time' definition 'time'. [funcArgNamesDifferent] zvbi-0.2.44/src/packet-830.h:47:16: note: Function 'vbi_decode_teletext_8301_local_time' argument 1 names different: declaration 'utc_time' definition 'time'. zvbi-0.2.44/src/packet-830.c:131:16: note: Function 'vbi_decode_teletext_8301_local_time' argument 1 names different: declaration 'utc_time' definition 'time'. zvbi-0.2.44/src/misc.c:384:32: warning: Function '_vbi_log_vprintf' argument order different: declaration ', user_data, level, source_file' definition 'level, context, message, user_data' [funcArgOrderDifferent] zvbi-0.2.44/src/misc.h:318:20: note: Function '_vbi_log_vprintf' argument order different: declaration ', user_data, level, source_file' definition 'level, context, message, user_data' zvbi-0.2.44/src/misc.c:384:32: note: Function '_vbi_log_vprintf' argument order different: declaration ', user_data, level, source_file' definition 'level, context, message, user_data' zvbi-0.2.44/src/misc.c:434:32: warning: Function '_vbi_log_printf' argument order different: declaration ', user_data, level, source_file' definition 'level, context, message, user_data' [funcArgOrderDifferent] zvbi-0.2.44/src/misc.h:327:19: note: Function '_vbi_log_printf' argument order different: declaration ', user_data, level, source_file' definition 'level, context, message, user_data' zvbi-0.2.44/src/misc.c:434:32: note: Function '_vbi_log_printf' argument order different: declaration ', user_data, level, source_file' definition 'level, context, message, user_data' zvbi-0.2.44/src/misc.c:89:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/misc.c:159:2: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] zvbi-0.2.44/src/page_table.c:407:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/page_table.c:463:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/page_table.c:513:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/page_table.c:634:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/page_table.c:696:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/page_table.c:732:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/page_table.c:807:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/page_table.c:277:12: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/page_table.c:748:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/page_table.c:752:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/page_table.c:824:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/page_table.c:828:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/page_table.c:300:23: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] zvbi-0.2.44/src/page_table.c:299:16: note: Assuming that condition 'i<32' is not redundant zvbi-0.2.44/src/page_table.c:300:23: note: Shift zvbi-0.2.44/src/packet.c:1149:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/packet.c:1638:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/packet.c:1898:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/packet.c:2222:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:411:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:442:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:475:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:537:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:610:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOVERFLOW [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:638:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:769:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:848:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:942:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:1038:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:1097:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:1214:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:1302:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOVERFLOW [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:1429:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pdc.c:177:2: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'vbi_pid_channel {aka signed int}'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/pdc.c:184:2: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'vbi_bool {aka signed int}'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/pdc.c:184:2: portability: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'vbi_bool {aka signed int}'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/pdc.c:184:2: portability: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'vbi_bool {aka signed int}'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/pdc.c:184:2: portability: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'vbi_bool {aka signed int}'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/pdc.c:1021:15: style:inconclusive: Function 'vbi_pty_validity_window' argument 3 names different: declaration 'time' definition 'last_transm'. [funcArgNamesDifferent] zvbi-0.2.44/src/pdc.h:178:15: note: Function 'vbi_pty_validity_window' argument 3 names different: declaration 'time' definition 'last_transm'. zvbi-0.2.44/src/pdc.c:1021:15: note: Function 'vbi_pty_validity_window' argument 3 names different: declaration 'time' definition 'last_transm'. zvbi-0.2.44/src/pdc.c:1054:15: style: Variable 'saved_errno' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/pfc_demux.c:109:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/pfc_demux.c:57:17: warning: Comparison of modulo result is predetermined, because it is always less than 75. [moduloAlwaysTrueFalse] zvbi-0.2.44/src/pfc_demux.c:61:16: warning: Comparison of modulo result is predetermined, because it is always less than 75. [moduloAlwaysTrueFalse] zvbi-0.2.44/src/pfc_demux.c:417:6: style: Condition '!_vbi_pfc_demux_init(dx,pgno,stream,callback,user_data)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/pfc_demux.c:417:27: note: Calling function '_vbi_pfc_demux_init' returns 1 zvbi-0.2.44/src/pfc_demux.c:417:6: note: Condition '!_vbi_pfc_demux_init(dx,pgno,stream,callback,user_data)' is always false zvbi-0.2.44/src/io-sim.c:1902:20: style: Condition 'b->capacity>check_buffer_size' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/io-sim.c:1901:35: note: check_buffer_size is assigned 'b->capacity+256' here. zvbi-0.2.44/src/io-sim.c:1902:20: note: Condition 'b->capacity>check_buffer_size' is always false zvbi-0.2.44/src/io-sim.c:1047:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] zvbi-0.2.44/src/io-sim.c:1057:4: note: Found duplicate branches for 'if' and 'else'. zvbi-0.2.44/src/io-sim.c:1047:2: note: Found duplicate branches for 'if' and 'else'. zvbi-0.2.44/src/io-sim.c:2322:10: style: Redundant assignment of 'timeout' to itself. [selfAssignment] zvbi-0.2.44/src/io-sim.c:2458:6: style: Redundant assignment of 'cap' to itself. [selfAssignment] zvbi-0.2.44/src/io-sim.c:1615:43: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zvbi-0.2.44/src/io-sim.c:539:12: style: Variable 'raw_end' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/io-sim.c:1457:19: style: Variable 'sim' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/io-sim.c:1943:17: style: Variable 's1' can be declared as const array [constVariable] zvbi-0.2.44/src/io-sim.c:1947:17: style: Variable 's2' can be declared as const array [constVariable] zvbi-0.2.44/src/io-sim.c:1948:17: style: Variable 's3' can be declared as const array [constVariable] zvbi-0.2.44/src/io-sim.c:1949:17: style: Variable 's4' can be declared as const array [constVariable] zvbi-0.2.44/src/io-sim.c:1950:17: style: Variable 's5' can be declared as const array [constVariable] zvbi-0.2.44/src/io-sim.c:2044:20: style: Parameter 'sliced_end' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1621:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/io-sim.c:1431:12: style: struct member 'vbi_capture_sim::stream_time' is never used. [unusedStructMember] zvbi-0.2.44/src/proxy-client.c:1888:8: style: Redundant assignment of 'vpc' to itself. [selfAssignment] zvbi-0.2.44/src/proxy-client.c:1619:57: style:inconclusive: Function 'vbi_proxy_client_channel_request' argument 3 names different: declaration 'chn_profile' definition 'p_chn_profile'. [funcArgNamesDifferent] zvbi-0.2.44/src/proxy-client.h:122:57: note: Function 'vbi_proxy_client_channel_request' argument 3 names different: declaration 'chn_profile' definition 'p_chn_profile'. zvbi-0.2.44/src/proxy-client.c:1619:57: note: Function 'vbi_proxy_client_channel_request' argument 3 names different: declaration 'chn_profile' definition 'p_chn_profile'. zvbi-0.2.44/src/proxy-client.c:1865:49: style:inconclusive: Function 'vbi_capture_proxy_new' argument 1 names different: declaration 'vpc' definition 'p_proxy_client'. [funcArgNamesDifferent] zvbi-0.2.44/src/inout.h:127:50: note: Function 'vbi_capture_proxy_new' argument 1 names different: declaration 'vpc' definition 'p_proxy_client'. zvbi-0.2.44/src/proxy-client.c:1865:49: note: Function 'vbi_capture_proxy_new' argument 1 names different: declaration 'vpc' definition 'p_proxy_client'. zvbi-0.2.44/src/proxy-client.c:1915:37: style:inconclusive: Function 'vbi_proxy_client_create' argument 1 names different: declaration 'dev_name' definition 'p_dev_name'. [funcArgNamesDifferent] zvbi-0.2.44/src/proxy-client.h:99:38: note: Function 'vbi_proxy_client_create' argument 1 names different: declaration 'dev_name' definition 'p_dev_name'. zvbi-0.2.44/src/proxy-client.c:1915:37: note: Function 'vbi_proxy_client_create' argument 1 names different: declaration 'dev_name' definition 'p_dev_name'. zvbi-0.2.44/src/proxy-client.c:1617:54: style: Parameter 'vpc' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1619:57: style: Parameter 'p_chn_profile' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1640:53: style: Parameter 'vpc' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1660:54: style: Parameter 'vpc' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1692:51: style: Parameter 'vpc' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1693:31: style: Parameter 'p_arg' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1712:55: style: Parameter 'vpc' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1713:51: style: Parameter 'p_scanning' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1714:47: style: Parameter 'p_granted' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1730:58: style: Parameter 'vpc' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1755:53: style: Parameter 'vpc' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1791:51: style: Parameter 'vpc' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1793:18: style: Parameter 'p_data' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1816:53: style: Parameter 'vpc' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/proxy-client.c:1888:8: style: Variable 'vpc' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-sim.c:351:6: style: Variable 't0' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-sim.c:2322:10: style: Variable 'timeout' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/io-sim.c:2458:6: style: Variable 'cap' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/sampling_par.c:168:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/sampling_par.c:242:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/sampling_par.c:460:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/raw_decoder.c:519:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/raw_decoder.c:619:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/raw_decoder.c:873:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/raw_decoder.c:916:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/raw_decoder.c:1338:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/sampling_par.c:301:8: style: Condition '0&&sp->offset>0' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/sampling_par.c:442:23: style:inconclusive: Function '_vbi_sampling_par_from_services_log' argument 3 names different: declaration 'videostd_set' definition 'videostd_set_req'. [funcArgNamesDifferent] zvbi-0.2.44/src/sampling_par.h:63:56: note: Function '_vbi_sampling_par_from_services_log' argument 3 names different: declaration 'videostd_set' definition 'videostd_set_req'. zvbi-0.2.44/src/sampling_par.c:442:23: note: Function '_vbi_sampling_par_from_services_log' argument 3 names different: declaration 'videostd_set' definition 'videostd_set_req'. zvbi-0.2.44/src/packet.c:602:29: style: Redundant condition: The condition 'code == 112' is redundant since 'code != 0' is sufficient. [redundantCondition] zvbi-0.2.44/src/packet.c:1033:7: style: Condition '!convert_drcs(&page,vtp->data.unknown.raw[1])' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:1033:20: note: Calling function 'convert_drcs' returns 1 zvbi-0.2.44/src/packet.c:1033:7: note: Condition '!convert_drcs(&page,vtp->data.unknown.raw[1])' is always false zvbi-0.2.44/src/packet.c:1043:9: style: Condition '!parse_ait(&page,vtp->data.unknown.raw[i],i)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:1043:19: note: Calling function 'parse_ait' returns 1 zvbi-0.2.44/src/packet.c:1043:9: note: Condition '!parse_ait(&page,vtp->data.unknown.raw[i],i)' is always false zvbi-0.2.44/src/packet.c:1050:9: style: Condition '!parse_mpt(vbi->cn,vtp->data.unknown.raw[i],i)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:1050:19: note: Calling function 'parse_mpt' returns 1 zvbi-0.2.44/src/packet.c:1050:9: note: Condition '!parse_mpt(vbi->cn,vtp->data.unknown.raw[i],i)' is always false zvbi-0.2.44/src/packet.c:1057:9: style: Condition '!parse_mpt_ex(vbi->cn,vtp->data.unknown.raw[i],i)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:1057:22: note: Calling function 'parse_mpt_ex' returns 1 zvbi-0.2.44/src/packet.c:1057:9: note: Condition '!parse_mpt_ex(vbi->cn,vtp->data.unknown.raw[i],i)' is always false zvbi-0.2.44/src/packet.c:2011:10: style: Condition '0&&designation==4' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:2268:9: style: Condition '!store_lop(vbi,vtp)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:2268:19: note: Calling function 'store_lop' returns 1 zvbi-0.2.44/src/packet.c:2268:9: note: Condition '!store_lop(vbi,vtp)' is always false zvbi-0.2.44/src/packet.c:2275:21: style: Condition 'convert_drcs(vtp,vtp->data.drcs.lop.raw[1])' is always true [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:2275:21: note: Calling function 'convert_drcs' returns 1 zvbi-0.2.44/src/packet.c:2275:21: note: Condition 'convert_drcs(vtp,vtp->data.drcs.lop.raw[1])' is always true zvbi-0.2.44/src/packet.c:2325:9: style: Condition '0&&((page&15)>9||page>0x99)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:2535:8: style: Condition '!parse_mot(cache_network_magazine(vbi->cn,mag8*0x100),p,packet)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:2535:18: note: Calling function 'parse_mot' returns 1 zvbi-0.2.44/src/packet.c:2535:8: note: Condition '!parse_mot(cache_network_magazine(vbi->cn,mag8*0x100),p,packet)' is always false zvbi-0.2.44/src/packet.c:2552:8: style: Condition '!parse_btt(vbi,p,packet)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:2552:18: note: Calling function 'parse_btt' returns 1 zvbi-0.2.44/src/packet.c:2552:8: note: Condition '!parse_btt(vbi,p,packet)' is always false zvbi-0.2.44/src/packet.c:2557:8: style: Condition '!(parse_ait(cvtp,p,packet))' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:2557:19: note: Calling function 'parse_ait' returns 1 zvbi-0.2.44/src/packet.c:2557:8: note: Condition '!(parse_ait(cvtp,p,packet))' is always false zvbi-0.2.44/src/packet.c:2562:8: style: Condition '!(parse_mpt(vbi->cn,p,packet))' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:2562:19: note: Calling function 'parse_mpt' returns 1 zvbi-0.2.44/src/packet.c:2562:8: note: Condition '!(parse_mpt(vbi->cn,p,packet))' is always false zvbi-0.2.44/src/packet.c:2567:8: style: Condition '!(parse_mpt_ex(vbi->cn,p,packet))' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/packet.c:2567:22: note: Calling function 'parse_mpt_ex' returns 1 zvbi-0.2.44/src/packet.c:2567:8: note: Condition '!(parse_mpt_ex(vbi->cn,p,packet))' is always false zvbi-0.2.44/src/packet.c:87:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'vbi_ttx_charset_code {aka unsigned int}'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/packet.c:87:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'vbi_ttx_charset_code {aka unsigned int}'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/packet.c:88:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/packet.c:88:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/packet.c:89:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/packet.c:89:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/packet.c:589:8: style: Redundant assignment of 'code' to itself. [selfAssignment] zvbi-0.2.44/src/packet.c:1144:6: style: Redundant assignment of 'vbi' to itself. [selfAssignment] zvbi-0.2.44/src/packet.c:1457:11: style: Redundant assignment of 'ref_pgno' to itself. [selfAssignment] zvbi-0.2.44/src/packet.c:1774:6: style: Redundant assignment of 'vbi' to itself. [selfAssignment] zvbi-0.2.44/src/packet.c:2906:6: style: Redundant assignment of 'vbi' to itself. [selfAssignment] zvbi-0.2.44/src/packet.c:1149:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] zvbi-0.2.44/src/packet.c:1168:43: style:inconclusive: Function 'vbi_decode_vps' argument 2 names different: declaration 'p' definition 'buf'. [funcArgNamesDifferent] zvbi-0.2.44/src/teletext_decoder.h:114:56: note: Function 'vbi_decode_vps' argument 2 names different: declaration 'p' definition 'buf'. zvbi-0.2.44/src/packet.c:1168:43: note: Function 'vbi_decode_vps' argument 2 names different: declaration 'p' definition 'buf'. zvbi-0.2.44/src/packet.c:2192:48: style:inconclusive: Function 'vbi_decode_teletext' argument 2 names different: declaration 'p' definition 'buffer'. [funcArgNamesDifferent] zvbi-0.2.44/src/teletext_decoder.h:107:65: note: Function 'vbi_decode_teletext' argument 2 names different: declaration 'p' definition 'buffer'. zvbi-0.2.44/src/packet.c:2192:48: note: Function 'vbi_decode_teletext' argument 2 names different: declaration 'p' definition 'buffer'. zvbi-0.2.44/src/packet.c:62:22: style: Parameter 'vtp' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/packet.c:518:11: style: Variable 'raw' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/packet.c:900:39: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/packet.c:1681:23: style: Variable 'trip_end' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/packet.c:2197:23: style: Variable 'mag' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/packet.c:2433:26: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/packet.c:1144:6: style: Variable 'vbi' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/packet.c:2071:10: style: Variable 'coding' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/packet.c:2906:6: style: Variable 'vbi' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/raw_decoder.c:1011:9: style: Condition '0&&sp->offset>0' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/raw_decoder.c:519:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/search.c:630:29: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/search.c:632:19: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/search.c:640:29: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/search.c:646:31: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/raw_decoder.c:1020:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] zvbi-0.2.44/src/raw_decoder.c:1024:5: note: Found duplicate branches for 'if' and 'else'. zvbi-0.2.44/src/raw_decoder.c:1020:3: note: Found duplicate branches for 'if' and 'else'. zvbi-0.2.44/src/raw_decoder.c:591:20: style:inconclusive: Function 'vbi3_raw_decoder_decode' argument 3 names different: declaration 'sliced_lines' definition 'max_lines'. [funcArgNamesDifferent] zvbi-0.2.44/src/raw_decoder.h:56:20: note: Function 'vbi3_raw_decoder_decode' argument 3 names different: declaration 'sliced_lines' definition 'max_lines'. zvbi-0.2.44/src/raw_decoder.c:591:20: note: Function 'vbi3_raw_decoder_decode' argument 3 names different: declaration 'sliced_lines' definition 'max_lines'. zvbi-0.2.44/src/raw_decoder.c:484:14: style: Local variable 'j' shadows outer variable [shadowVariable] zvbi-0.2.44/src/raw_decoder.c:468:7: note: Shadowed declaration zvbi-0.2.44/src/raw_decoder.c:484:14: note: Shadow variable zvbi-0.2.44/src/raw_decoder.c:599:14: style: Variable 'sliced_begin' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/raw_decoder.c:600:14: style: Variable 'sliced_end' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/raw_decoder.c:751:22: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/raw_decoder.c:752:22: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/raw_decoder.c:754:10: style: Variable 'pattern_end' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/raw_decoder.c:956:21: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/raw_decoder.c:1108:29: style: Variable 'sp_lines' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/raw_decoder.c:1167:47: style: Parameter 'rd' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/sliced_filter.c:106:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/sliced_filter.c:152:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/sliced_filter.c:244:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/sliced_filter.c:337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/sliced_filter.c:434:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/sliced_filter.c:519:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/sliced_filter.c:610:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/sliced_filter.c:426:7: style: Redundant assignment of 'line' to itself. [selfAssignment] zvbi-0.2.44/src/sliced_filter.c:642:47: style: Parameter 'sf' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/tables.c:391:26: warning: Either the condition 'id>0x7F' is redundant or the array 'ets_program_type[8][16]' is accessed at index ets_program_type[0][127], which is out of bounds. [arrayIndexOutOfBoundsCond] zvbi-0.2.44/src/tables.c:389:23: note: Assuming that condition 'id>0x7F' is not redundant zvbi-0.2.44/src/tables.c:391:26: note: Array index out of bounds zvbi-0.2.44/src/trigger.c:258:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/trigger.c:669:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/trigger.c:703:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/vbi.c:442:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/vbi.c:502:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/vbi.c:598:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/vbi.c:613:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _n [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:178:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:260:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:327:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:518:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:1063:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:1160:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:1261:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:1570:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:2201:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:2303:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:2460:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/vbi.c:489:8: style: Condition '0&&(rand()%511)==0' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/vbi.c:502:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'vbi_nuid {aka unsigned int}'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/vbi.c:502:3: portability: %d in format string (no. 2) requires 'int' but the argument type is 'vbi_nuid {aka unsigned int}'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/vbi.c:584:7: style: Redundant assignment of 'nuid' to itself. [selfAssignment] zvbi-0.2.44/src/vbi.c:423:68: style:inconclusive: Function 'vbi_decode' argument 4 names different: declaration 'timestamp' definition 'time'. [funcArgNamesDifferent] zvbi-0.2.44/src/vbi.h:180:26: note: Function 'vbi_decode' argument 4 names different: declaration 'timestamp' definition 'time'. zvbi-0.2.44/src/vbi.c:423:68: note: Function 'vbi_decode' argument 4 names different: declaration 'timestamp' definition 'time'. zvbi-0.2.44/src/vbi.c:495:43: style:inconclusive: Function 'vbi_chsw_reset' argument 2 names different: declaration 'nuid' definition 'identified'. [funcArgNamesDifferent] zvbi-0.2.44/src/vbi.h:197:67: note: Function 'vbi_chsw_reset' argument 2 names different: declaration 'nuid' definition 'identified'. zvbi-0.2.44/src/vbi.c:495:43: note: Function 'vbi_chsw_reset' argument 2 names different: declaration 'nuid' definition 'identified'. zvbi-0.2.44/src/vbi.c:611:34: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/vbi.c:611:62: style: Parameter 's' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/vbi.c:726:24: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/vbi.c:981:37: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/vbi.c:584:7: style: Variable 'nuid' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/wss.c:34:47: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/wss.c:162:51: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/xds_demux.c:830:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/xds_demux.c:867:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/xds_demux.c:146:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:146:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:146:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:181:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:181:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:192:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:192:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:203:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:309:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/xds_demux.c:309:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/xds_demux.c:335:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/xds_demux.c:398:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:398:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:398:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:398:4: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:431:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:431:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:431:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:447:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/xds_demux.c:447:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/xds_demux.c:519:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:519:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:624:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/src/xds_demux.c:778:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:778:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/xds_demux.c:219:17: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/src/xds_demux.c:104:15: note: Shadowed declaration zvbi-0.2.44/src/xds_demux.c:219:17: note: Shadow variable zvbi-0.2.44/src/xds_demux.c:613:17: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/src/xds_demux.c:104:15: note: Shadowed declaration zvbi-0.2.44/src/xds_demux.c:613:17: note: Shadow variable zvbi-0.2.44/src/xds_demux.c:826:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/test/caption.c:941:29: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] zvbi-0.2.44/src/trigger.c:339:15: style: Pointer expression 'url' converted to bool is always true. [knownPointerToBool] zvbi-0.2.44/src/trigger.c:350:16: style: Pointer expression 'name' converted to bool is always true. [knownPointerToBool] zvbi-0.2.44/src/trigger.c:550:15: style: Pointer expression 'url' converted to bool is always true. [knownPointerToBool] zvbi-0.2.44/src/trigger.c:159:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/trigger.c:165:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/trigger.c:190:12: style: Variable 'e' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/trigger.c:190:20: style: Variable 'dx' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/trigger.c:228:17: style: Variable 'text' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/trigger.c:399:12: style: Variable 'e' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/trigger.c:399:20: style: Variable 'dx' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/test/capture.c:55:0: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] zvbi-0.2.44/test/capture.c:55:4: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] zvbi-0.2.44/test/cpptest.cc:31:7: style: Redundant assignment of 'argc' to itself. [selfAssignment] zvbi-0.2.44/test/cpptest.cc:32:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] zvbi-0.2.44/test/cpptest.cc:31:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/test/cpptest.cc:32:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/test/ctest.c:31:7: style: Redundant assignment of 'argc' to itself. [selfAssignment] zvbi-0.2.44/test/ctest.c:32:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] zvbi-0.2.44/test/ctest.c:31:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/test/ctest.c:32:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/test/date.c:320:29: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] zvbi-0.2.44/test/decode.c:63:0: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] zvbi-0.2.44/test/decode.c:63:4: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] zvbi-0.2.44/test/export.c:58:0: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] zvbi-0.2.44/test/export.c:58:4: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] zvbi-0.2.44/test/explist.c:128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/explist.c:136:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_OPTION_REAL [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/explist.c:152:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_OPTION_REAL [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/explist.c:537:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/glyph.c:256:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/explist.c:538:2: warning: Redundant code: Found a statement that begins with string constant. [constStatement] zvbi-0.2.44/test/explist.c:115:21: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/test/explist.c:150:32: style: Parameter 'oi' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/test/explist.c:535:6: style: Unused variable: index [unusedVariable] zvbi-0.2.44/test/glyph.c:56:13: warning: Assert statement modifies 'pg'. [assignmentInAssert] zvbi-0.2.44/test/glyph.c:56:15: warning: Assert statement calls a function which may have desired side effects: 'calloc'. [assertWithSideEffect] zvbi-0.2.44/test/glyph.c:105:12: warning: Assert statement modifies 'e'. [assignmentInAssert] zvbi-0.2.44/test/glyph.c:107:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] zvbi-0.2.44/test/glyph.c:142:7: style: Redundant assignment of 'argc' to itself. [selfAssignment] zvbi-0.2.44/test/glyph.c:143:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] zvbi-0.2.44/test/glyph.c:142:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/test/glyph.c:143:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/test/osc.c:284:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/osc.c:414:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/osc.c:476:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/osc.c:582:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbi_sliced [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/osc.c:661:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/proxy-test.c:218:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/proxy-test.c:235:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_PROXY_EV_CHN_RECLAIMED [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/proxy-test.c:482:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/proxy-test.c:547:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/proxy-test.c:581:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/proxy-test.c:598:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_CHN_PRIO_INTERACTIVE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/proxy-test.c:833:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBI_CHN_PRIO_INTERACTIVE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/osc.c:582:17: warning: Assert statement modifies 'sliced'. [assignmentInAssert] zvbi-0.2.44/test/osc.c:582:19: warning: Assert statement calls a function which may have desired side effects: 'malloc'. [assertWithSideEffect] zvbi-0.2.44/test/osc.c:704:16: warning: Assert statement modifies 'par'. [assignmentInAssert] zvbi-0.2.44/test/osc.c:795:16: warning: Assert statement modifies 'par'. [assignmentInAssert] zvbi-0.2.44/test/osc.c:472:5: style: Redundant assignment of 'ac' to itself. [selfAssignment] zvbi-0.2.44/test/osc.c:473:5: style: Redundant assignment of 'av' to itself. [selfAssignment] zvbi-0.2.44/test/osc.c:122:14: style: Variable '*text' is reassigned a value before the old one has been used. [redundantAssignment] zvbi-0.2.44/test/osc.c:121:14: note: *text is assigned zvbi-0.2.44/test/osc.c:122:14: note: *text is overwritten zvbi-0.2.44/test/osc.c:215:17: style: Variable 'data' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/test/osc.c:652:9: style: Unused variable: index [unusedVariable] zvbi-0.2.44/test/sliced.c:68:0: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] zvbi-0.2.44/test/sliced.c:68:4: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] zvbi-0.2.44/test/sliced2pes.c:49:0: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] zvbi-0.2.44/test/sliced2pes.c:49:4: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] zvbi-0.2.44/test/test-common.h:32:1: error: There is an unknown macro here somewhere. Configuration is required. If memset_rand is a macro then please configure it. [unknownMacro] zvbi-0.2.44/test/test-hamm.cc:77:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _vbi_hamm8_inv [valueFlowBailoutIncompleteVar] zvbi-0.2.44/src/teletext.c:1333:16: style: Condition 'es->type!=OBJECT_TYPE_PASSIVE' is always true [knownConditionTrueFalse] zvbi-0.2.44/src/teletext.c:2874:29: style: Condition '!top_index(vbi,pg,subno)' is always false [knownConditionTrueFalse] zvbi-0.2.44/src/teletext.c:2874:39: note: Calling function 'top_index' returns 1 zvbi-0.2.44/src/teletext.c:2874:29: note: Condition '!top_index(vbi,pg,subno)' is always false zvbi-0.2.44/src/teletext.c:518:3: warning: %d in format string (no. 14) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:1261:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:1261:2: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:1261:2: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:1261:2: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:1261:2: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:1808:6: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:1856:6: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:2212:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:2212:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:2212:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:2212:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/src/teletext.c:1050:8: style: Redundant assignment of 'subno' to itself. [selfAssignment] zvbi-0.2.44/test/test-hamm.cc:315:7: style: Redundant assignment of 'argc' to itself. [selfAssignment] zvbi-0.2.44/test/test-hamm.cc:316:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] zvbi-0.2.44/test/test-hamm.cc:56:52: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/test/test-hamm.cc:63:53: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/test/test-hamm.cc:126:11: style: Variable 'buf' can be declared as const array [constVariable] zvbi-0.2.44/src/teletext.c:1600:44: style: Checking if unsigned expression 'ptmp.month|ptmp.x26_cni' is less than zero. [unsignedLessThanZero] zvbi-0.2.44/test/test-hamm.cc:315:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/test/test-hamm.cc:316:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/src/teletext.c:278:25: style: Local variable 'ps' shadows outer variable [shadowVariable] zvbi-0.2.44/src/teletext.c:254:24: note: Shadowed declaration zvbi-0.2.44/src/teletext.c:278:25: note: Shadow variable zvbi-0.2.44/src/teletext.c:289:25: style: Local variable 'ps' shadows outer variable [shadowVariable] zvbi-0.2.44/src/teletext.c:254:24: note: Shadowed declaration zvbi-0.2.44/src/teletext.c:289:25: note: Shadow variable zvbi-0.2.44/src/teletext.c:2806:16: style: Local variable 'i' shadows outer variable [shadowVariable] zvbi-0.2.44/src/teletext.c:2454:19: note: Shadowed declaration zvbi-0.2.44/src/teletext.c:2806:16: note: Shadow variable zvbi-0.2.44/src/teletext.c:158:66: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/teletext.c:252:18: style: Parameter 'vtp' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/teletext.c:254:24: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/teletext.c:278:25: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/teletext.c:289:25: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/teletext.c:432:25: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/teletext.c:1007:68: style: Parameter 'ait' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/teletext.c:1098:45: style: Parameter 'vtp' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/teletext.c:1442:25: style: Variable 'font' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/src/teletext.c:2351:29: style: Parameter 'ext' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/src/teletext.c:2532:26: style: Variable 'font' can be declared as pointer to const [constVariablePointer] zvbi-0.2.44/test/ttxfilter.c:389:29: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] zvbi-0.2.44/test/unicode.c:133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/unicode.c:231:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] zvbi-0.2.44/test/unicode.c:178:7: style: Redundant assignment of 'argc' to itself. [selfAssignment] zvbi-0.2.44/test/unicode.c:179:7: style: Redundant assignment of 'argv' to itself. [selfAssignment] zvbi-0.2.44/test/unicode.c:178:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/test/unicode.c:179:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] zvbi-0.2.44/test/proxy-test.c:445:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/test/proxy-test.c:445:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/test/proxy-test.c:445:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/test/proxy-test.c:445:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/test/proxy-test.c:939:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/test/proxy-test.c:978:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] zvbi-0.2.44/test/proxy-test.c:984:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pVbiData [nullPointerOutOfMemory] zvbi-0.2.44/test/proxy-test.c:973:36: note: Assuming allocation function fails zvbi-0.2.44/test/proxy-test.c:973:36: note: Assignment 'pVbiData=malloc(32*sizeof(vbi_sliced))', assigned value is 0 zvbi-0.2.44/test/proxy-test.c:984:27: note: Null pointer dereference zvbi-0.2.44/test/proxy-test.c:162:53: style: Parameter 'vpc' can be declared as pointer to const [constParameterPointer] zvbi-0.2.44/test/proxy-test.c:570:44: style: Parameter 'p_number' can be declared as pointer to const [constParameterPointer] diff: head zvbi-0.2.44/src/dvb_mux.c:171:18: style: Same expression on both sides of '-'. [duplicateExpression] head zvbi-0.2.44/test/capture.c:55:4: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] head zvbi-0.2.44/test/decode.c:63:4: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] head zvbi-0.2.44/test/export.c:58:4: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] head zvbi-0.2.44/test/sliced.c:68:4: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] head zvbi-0.2.44/test/sliced2pes.c:49:4: error: #error VBI_VERSION_MINOR == ? [preprocessorErrorDirective] DONE