2025-05-08 14:08 ftp://ftp.de.debian.org/debian/pool/main/t/tvtime/tvtime_1.0.11.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --library=zlib --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.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 551 548 elapsed-time: 4.4 4.5 head-timing-info: old-timing-info: head results: tvtime-1.0.11/intl/dgettext.c:53:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/dngettext.c:55:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/bindtextdom.c:233:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainname [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/eval-plural.h:58:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lor [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/dcigettext.c:550:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/bindtextdom.c:259:12: style: Local variable 'len' shadows outer variable [shadowVariable] tvtime-1.0.11/intl/bindtextdom.c:231:14: note: Shadowed declaration tvtime-1.0.11/intl/bindtextdom.c:259:12: note: Shadow variable tvtime-1.0.11/intl/bindtextdom.c:290:15: style: Local variable 'len' shadows outer variable [shadowVariable] tvtime-1.0.11/intl/bindtextdom.c:231:14: note: Shadowed declaration tvtime-1.0.11/intl/bindtextdom.c:290:15: note: Shadow variable tvtime-1.0.11/intl/gettext.c:58:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/finddomain.c:51:18: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:165:41: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. tvtime-1.0.11/intl/finddomain.c:51:18: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. tvtime-1.0.11/intl/finddomain.c:52:12: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:165:41: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. tvtime-1.0.11/intl/finddomain.c:52:12: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. tvtime-1.0.11/intl/finddomain.c:53:18: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:165:41: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. tvtime-1.0.11/intl/finddomain.c:53:18: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. tvtime-1.0.11/intl/finddomain.c:54:22: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:165:41: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. tvtime-1.0.11/intl/finddomain.c:54:22: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. tvtime-1.0.11/intl/loadmsgcat.c:937:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/dcigettext.c:549:10: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] tvtime-1.0.11/intl/dcigettext.c:588:39: style: Redundant condition: The condition 'categoryvalue[0] != '\0'' is redundant since 'categoryvalue[0] == ':'' is sufficient. [redundantCondition] tvtime-1.0.11/intl/hash-string.h:40:18: style:inconclusive: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. [funcArgNamesDifferent] tvtime-1.0.11/intl/hash-string.h:36:38: note: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. tvtime-1.0.11/intl/hash-string.h:40:18: note: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. tvtime-1.0.11/intl/dcigettext.c:428:18: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. tvtime-1.0.11/intl/dcigettext.c:428:18: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. tvtime-1.0.11/intl/dcigettext.c:429:18: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. tvtime-1.0.11/intl/dcigettext.c:429:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. tvtime-1.0.11/intl/dcigettext.c:430:18: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. tvtime-1.0.11/intl/dcigettext.c:430:18: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. tvtime-1.0.11/intl/dcigettext.c:431:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. tvtime-1.0.11/intl/dcigettext.c:431:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. tvtime-1.0.11/intl/dcigettext.c:432:24: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. tvtime-1.0.11/intl/dcigettext.c:432:24: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. tvtime-1.0.11/intl/dcigettext.c:433:10: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:215:33: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. tvtime-1.0.11/intl/dcigettext.c:433:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. tvtime-1.0.11/intl/dcigettext.c:538:13: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/intl/dcigettext.c:220:9: style: struct member 'known_translation_t::domainname' is never used. [unusedStructMember] tvtime-1.0.11/intl/dcigettext.c:223:7: style: struct member 'known_translation_t::category' is never used. [unusedStructMember] tvtime-1.0.11/intl/dcigettext.c:226:7: style: struct member 'known_translation_t::counter' is never used. [unusedStructMember] tvtime-1.0.11/intl/dcigettext.c:229:27: style: struct member 'known_translation_t::domain' is never used. [unusedStructMember] tvtime-1.0.11/intl/dcigettext.c:232:15: style: struct member 'known_translation_t::translation' is never used. [unusedStructMember] tvtime-1.0.11/intl/dcigettext.c:233:10: style: struct member 'known_translation_t::translation_length' is never used. [unusedStructMember] tvtime-1.0.11/intl/dcigettext.c:236:8: style: struct member 'known_translation_t::msgid' is never used. [unusedStructMember] tvtime-1.0.11/intl/l10nflist.c:369:12: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/intl/localcharset.c:119:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/localealias.c:164:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALE_ALIAS_PATH [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/localcharset.c:295:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] tvtime-1.0.11/intl/localcharset.c:286:24: note: Assignment 'locale=NULL', assigned value is 0 tvtime-1.0.11/intl/localcharset.c:295:14: note: Condition 'locale==NULL' is always true tvtime-1.0.11/intl/localcharset.c:181:5: error: Common realloc mistake: 'res_ptr' nulled but not freed upon failure [memleakOnRealloc] tvtime-1.0.11/intl/localealias.c:155:21: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/intl/localealias.c:257:13: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/intl/localealias.c:258:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/intl/localealias.c:173:41: error: Uninitialized variable: &item.value [uninitvar] tvtime-1.0.11/intl/ngettext.c:62:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/os2compat.c:60:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] tvtime-1.0.11/intl/os2compat.c:61:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_libdir [nullPointerOutOfMemory] tvtime-1.0.11/intl/os2compat.c:60:43: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:60:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:61:19: note: Null pointer dereference tvtime-1.0.11/intl/os2compat.c:75:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localealiaspath [nullPointerOutOfMemory] tvtime-1.0.11/intl/os2compat.c:74:52: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:74:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:75:19: note: Null pointer dereference tvtime-1.0.11/intl/os2compat.c:89:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localedir [nullPointerOutOfMemory] tvtime-1.0.11/intl/os2compat.c:88:46: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:89:19: note: Null pointer dereference tvtime-1.0.11/intl/os2compat.c:96:15: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localedir [nullPointerOutOfMemory] tvtime-1.0.11/intl/os2compat.c:88:46: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:96:15: note: Null pointer dereference tvtime-1.0.11/intl/os2compat.c:62:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tvtime-1.0.11/intl/os2compat.c:60:43: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:60:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:62:33: note: Null pointer addition tvtime-1.0.11/intl/os2compat.c:76:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tvtime-1.0.11/intl/os2compat.c:74:52: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:74:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:76:42: note: Null pointer addition tvtime-1.0.11/intl/os2compat.c:90:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tvtime-1.0.11/intl/os2compat.c:88:46: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:90:36: note: Null pointer addition tvtime-1.0.11/intl/os2compat.c:51:9: style: Variable 'root' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/intl/loadmsgcat.c:979:2: error: Resource leak: fd [resourceLeak] tvtime-1.0.11/intl/loadmsgcat.c:972:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] tvtime-1.0.11/intl/loadmsgcat.c:916:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. tvtime-1.0.11/intl/loadmsgcat.c:972:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. tvtime-1.0.11/intl/loadmsgcat.c:766:30: style:inconclusive: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:175:34: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. tvtime-1.0.11/intl/loadmsgcat.c:766:30: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. tvtime-1.0.11/intl/loadmsgcat.c:767:28: style:inconclusive: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:175:34: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. tvtime-1.0.11/intl/loadmsgcat.c:767:28: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. tvtime-1.0.11/intl/loadmsgcat.c:768:22: style:inconclusive: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:175:34: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. tvtime-1.0.11/intl/loadmsgcat.c:768:22: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. tvtime-1.0.11/intl/loadmsgcat.c:885:28: style:inconclusive: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:179:27: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. tvtime-1.0.11/intl/loadmsgcat.c:885:28: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. tvtime-1.0.11/intl/loadmsgcat.c:906:30: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:170:22: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. tvtime-1.0.11/intl/loadmsgcat.c:906:30: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. tvtime-1.0.11/intl/loadmsgcat.c:907:22: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] tvtime-1.0.11/intl/gettextP.h:170:22: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. tvtime-1.0.11/intl/loadmsgcat.c:907:22: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. tvtime-1.0.11/plugins/greedy.c:61:68: style: Parameter 'output' can be declared as pointer to const. However it seems that 'deinterlace_greedy_packed422_scanline_mmxext' is a callback function, if 'output' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/plugins/greedy.c:182:5: note: You might need to cast the function pointer here tvtime-1.0.11/plugins/greedy.c:61:68: note: Parameter 'output' can be declared as pointer to const tvtime-1.0.11/plugins/greedy.c:62:88: style: Parameter 'data' can be declared as pointer to const. However it seems that 'deinterlace_greedy_packed422_scanline_mmxext' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/plugins/greedy.c:182:5: note: You might need to cast the function pointer here tvtime-1.0.11/plugins/greedy.c:62:88: note: Parameter 'data' can be declared as pointer to const plural.y:184:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qmop [valueFlowBailoutIncompleteVar] plural.y:303:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] tvtime-1.0.11/plugins/greedyh.cpp:29:5: warning: Member variable 'DScalerFilterGreedyH::GreedyMaxComb' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/greedyh.cpp:29:5: warning: Member variable 'DScalerFilterGreedyH::GreedyMotionThreshold' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/greedyh.cpp:29:5: warning: Member variable 'DScalerFilterGreedyH::GreedyMotionSense' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/kdetv_greedyh.c:53:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fast_memcpy [valueFlowBailoutIncompleteVar] tvtime-1.0.11/plugins/kdetv_tomsmocomp.c:52:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fast_memcpy [valueFlowBailoutIncompleteVar] tvtime-1.0.11/plugins/kdetv_greedyh.c:38:69: style: Parameter 'data' can be declared as pointer to const. However it seems that 'deinterlace_frame_di_greedyh' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/plugins/kdetv_greedyh.c:114:5: note: You might need to cast the function pointer here tvtime-1.0.11/plugins/kdetv_greedyh.c:38:69: note: Parameter 'data' can be declared as pointer to const tvtime-1.0.11/plugins/kdetv_tomsmocomp.c:37:72: style: Parameter 'data' can be declared as pointer to const. However it seems that 'deinterlace_frame_di_tomsmocomp' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/plugins/kdetv_tomsmocomp.c:113:5: note: You might need to cast the function pointer here tvtime-1.0.11/plugins/kdetv_tomsmocomp.c:37:72: note: Parameter 'data' can be declared as pointer to const /usr/local/share/bison/bison.simple:517:36: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] /usr/local/share/bison/bison.simple:515:9: style: Variable 'yyss1' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/plugins/linearblend.c:40:77: style: Parameter 'data' can be declared as pointer to const. However it seems that 'deinterlace_scanline_linear_blend' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/plugins/linearblend.c:178:5: note: You might need to cast the function pointer here tvtime-1.0.11/plugins/linearblend.c:40:77: note: Parameter 'data' can be declared as pointer to const tvtime-1.0.11/plugins/linearblend.c:43:14: style: Variable 't0' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/plugins/linearblend.c:44:14: style: Variable 'b0' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/plugins/linearblend.c:45:14: style: Variable 'm1' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/plugins/linearblend.c:103:78: style: Parameter 'data' can be declared as pointer to const. However it seems that 'deinterlace_scanline_linear_blend2' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/plugins/linearblend.c:179:5: note: You might need to cast the function pointer here tvtime-1.0.11/plugins/linearblend.c:103:78: note: Parameter 'data' can be declared as pointer to const tvtime-1.0.11/plugins/linearblend.c:106:14: style: Variable 'm0' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/plugins/linearblend.c:107:14: style: Variable 't1' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/plugins/linearblend.c:108:14: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::SearchEffort' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::UseStrangeBob' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::pMyMemcpy' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::IsOdd' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::pWeaveSrc' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::pWeaveSrcP' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::pWeaveDest' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::pCopySrc' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::pCopySrcP' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::pCopyDest' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::src_pitch' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::dst_pitch' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::rowsize' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::height' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:29:5: warning: Member variable 'DScalerFilterTomsMoComp::FldHeight' is not initialized in the constructor. [uninitMemberVar] tvtime-1.0.11/plugins/tomsmocomp.cpp:60:32: style: C-style pointer casting [cstyleCast] tvtime-1.0.11/plugins/tomsmocomp.cpp:61:31: style: C-style pointer casting [cstyleCast] tvtime-1.0.11/plugins/vfir.c:49:54: style: Parameter 'lum_m4' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/plugins/vfir.c:50:40: style: Parameter 'lum_m3' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/plugins/vfir.c:50:57: style: Parameter 'lum_m2' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/plugins/vfir.c:51:40: style: Parameter 'lum_m1' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/plugins/vfir.c:51:57: style: Parameter 'lum' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/plugins/tomsmocomp.cpp:77:10: style: class member 'DScalerFilterTomsMoComp::IsOdd' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:78:26: style: class member 'DScalerFilterTomsMoComp::pWeaveSrc' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:79:26: style: class member 'DScalerFilterTomsMoComp::pWeaveSrcP' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:80:20: style: class member 'DScalerFilterTomsMoComp::pWeaveDest' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:81:26: style: class member 'DScalerFilterTomsMoComp::pCopySrc' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:82:26: style: class member 'DScalerFilterTomsMoComp::pCopySrcP' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:83:20: style: class member 'DScalerFilterTomsMoComp::pCopyDest' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:84:9: style: class member 'DScalerFilterTomsMoComp::src_pitch' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:85:9: style: class member 'DScalerFilterTomsMoComp::dst_pitch' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:86:9: style: class member 'DScalerFilterTomsMoComp::rowsize' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:87:9: style: class member 'DScalerFilterTomsMoComp::height' is never used. [unusedStructMember] tvtime-1.0.11/plugins/tomsmocomp.cpp:88:9: style: class member 'DScalerFilterTomsMoComp::FldHeight' is never used. [unusedStructMember] tvtime-1.0.11/src/copyfunctions.c:43:73: style: Parameter 'top' can be declared as pointer to const. However it seems that 'interpolate_packed422_scanline_c' is a callback function, if 'top' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/src/copyfunctions.c:315:38: note: You might need to cast the function pointer here tvtime-1.0.11/src/copyfunctions.c:43:73: note: Parameter 'top' can be declared as pointer to const tvtime-1.0.11/src/copyfunctions.c:44:56: style: Parameter 'bot' can be declared as pointer to const. However it seems that 'interpolate_packed422_scanline_c' is a callback function, if 'bot' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/src/copyfunctions.c:315:38: note: You might need to cast the function pointer here tvtime-1.0.11/src/copyfunctions.c:44:56: note: Parameter 'bot' can be declared as pointer to const tvtime-1.0.11/src/alsa_stream.c:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_ACCESS_RW_INTERLEAVED [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/alsa_stream.c:437:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/alsa_stream.c:475:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_FORMAT_S16_LE [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/alsa_stream.c:612:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/cpuinfo.c:267:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/deinterlace.c:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/deinterlace.c:89:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/deinterlace.c:78:49: style:inconclusive: Function 'filter_deinterlace_methods' argument 2 names different: declaration 'fieldsavailable' definition 'fields_available'. [funcArgNamesDifferent] tvtime-1.0.11/src/deinterlace.h:154:49: note: Function 'filter_deinterlace_methods' argument 2 names different: declaration 'fieldsavailable' definition 'fields_available'. tvtime-1.0.11/src/deinterlace.c:78:49: note: Function 'filter_deinterlace_methods' argument 2 names different: declaration 'fieldsavailable' definition 'fields_available'. tvtime-1.0.11/src/epg.c:87:52: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tvtime-1.0.11/src/epg.c:88:50: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tvtime-1.0.11/src/epg.c:173:52: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tvtime-1.0.11/src/epg.c:187:54: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tvtime-1.0.11/src/epg.c:131:16: style: Return value '!page' is always false [knownConditionTrueFalse] tvtime-1.0.11/src/alsa_stream.c:286:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tvtime-1.0.11/src/alsa_stream.c:355:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tvtime-1.0.11/src/alsa_stream.c:417:2: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tvtime-1.0.11/src/alsa_stream.c:637:5: error: Memory leak: inputs.pdevice [memleak] tvtime-1.0.11/src/alsa_stream.c:637:5: error: Memory leak: inputs.cdevice [memleak] tvtime-1.0.11/src/fifo.c:49:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/fifo.c:55:13: error: Resource leak: fifo.fd [resourceLeak] tvtime-1.0.11/src/fifo.c:118:41: style: Parameter 'fifo' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/hashtable.c:57:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEVER_USED [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/hashtable.c:105:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/hashtable.c:143:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_USE [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/hashtable.c:159:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/hashtable.c:192:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEARED [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/hashtable.c:233:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_USE [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/input.c:45:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/input.c:137:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/leetft.c:75:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/leetft.c:138:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/leetft.c:267:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ft_kerning_unfitted [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/leetft.c:371:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/menu.c:96:36: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/menu.c:101:33: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/menu.c:121:36: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/menu.c:126:45: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/menu.c:131:30: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/menu.c:136:38: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/leetft.c:81:9: error: Memory leak: cur [memleak] tvtime-1.0.11/src/leetft.c:88:9: error: Memory leak: cur [memleak] tvtime-1.0.11/src/leetft.c:96:9: error: Memory leak: cur [memleak] tvtime-1.0.11/src/leetft.c:105:9: error: Memory leak: cur [memleak] tvtime-1.0.11/src/leetft.c:347:68: style:inconclusive: Function 'ft_font_render' argument 3 names different: declaration 'text' definition 'ntext'. [funcArgNamesDifferent] tvtime-1.0.11/src/leetft.h:76:68: note: Function 'ft_font_render' argument 3 names different: declaration 'text' definition 'ntext'. tvtime-1.0.11/src/leetft.c:347:68: note: Function 'ft_font_render' argument 3 names different: declaration 'text' definition 'ntext'. tvtime-1.0.11/src/leetft.c:225:34: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/leetft.c:230:48: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/leetft.c:252:26: style: Variable 'curdata' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/leetft.c:327:22: style: Variable 'cursrc' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/leetft.c:458:40: style: Parameter 'fts' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/leetft.c:463:39: style: Parameter 'fts' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/leetft.c:468:40: style: Parameter 'fts' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/leetft.c:473:40: style: Parameter 'fts' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/leetft.c:478:45: style: Parameter 'fts' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/mixer-alsa.c:41:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/mixer-alsa.c:100:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_MIXER_SCHN_MONO [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/mixer-alsa.c:169:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/mixer-alsa.c:202:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/mixer-oss.c:47:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/mixer-oss.c:71:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/mixer-oss.c:99:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/mixer-oss.c:129:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/mixer-oss.c:202:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/mixer-oss.c:249:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_MIXER_LINE [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/commands.c:263:48: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tvtime-1.0.11/src/commands.c:265:46: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tvtime-1.0.11/src/commands.c:1903:9: style: Condition 'menuname' is always true [knownConditionTrueFalse] tvtime-1.0.11/src/performance.c:199:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/performance.c:217:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/commands.c:1999:55: warning: Either the condition 'code' is redundant or there is possible null pointer dereference: code. [nullPointerRedundantCheck] tvtime-1.0.11/src/commands.c:2001:20: note: Assuming that condition 'code' is not redundant tvtime-1.0.11/src/commands.c:1999:55: note: Null pointer dereference tvtime-1.0.11/src/performance.c:31:38: style: Parameter 'large' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/performance.c:31:61: style: Parameter 'small' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/performance.c:223:65: style: Parameter 'perf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/performance.c:233:60: style: Parameter 'perf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/performance.c:243:56: style: Parameter 'perf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/performance.c:248:56: style: Parameter 'perf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/performance.c:253:52: style: Parameter 'perf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:1869:13: style: Statements following 'return' will never be executed. [unreachableCode] tvtime-1.0.11/src/commands.c:2008:44: style:inconclusive: Function 'commands_handle' argument 2 names different: declaration 'command' definition 'tvtime_cmd'. [funcArgNamesDifferent] tvtime-1.0.11/src/commands.h:40:44: note: Function 'commands_handle' argument 2 names different: declaration 'command' definition 'tvtime_cmd'. tvtime-1.0.11/src/commands.c:2008:44: note: Function 'commands_handle' argument 2 names different: declaration 'command' definition 'tvtime_cmd'. tvtime-1.0.11/src/commands.c:3515:56: style:inconclusive: Function 'commands_set_vbidata' argument 2 names different: declaration 'con' definition 'vbi'. [funcArgNamesDifferent] tvtime-1.0.11/src/commands.h:52:56: note: Function 'commands_set_vbidata' argument 2 names different: declaration 'con' definition 'vbi'. tvtime-1.0.11/src/commands.c:3515:56: note: Function 'commands_set_vbidata' argument 2 names different: declaration 'con' definition 'vbi'. tvtime-1.0.11/src/pnginput.c:44:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/commands.c:1977:35: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3450:32: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3455:39: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3460:37: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3465:43: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3470:55: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3475:45: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3480:41: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3485:41: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3490:46: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3495:47: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3500:53: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3505:40: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3510:52: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3520:41: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3525:33: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3530:47: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3535:40: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3540:45: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3545:43: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3550:41: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3560:50: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3565:42: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3579:44: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3584:56: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3589:39: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3599:47: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3604:49: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3609:47: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3614:49: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3619:42: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3624:42: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3629:54: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/pnginput.c:113:37: style: Parameter 'pnginput' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3634:46: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3639:38: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3644:50: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3682:43: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3687:41: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/commands.c:3692:39: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:53:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/osdtools.c:121:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/osdtools.c:523:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/pngoutput.c:48:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_sRGB_INTENT_RELATIVE [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/pngoutput.c:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/commands.c:257:27: style: Variable 'start_time[0]' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/commands.c:258:25: style: Variable 'end_time[0]' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/commands.c:651:8: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/commands.c:1590:15: style: Variable 'curpos' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/rtctimer.c:48:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/rtctimer.c:91:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/rtctimer.c:124:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTC_IRQP_SET [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/rtctimer.c:145:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTC_PIE_ON [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/rtctimer.c:162:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTC_PIE_OFF [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/rtctimer.c:190:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_FIFO [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/rtctimer.c:206:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_OTHER [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/rtctimer.c:86:37: style: Parameter 'rtctimer' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/rtctimer.c:175:42: style: Parameter 'rtctimer' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/rtctimer.c:180:37: style: Parameter 'rtctimer' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:928:41: style:inconclusive: Function 'osd_list_set_multitext' argument 1 names different: declaration 'odsl' definition 'osdl'. [funcArgNamesDifferent] tvtime-1.0.11/src/osdtools.h:146:41: note: Function 'osd_list_set_multitext' argument 1 names different: declaration 'odsl' definition 'osdl'. tvtime-1.0.11/src/osdtools.c:928:41: note: Function 'osd_list_set_multitext' argument 1 names different: declaration 'odsl' definition 'osdl'. tvtime-1.0.11/src/osdtools.c:928:68: style:inconclusive: Function 'osd_list_set_multitext' argument 3 names different: declaration 'text' definition 'textarg'. [funcArgNamesDifferent] tvtime-1.0.11/src/osdtools.h:146:68: note: Function 'osd_list_set_multitext' argument 3 names different: declaration 'text' definition 'textarg'. tvtime-1.0.11/src/osdtools.c:928:68: note: Function 'osd_list_set_multitext' argument 3 names different: declaration 'text' definition 'textarg'. tvtime-1.0.11/src/osdtools.c:82:50: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:316:41: style: Parameter 'osds' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:321:42: style: Parameter 'osds' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:331:39: style: Parameter 'osds' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:343:47: style: Parameter 'osds' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:348:61: style: Parameter 'osds' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:541:47: style: Parameter 'osda' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:546:48: style: Parameter 'osda' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:572:45: style: Parameter 'osda' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:588:67: style: Parameter 'osda' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:683:37: style: Parameter 'osdl' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:710:39: style: Parameter 'osdl' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:715:40: style: Parameter 'osdl' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:741:40: style: Parameter 'osdl' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:756:45: style: Parameter 'osdl' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/osdtools.c:893:35: style: Parameter 'osdr' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/station.c:161:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/station.c:200:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/station.c:236:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/station.c:368:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/station.c:1055:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/station.c:1087:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/speedy.c:434:79: style: Parameter 'src' can be declared as pointer to const. However it seems that 'packed422_to_packed444_rec601_scanline_c' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/src/speedy.c:1969:46: note: You might need to cast the function pointer here tvtime-1.0.11/src/speedy.c:434:79: note: Parameter 'src' can be declared as pointer to const tvtime-1.0.11/src/speedy.c:627:15: style: Variable 'uyvy' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/speedy.c:1258:68: style: Parameter 'mask' can be declared as pointer to const. However it seems that 'composite_alphamask_to_packed4444_scanline_c' is a callback function, if 'mask' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/src/speedy.c:1956:50: note: You might need to cast the function pointer here tvtime-1.0.11/src/speedy.c:1258:68: note: Parameter 'mask' can be declared as pointer to const tvtime-1.0.11/src/speedy.c:1405:74: style: Parameter 'mask' can be declared as pointer to const. However it seems that 'composite_alphamask_alpha_to_packed4444_scanline_c' is a callback function, if 'mask' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/src/speedy.c:1957:56: note: You might need to cast the function pointer here tvtime-1.0.11/src/speedy.c:1405:74: note: Parameter 'mask' can be declared as pointer to const tvtime-1.0.11/src/speedy.c:1635:83: style: Parameter 'one' can be declared as pointer to const. However it seems that 'quarter_blit_vertical_packed422_scanline_c' is a callback function, if 'one' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/src/speedy.c:1964:48: note: You might need to cast the function pointer here tvtime-1.0.11/src/speedy.c:1635:83: note: Parameter 'one' can be declared as pointer to const tvtime-1.0.11/src/speedy.c:1636:66: style: Parameter 'three' can be declared as pointer to const. However it seems that 'quarter_blit_vertical_packed422_scanline_c' is a callback function, if 'three' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tvtime-1.0.11/src/speedy.c:1964:48: note: You might need to cast the function pointer here tvtime-1.0.11/src/speedy.c:1636:66: note: Parameter 'three' can be declared as pointer to const tvtime-1.0.11/src/speedy.c:1910:18: style: Variable 'curin' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/speedy.c:375:26: style: Variable 's' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/speedy.c:375:31: style: Variable 'p' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/speedy.c:375:36: style: Variable 't' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/tvtime-command.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtime-configure.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/pulldown.c:452:59: style: Parameter 'old_peak' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/pulldown.c:453:59: style: Parameter 'old_relative' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/pulldown.c:454:59: style: Parameter 'old_mean' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/pulldown.c:455:59: style: Parameter 'new_peak' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/pulldown.c:456:59: style: Parameter 'new_relative' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/pulldown.c:457:59: style: Parameter 'new_mean' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/pulldown.c:177:16: style: Variable 'avgbot' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/pulldown.c:178:16: style: Variable 'avgtop' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/pulldown.c:194:16: style: Variable 'avgtop' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/pulldown.c:195:16: style: Variable 'avgbot' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/pulldown.c:197:12: style: Variable 'avgtop' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/pulldown.c:198:12: style: Variable 'avgbot' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/tvtime-scanner.c:67:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/station.c:170:25: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tvtime-1.0.11/src/station.c:684:17: error: Memory leak: entryname [memleak] tvtime-1.0.11/src/station.c:664:59: style:inconclusive: Function 'station_add' argument 3 names different: declaration 'band' definition 'bandname'. [funcArgNamesDifferent] tvtime-1.0.11/src/station.h:219:59: note: Function 'station_add' argument 3 names different: declaration 'band' definition 'bandname'. tvtime-1.0.11/src/station.c:664:59: note: Function 'station_add' argument 3 names different: declaration 'band' definition 'bandname'. tvtime-1.0.11/src/station.c:704:55: style:inconclusive: Function 'station_add_band' argument 2 names different: declaration 'band' definition 'bandname'. [funcArgNamesDifferent] tvtime-1.0.11/src/station.h:224:55: note: Function 'station_add_band' argument 2 names different: declaration 'band' definition 'bandname'. tvtime-1.0.11/src/station.c:704:55: note: Function 'station_add_band' argument 2 names different: declaration 'band' definition 'bandname'. tvtime-1.0.11/src/station.c:785:32: style: Pointer expression 'network_name' converted to bool is always true. [knownPointerToBool] tvtime-1.0.11/src/station.c:362:11: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/station.c:476:44: style: Parameter 'mgr' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/station.c:481:46: style: Parameter 'mgr' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/station.c:486:46: style: Parameter 'mgr' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/station.c:538:25: style: Variable 'i' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/station.c:550:25: style: Variable 'i' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/station.c:620:47: style: Parameter 'mgr' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/station.c:641:52: style: Parameter 'mgr' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/station.c:763:59: style: Parameter 'mgr' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtime-scanner.c:141:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tvtime-1.0.11/src/tvtimeconf.c:169:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:190:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:444:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:503:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:551:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:617:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:622:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:677:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:737:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:909:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFDIR [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:976:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:1133:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:1329:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeconf.c:1402:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtime.c:1215:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtime.c:2639:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtimeosd.c:675:26: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tvtime-1.0.11/src/tvtimeosd.c:880:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tvtime-1.0.11/src/tvtimeosd.c:164:11: style: Variable 'fontfile' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/tvtimeosd.c:675:16: style: Variable 'curtime' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/tvtimeosd.c:880:20: style: Variable 'curtime' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/tvtimeosd.c:1012:22: style: Variable 'iconpush' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/tvtimeconf.c:404:13: warning:inconclusive: The buffer 'prevloc' may not be null-terminated after the call to strncpy(). [terminateStrncpy] tvtime-1.0.11/src/tvtimeconf.c:1035:16: warning: Either the condition 'fifofd>=0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] tvtime-1.0.11/src/tvtimeconf.c:1030:20: note: Assuming that condition 'fifofd>=0' is not redundant tvtime-1.0.11/src/tvtimeconf.c:1035:16: note: Invalid argument tvtime-1.0.11/src/tvtimeconf.c:1253:16: warning: Either the condition 'fifofd>=0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] tvtime-1.0.11/src/tvtimeconf.c:1248:20: note: Assuming that condition 'fifofd>=0' is not redundant tvtime-1.0.11/src/tvtimeconf.c:1253:16: note: Invalid argument tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.geometry [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.v4ldev [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.norm [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.freq [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.ssdir [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.xmltvfile [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.xmltvlanguage [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.timeformat [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.mixerdev [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.deinterlace_method [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.vbidev [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.alsa_inputdev [memleak] tvtime-1.0.11/src/tvtimeconf.c:903:9: error: Memory leak: ct.alsa_outputdev [memleak] tvtime-1.0.11/src/tvtimeconf.c:194:15: style: Variable 'curval' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/tvtimeconf.c:930:26: style: Variable 'long_options' can be declared as const array [constVariable] tvtime-1.0.11/src/tvtimeconf.c:1021:15: style: Variable 'fifofile' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/tvtimeconf.c:1087:26: style: Variable 'long_options' can be declared as const array [constVariable] tvtime-1.0.11/src/tvtimeconf.c:1239:15: style: Variable 'fifofile' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/tvtimeconf.c:1313:26: style: Variable 'long_options' can be declared as const array [constVariable] tvtime-1.0.11/src/tvtimeconf.c:1474:38: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1529:35: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1534:39: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1539:33: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1544:44: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1549:38: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1554:34: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1559:41: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1564:40: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1569:36: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1574:54: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1579:46: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1584:44: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1589:38: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1594:38: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1599:39: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1604:36: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1609:44: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1614:46: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1619:46: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1624:53: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1629:51: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1634:33: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1639:34: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1644:46: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1649:39: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1654:41: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1659:43: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1664:50: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1669:42: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1674:38: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1679:48: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1684:47: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1689:48: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1694:45: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1699:43: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1704:45: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1709:38: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1714:46: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1719:50: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1724:34: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1729:30: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1734:34: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1739:39: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1744:45: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1749:41: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1754:33: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1759:40: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1764:41: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1769:41: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1773:49: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1778:50: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/tvtimeconf.c:1783:40: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/utils.c:81:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/utils.c:110:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATADIR [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/utils.c:116:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/utils.c:173:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIFODIR [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/utils.c:233:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATADIR [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/utils.c:785:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/utils.c:171:13: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] tvtime-1.0.11/src/utils.c:130:9: error: Resource leak: temp_dir [resourceLeak] tvtime-1.0.11/src/utils.c:185:9: error: Memory leak: fifodir [memleak] tvtime-1.0.11/src/utils.c:116:16: warning: Either the condition '!path' is redundant or there is possible null pointer dereference: path. [nullPointerRedundantCheck] tvtime-1.0.11/src/utils.c:123:17: note: Assuming that condition '!path' is not redundant tvtime-1.0.11/src/utils.c:116:16: note: Null pointer dereference tvtime-1.0.11/src/utils.c:122:38: warning: Either the condition '!path' is redundant or there is possible null pointer dereference: path. [nullPointerRedundantCheck] tvtime-1.0.11/src/utils.c:123:17: note: Assuming that condition '!path' is not redundant tvtime-1.0.11/src/utils.c:122:38: note: Null pointer dereference tvtime-1.0.11/src/utils.c:166:20: style: Variable 'pwuid' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/utils.c:164:28: style: Variable 'hostname_realloc' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/utils.c:193:31: style: Variable 'hostname_size' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/tvtime.c:242:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tvtime-1.0.11/src/tvtime.c:629:13: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tvtime-1.0.11/src/tvtime.c:2544:5: warning:inconclusive: The buffer 'prevloc' may not be null-terminated after the call to strncpy(). [terminateStrncpy] tvtime-1.0.11/src/tvtime.c:2123:21: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tvtime-1.0.11/src/tvtime.c:2312:35: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tvtime-1.0.11/src/tvtime.c:2373:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tvtime-1.0.11/src/tvtime.c:2459:35: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tvtime-1.0.11/src/vbiscreen.c:126:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:204:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:294:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:312:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:337:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:428:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:440:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:449:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:461:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:476:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:507:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:525:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/tvtime.c:1329:13: error: Memory leak: error_string [memleak] tvtime-1.0.11/src/vbidata.c:314:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbidata.c:634:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbidata.c:1000:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbidata.c:1208:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/vbiscreen.c:316:11: style: Condition '0&&vs->captions' is always false [knownConditionTrueFalse] tvtime-1.0.11/src/vbiscreen.c:198:47: style: Parameter 'vs' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbiscreen.c:272:49: style: Parameter 'row' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbiscreen.c:492:49: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbiscreen.c:582:48: style: Parameter 'vs' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbiscreen.c:595:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/vbiscreen.c:595:18: style: Variable 'y' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/vbiscreen.c:595:27: style: Variable 'row' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/vbiscreen.c:595:38: style: Variable 'index' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/videofilter.c:73:52: style: Parameter 'vf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/videofilter.c:83:53: style: Parameter 'vf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/videoinput.c:802:38: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it. [unknownMacro] tvtime-1.0.11/src/tvtime.c:134:9: style: struct member 'tvtime_deinterlacer_s::start' is never used. [unusedStructMember] tvtime-1.0.11/src/tvtime.c:135:9: style: struct member 'tvtime_deinterlacer_s::end' is never used. [unusedStructMember] tvtime-1.0.11/src/tvtime.c:136:9: style: struct member 'tvtime_deinterlacer_s::cur' is never used. [unusedStructMember] tvtime-1.0.11/src/tvtime.c:242:15: style: Variable 'saveframe' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/tvtime.c:629:20: style: Variable 'output' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/tvtime.c:630:21: style: Variable 'scanline' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/tvtime.c:1574:31: style: Variable 'fifo_args' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/tvtime.c:2480:32: style: Variable 'screenshot' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/xfullscreen.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xfullscreen.c:211:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:244:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StructureNotifyMask [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:317:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:347:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAspect [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:358:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PWinGravity [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:368:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GrabSuccess [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:379:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:394:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:419:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_STRING [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:487:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_WINDOW [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:601:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_ATOM [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:672:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_ATOM [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:743:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_ATOM [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:831:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:873:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:1151:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:1170:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:1226:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StructureNotifyMask [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:1237:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:1256:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:1290:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:1393:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropertyChangeMask [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:1493:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:1737:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropModeReplace [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xcommon.c:1844:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_STRING [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xfullscreen.c:237:41: style: Parameter 'xf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/xfullscreen.c:315:51: style: Parameter 'xf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/xfullscreen.c:337:14: style: Variable 'snapratio_w_end' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/xfullscreen.c:395:45: style: Parameter 'xf' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/xfullscreen.c:116:9: style: Unused variable: event_base [unusedVariable] tvtime-1.0.11/src/xfullscreen.c:116:21: style: Unused variable: error_base [unusedVariable] tvtime-1.0.11/src/xfullscreen.c:117:9: style: Unused variable: max_h [unusedVariable] tvtime-1.0.11/src/xfullscreen.c:117:16: style: Unused variable: max_v [unusedVariable] tvtime-1.0.11/src/xmltv.c:295:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xmltv.c:380:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xmltv.c:422:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xmltv.c:493:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xmltv.c:540:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xmltv.c:745:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xmltv.c:796:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] tvtime-1.0.11/src/xmltv.c:354:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:354:10: note: Null pointer dereference tvtime-1.0.11/src/xmltv.c:354:23: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:354:23: note: Null pointer dereference tvtime-1.0.11/src/xmltv.c:354:39: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:354:39: note: Null pointer dereference tvtime-1.0.11/src/xmltv.c:355:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:355:10: note: Null pointer dereference tvtime-1.0.11/src/xmltv.c:355:29: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:355:29: note: Null pointer dereference tvtime-1.0.11/src/xmltv.c:355:51: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:355:51: note: Null pointer dereference tvtime-1.0.11/src/xmltv.c:356:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:356:10: note: Null pointer dereference tvtime-1.0.11/src/xmltv.c:357:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:357:10: note: Null pointer dereference tvtime-1.0.11/src/xmltv.c:493:18: style: Variable 'c' can be declared as pointer to const [constVariablePointer] tvtime-1.0.11/src/xmltv.c:851:39: style: Parameter 'xmltv' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/xmltv.c:386:37: style: Variable 'end_time' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/xcommon.c:938:9: style: Condition 'have_xss' is always false [knownConditionTrueFalse] tvtime-1.0.11/src/xcommon.c:937:33: note: Calling function 'have_xssextention' returns 0 tvtime-1.0.11/src/xcommon.c:937:33: note: Assignment 'have_xss=have_xssextention()', assigned value is 0 tvtime-1.0.11/src/xcommon.c:938:9: note: Condition 'have_xss' is always false tvtime-1.0.11/src/xcommon.c:1814:29: style:inconclusive: Function 'xcommon_set_matte' argument 1 names different: declaration 'ystart' definition 'width'. [funcArgNamesDifferent] tvtime-1.0.11/src/xcommon.h:99:29: note: Function 'xcommon_set_matte' argument 1 names different: declaration 'ystart' definition 'width'. tvtime-1.0.11/src/xcommon.c:1814:29: note: Function 'xcommon_set_matte' argument 1 names different: declaration 'ystart' definition 'width'. tvtime-1.0.11/src/xcommon.c:1003:14: style: Local variable 'mask' shadows outer variable [shadowVariable] tvtime-1.0.11/src/xcommon.c:845:19: note: Shadowed declaration tvtime-1.0.11/src/xcommon.c:1003:14: note: Shadow variable tvtime-1.0.11/src/xcommon.c:1567:29: style: Local variable 'arg' shadows outer variable [shadowVariable] tvtime-1.0.11/src/xcommon.c:1423:13: note: Shadowed declaration tvtime-1.0.11/src/xcommon.c:1567:29: note: Shadow variable tvtime-1.0.11/src/xcommon.c:119:38: style: Parameter 'large' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/xcommon.c:119:61: style: Parameter 'small' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/xcommon.c:1079:18: warning: Uninitialized variable: mwmhints.flags [uninitvar] tvtime-1.0.11/src/xcommon.c:1069:9: note: Assuming condition is false tvtime-1.0.11/src/xcommon.c:1079:18: note: Uninitialized variable: mwmhints.flags tvtime-1.0.11/src/xcommon.c:1079:9: error: Uninitialized struct member: mwmhints.flags [uninitStructMember] tvtime-1.0.11/src/xcommon.c:1067:15: style: Variable 'prop' is assigned a value that is never used. [unreadVariable] tvtime-1.0.11/src/vbidata.c:659:17: style: Expression '(X & 0x8) == 0x1' is always false. [comparisonError] tvtime-1.0.11/src/vbidata.c:1042:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tvtime-1.0.11/src/vbidata.c:1042:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tvtime-1.0.11/src/vbidata.c:1042:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tvtime-1.0.11/src/vbidata.c:1042:9: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tvtime-1.0.11/src/vbidata.c:144:27: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:144:41: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:156:28: style: Parameter 'ary' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:172:28: style: Parameter 'ary' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:1250:50: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:1255:50: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:1260:52: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:1265:50: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:1270:56: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:1275:52: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:1280:58: style: Parameter 'vbi' can be declared as pointer to const [constParameterPointer] tvtime-1.0.11/src/vbidata.c:191:20: style: Variable 'clk' is assigned a value that is never used. [unreadVariable] diff: 2.17.0 tvtime-1.0.11/intl/os2compat.c:62:33: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tvtime-1.0.11/intl/os2compat.c:60:43: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:60:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:62:33: note: Null pointer addition head tvtime-1.0.11/intl/os2compat.c:62:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tvtime-1.0.11/intl/os2compat.c:60:43: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:60:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:62:33: note: Null pointer addition 2.17.0 tvtime-1.0.11/intl/os2compat.c:76:42: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tvtime-1.0.11/intl/os2compat.c:74:52: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:74:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:76:42: note: Null pointer addition head tvtime-1.0.11/intl/os2compat.c:76:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tvtime-1.0.11/intl/os2compat.c:74:52: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:74:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:76:42: note: Null pointer addition 2.17.0 tvtime-1.0.11/intl/os2compat.c:90:36: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tvtime-1.0.11/intl/os2compat.c:88:46: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:90:36: note: Null pointer addition head tvtime-1.0.11/intl/os2compat.c:90:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tvtime-1.0.11/intl/os2compat.c:88:46: note: Assuming allocation function fails tvtime-1.0.11/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 tvtime-1.0.11/intl/os2compat.c:90:36: note: Null pointer addition 2.17.0 tvtime-1.0.11/src/xmltv.c:226:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] head tvtime-1.0.11/src/xmltv.c:354:23: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:354:23: note: Null pointer dereference head tvtime-1.0.11/src/xmltv.c:354:39: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:354:39: note: Null pointer dereference head tvtime-1.0.11/src/xmltv.c:355:29: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:355:29: note: Null pointer dereference head tvtime-1.0.11/src/xmltv.c:355:51: warning: If memory allocation fails, then there is a possible null pointer dereference: pro [nullPointerOutOfMemory] tvtime-1.0.11/src/xmltv.c:366:28: note: Assuming allocation function fails tvtime-1.0.11/src/xmltv.c:366:28: note: Assignment 'pro=malloc(sizeof(struct program_t))', assigned value is 0 tvtime-1.0.11/src/xmltv.c:367:21: note: Calling function 'reinit_program', 1st argument 'pro' value is 0 tvtime-1.0.11/src/xmltv.c:355:51: note: Null pointer dereference DONE