2026-05-02 04:00 ftp://ftp.de.debian.org/debian/pool/main/g/gimp-gap/gimp-gap_2.6.0+dfsg.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 596 591 elapsed-time: 9.2 7.9 head-timing-info: old-timing-info: head results: gimp-gap-2.6.0+dfsg.orig/gap/gap-intl.h:5:2: error: #error "config.h must be included prior to gap-intl.h" [preprocessorErrorDirective] gimp-gap-2.6.0+dfsg.orig/gap/gap_audio_util.c:88:4: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] gimp-gap-2.6.0+dfsg.orig/gap/gap_audio_util.c:47:105: style: Parameter 'l_aud_ptr' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_audio_util.c:97:104: style: Parameter 'l_aud_ptr' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_drawable_vref_parasite.c:148:3: error: Memory leak: dvref [memleak] gimp-gap-2.6.0+dfsg.orig/gap/gap_drawable_vref_parasite.c:75:38: style:inconclusive: Function 'gap_dvref_free' argument 1 names different: declaration 'dvref' definition 'dvref_ptr'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/gap/gap_drawable_vref_parasite.h:54:62: note: Function 'gap_dvref_free' argument 1 names different: declaration 'dvref' definition 'dvref_ptr'. gimp-gap-2.6.0+dfsg.orig/gap/gap_drawable_vref_parasite.c:75:38: note: Function 'gap_dvref_free' argument 1 names different: declaration 'dvref' definition 'dvref_ptr'. gimp-gap-2.6.0+dfsg.orig/gap/gap_drawable_vref_parasite.c:170:72: style:inconclusive: Function 'gap_dvref_assign_videoref_parasites' argument 2 names different: declaration 'layer_id' definition 'drawable_id'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/gap/gap_drawable_vref_parasite.h:52:96: note: Function 'gap_dvref_assign_videoref_parasites' argument 2 names different: declaration 'layer_id' definition 'drawable_id'. gimp-gap-2.6.0+dfsg.orig/gap/gap_drawable_vref_parasite.c:170:72: note: Function 'gap_dvref_assign_videoref_parasites' argument 2 names different: declaration 'layer_id' definition 'drawable_id'. gimp-gap-2.6.0+dfsg.orig/gap/gap_drawable_vref_parasite.c:41:64: style: Parameter 'dvref' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_codegen.c:199:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_codegen.c:391:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_codegen.c:100:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_codegen.c:96:19: style: Variable 'l_t' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_codegen.c:111:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:149:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:660:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RUN_NONINTERACTIVE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1859:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PDB_INT32 [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1958:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1924:6: error: Memory leak: l_name [memleak] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1932:6: error: Memory leak: l_name [memleak] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1284:21: style: Same expression on both sides of '=='. [duplicateExpression] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:472:17: style: Variable 'l_idx' is reassigned a value before the old one has been used. [redundantAssignment] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:471:13: note: l_idx is assigned gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:472:17: note: l_idx is overwritten gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:771:28: style: Variable 'fetched_layer_id' is reassigned a value before the old one has been used. [redundantAssignment] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:758:26: note: fetched_layer_id is assigned gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:771:28: note: fetched_layer_id is overwritten gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:733:20: style: Variable 'fmref_entry_from' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:747:22: style: Variable 'fmref_entry_to' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:868:45: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:868:61: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:871:48: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:871:65: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:874:42: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:874:57: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:877:45: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:877:61: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:880:48: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:880:65: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:883:51: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:883:69: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:886:54: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:886:73: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:889:45: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:889:61: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:892:49: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:892:65: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:895:52: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:895:70: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:898:51: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:898:69: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:901:48: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:901:65: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:904:53: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:904:71: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:907:53: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:907:69: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:913:28: style: Parameter 'val' can be declared as pointer to const. However it seems that 'gap_delta_none' is a callback function, if 'val' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:989:45: note: You might need to cast the function pointer here gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:913:28: note: Parameter 'val' can be declared as pointer to const gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:913:39: style: Parameter 'val_from' can be declared as pointer to const. However it seems that 'gap_delta_none' is a callback function, if 'val_from' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:989:45: note: You might need to cast the function pointer here gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:913:39: note: Parameter 'val_from' can be declared as pointer to const gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:913:55: style: Parameter 'val_to' can be declared as pointer to const. However it seems that 'gap_delta_none' is a callback function, if 'val_to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:989:45: note: You might need to cast the function pointer here gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:913:55: note: Parameter 'val_to' can be declared as pointer to const gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1058:35: style: Parameter 'iter_stack' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1076:59: style: Parameter 'stack_item' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1122:47: style: Parameter 'lastval_desc_arr' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1395:40: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1395:59: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1415:52: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1415:75: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1504:50: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1504:73: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1543:91: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1543:126: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1559:97: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1559:134: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1580:91: style: Parameter 'val_from' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1580:126: style: Parameter 'val_to' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1852:43: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1304:41: portability: 'buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1305:41: portability: 'buffer_from' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1306:41: portability: 'buffer_to' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1321:31: portability: 'buf_ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1322:31: portability: 'buf_ptr_from' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1323:31: portability: 'buf_ptr_to' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1384:20: style: struct member 't_LightSettings::type' is never used. [unusedStructMember] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1466:16: style: struct member 't_LightingMaterialSettings::metallic' is never used. [unusedStructMember] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1472:20: style: struct member 't_LightingLightSettings::type' is never used. [unusedStructMember] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_iterators.c:1477:20: style: struct member 't_LightingLightSettings::active' is never used. [unusedStructMember] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_pdb.c:124:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GimpParam [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_pdb.c:218:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PDB_DRAWABLE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_pdb.c:349:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PLUGIN [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_pdb.c:769:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PDB_FLOAT [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_pdb.c:584:11: style: Condition 'l_rc!=0' is always true [knownConditionTrueFalse] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_pdb.c:583:43: note: Calling function 'gap_filt_pdb_constraint_proc_sel1' returns 1 gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_pdb.c:583:43: note: Assignment 'l_rc=gap_filt_pdb_constraint_proc_sel1(proc_name,image_id)', assigned value is 1 gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_pdb.c:584:11: note: Condition 'l_rc!=0' is always true gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_pdb.c:429:48: style: Parameter 'plugin_name' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_filter_pdb.c:548:42: style: Parameter 'proc_name' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_fmac_context.c:622:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_fmac_context.c:505:20: style: Variable 'fmref_entry' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_fmac_context.c:547:20: style: Variable 'fmref_entry' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_fmac_context.c:453:11: style: Variable 'l_len' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/gap/gap_image.c:391:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_GRAY [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_image.c:296:18: style: Unused variable: l_visible [unusedVariable] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:358:53: error: Array 'token_tab[22]' accessed at index 22, which is out of bounds. [arrayIndexOutOfBounds] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:354:28: note: Assuming that condition 'l_idx<=GIMP_LASTVAL_END' is not redundant gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:358:53: note: Array index out of bounds gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:476:14: error: Array 'token_tab[22]' accessed at index 22, which is out of bounds. [arrayIndexOutOfBounds] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:502:14: error: Array 'token_tab[22]' accessed at index 22, which is out of bounds. [arrayIndexOutOfBounds] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:554:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:532:11: error: Dereferencing 'file_buff' after it is deallocated / released [deallocuse] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:535:3: error: Returning/dereferencing 'file_buff' after it is deallocated / released [deallocret] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:530:7: note: Returning/dereferencing 'file_buff' after it is deallocated / released gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:535:3: note: Returning/dereferencing 'file_buff' after it is deallocated / released gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:532:36: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:527:11: note: Assuming that condition 'fp==NULL' is not redundant gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:532:36: note: Null pointer dereference gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:84:57: style: Parameter 'baseadress' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:86:18: style: Variable 'adress' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:89:18: style: Variable 'elem_name' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:250:10: style: Variable 'l_keyname' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:540:77: style: Parameter 'lastval_desc_arr' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:549:21: style: Variable 'l_t' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:594:68: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:638:80: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:517:13: style: Variable 'file_size' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:600:10: style: Variable 'l_lin' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:645:10: style: Variable 'l_lin' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.c:141:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RGB [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.c:448:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RGB [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.c:545:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_BACKGROUND_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.c:577:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_ORIENTATION_HORIZONTAL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.c:782:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_MASK_DISCARD [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.c:824:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_MASK_APPLY [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.c:434:34: style:inconclusive: Function 'gap_layer_new_from_buffer' argument 1 names different: declaration 'dst_image_id' definition 'image_id'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.h:62:41: note: Function 'gap_layer_new_from_buffer' argument 1 names different: declaration 'dst_image_id' definition 'image_id'. gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.c:434:34: note: Function 'gap_layer_new_from_buffer' argument 1 names different: declaration 'dst_image_id' definition 'image_id'. gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.c:766:18: style: Unused variable: l_has_already_layermask [unusedVariable] gimp-gap-2.6.0+dfsg.orig/gap/gap_layer_copy.c:767:18: style: Unused variable: l_layermask_id [unusedVariable] gimp-gap-2.6.0+dfsg.orig/gap/gap_match.c:218:12: style: Same expression on both sides of '=='. [duplicateExpression] gimp-gap-2.6.0+dfsg.orig/gap/gap_match.c:206:25: style:inconclusive: Function 'gap_match_number' argument 1 names different: declaration 'layer_id' definition 'layer_idx'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/gap/gap_match.h:45:30: note: Function 'gap_match_number' argument 1 names different: declaration 'layer_id' definition 'layer_idx'. gimp-gap-2.6.0+dfsg.orig/gap/gap_match.c:206:25: note: Function 'gap_match_number' argument 1 names different: declaration 'layer_id' definition 'layer_idx'. gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_base.c:72:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GapOnionBaseParasite_data [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_base.c:108:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_ONION_PARASITE_NAME [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_base.c:149:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_ONION_VISI_TRUE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_base.c:503:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_CLIP_TO_IMAGE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_base.c:102:31: style: Variable 'l_parasite_data' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_base.c:679:17: style: Unused variable: l_has_onion [unusedVariable] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_main.c:132:1: error: There is an unknown macro here somewhere. Configuration is required. If MAIN is a macro then please configure it. [unknownMacro] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_worker.c:55:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_ONION_CACHE_SIZE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_worker.c:99:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_ONION_CACHE_SIZE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_worker.c:165:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_ONION_CACHE_SIZE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_worker.c:191:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PDB_DRAWABLE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_worker.c:236:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GapVinVideoInfo [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_worker.c:363:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RUN_INTERACTIVE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_onion_worker.c:307:8: style: Variable 'l_rc' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/gap/gap_pdb_calls.c:206:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PI [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_pdb_calls.c:237:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PDB_IMAGE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_pdb_calls.c:273:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PDB_DRAWABLE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_pdb_calls.c:311:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PDB_IMAGE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_pdb_calls.c:364:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PDB_IMAGE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_pdb_calls.c:163:8: style: Variable 'l_rc' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_render_lossless.c:1182:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_render_lossless.c:1252:18: style: Condition 'l_videofile!=NULL' is always false [knownConditionTrueFalse] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_render_lossless.c:1192:17: note: Assignment 'l_videofile=NULL', assigned value is 0 gimp-gap-2.6.0+dfsg.orig/gap/gap_story_render_lossless.c:1252:18: note: Condition 'l_videofile!=NULL' is always false gimp-gap-2.6.0+dfsg.orig/gap/gap_story_render_lossless.c:1169:33: style: Variable 'l_frn_elem' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_render_lossless.c:1180:24: style: Variable 'l_enable_chunk_fetch' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:243:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:247:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:253:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:259:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:264:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:268:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:272:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:277:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:281:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:285:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:288:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:292:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:309:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:326:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:347:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:365:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:382:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:396:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:412:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:418:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:425:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:432:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:439:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:446:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:453:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:459:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:464:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:476:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:482:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:491:15: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:499:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:506:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:513:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:517:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:530:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:548:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_syntax.c:554:12: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_undo.c:64:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_undo.c:199:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_undo.c:269:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_undo.c:296:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_undo.c:389:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_undo.c:436:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_undo.c:59:24: style: Variable 'undo_elem' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_undo.c:552:49: style: Parameter 'tabw' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_story_undo.c:584:24: style: Variable 'redo_elem' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_vin.c:59:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_VAL_GDOUBLE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_vin.c:71:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_VAL_GBOOLEAN [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/gap/gap_vin.c:188:1: error: Memory leak: l_vin_ptr [memleak] gimp-gap-2.6.0+dfsg.orig/gap/gap_vin.c:98:26: style: Parameter 'basename' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_vin.c:154:24: style: Variable 'txf_ptr_root' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/gap/gap_vin.c:185:20: style: Variable 'txf_ptr_root' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_base.c:304:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_base.c:194:38: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_base.c:366:35: style: Parameter 'old_state' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_base.c:368:9: style: Variable 'value_string' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_base.c:309:19: error: Uninitialized variable: l_dbl_str [uninitvar] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_base.c:105:13: style: Variable 'len_fname' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_file_util.c:152:5: error: Memory leak: l_buff_ptr [memleak] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_file_util.c:204:42: style:inconclusive: Function 'gap_file_chop_trailingspace_and_nl' argument 1 names different: declaration 'buff' definition 'buffer'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_file_util.h:80:54: note: Function 'gap_file_chop_trailingspace_and_nl' argument 1 names different: declaration 'buff' definition 'buffer'. gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_file_util.c:204:42: note: Function 'gap_file_chop_trailingspace_and_nl' argument 1 names different: declaration 'buff' definition 'buffer'. gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_val_file.c:275:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_val_file.c:320:44: style: Condition '*val_ptr==1' is always false [knownConditionTrueFalse] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_val_file.c:330:47: style: Condition '*val_ptr==0' is always false [knownConditionTrueFalse] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_val_file.c:261:17: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_val_file.c:229:16: style: Variable 'termbuf' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_val_file.c:243:17: style: Variable 'val_ptr' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_val_file.c:256:17: style: Variable 'val_ptr' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_val_file.c:294:19: style: Variable 'val_ptr' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_val_file.c:317:17: style: Variable 'val_ptr' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapbase/gap_val_file.c:352:17: style: Variable 'val_ptr' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/example.c:25:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RUN_INTERACTIVE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/example.c:67:22: error: g_strdup_printf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/example.c:30:12: style: Variable 'l_rc' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/example.c:62:15: style: Variable 'l_rc' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:88:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:630:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:55:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RUN_NONINTERACTIVE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:107:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RUN_NONINTERACTIVE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:242:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RUN_NONINTERACTIVE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1658:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RGB [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2115:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_UNIT_INCH [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2216:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RGB [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:573:25: error: Buffer is accessed out of bounds: vindex->hdr.key_identifier [bufferAccessOutOfBounds] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1839:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:357:6: style: Condition 'fcache' is always true [knownConditionTrueFalse] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:316:7: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:316:7: warning: %lld in format string (no. 6) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1323:7: error: Memory leak: gvahand.filename [memleak] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1353:3: warning: Either the condition 'gvahand' is redundant or there is possible null pointer dereference: gvahand. [nullPointerRedundantCheck] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1345:6: note: Assuming that condition 'gvahand' is not redundant gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1353:3: note: Null pointer dereference gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1353:24: warning: Either the condition 'gvahand' is redundant or there is possible null pointer dereference: gvahand. [nullPointerRedundantCheck] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1345:6: note: Assuming that condition 'gvahand' is not redundant gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1353:24: note: Null pointer dereference gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1354:3: warning: Either the condition 'gvahand' is redundant or there is possible null pointer dereference: gvahand. [nullPointerRedundantCheck] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1345:6: note: Assuming that condition 'gvahand' is not redundant gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1354:3: note: Null pointer dereference gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1354:24: warning: Either the condition 'gvahand' is redundant or there is possible null pointer dereference: gvahand. [nullPointerRedundantCheck] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1345:6: note: Assuming that condition 'gvahand' is not redundant gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1354:24: note: Null pointer dereference gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:525:13: style: Same expression on both sides of '=='. [duplicateExpression] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:608:16: style: Same expression on both sides of '=='. [duplicateExpression] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2420:13: style: Same expression on both sides of '=='. [duplicateExpression] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2453:13: style: Same expression on both sides of '=='. [duplicateExpression] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:434:20: style: Variable 'rd_len' is reassigned a value before the old one has been used. [redundantAssignment] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:407:24: note: rd_len is assigned gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:434:20: note: rd_len is overwritten gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:934:29: style: Variable 'fcache->fcache_locked' is reassigned a value before the old one has been used. [redundantAssignment] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:911:29: note: fcache->fcache_locked is assigned gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:934:29: note: fcache->fcache_locked is overwritten gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:988:29: style: Variable 'fcache->fcache_locked' is reassigned a value before the old one has been used. [redundantAssignment] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:966:29: note: fcache->fcache_locked is assigned gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:988:29: note: fcache->fcache_locked is overwritten gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2242:20: style: Variable 'l_new_layer_id' is reassigned a value before the old one has been used. [redundantAssignment] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2180:18: note: l_new_layer_id is assigned gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2242:20: note: l_new_layer_id is overwritten gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1552:24: style: Variable 'dec_elem' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1959:17: style: Variable 'dest_buffer' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2086:36: style: Parameter 'gvahand' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2172:17: style: Variable 'odd_even_tab' can be declared as const array [constVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2602:29: style: Variable 'src' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:64:21: style: Parameter 'basename' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:64:46: style: Parameter 'extension' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:292:46: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:439:57: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:505:43: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:556:43: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:49:10: style: Variable 'uri' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:160:10: style: Variable 'uri' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:263:44: style: Parameter 'vindex' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:194:15: style: Variable 'handle' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:276:15: style: Variable 'handle' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:318:41: style: Parameter 'gvahand' can be declared as pointer to const. However it seems that 'p_wrapper_gimp_seek_audio' is a callback function, if 'gvahand' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:391:39: note: You might need to cast the function pointer here gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:318:41: note: Parameter 'gvahand' can be declared as pointer to const gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:330:40: style: Parameter 'gvahand' can be declared as pointer to const. However it seems that 'p_wrapper_gimp_get_audio' is a callback function, if 'gvahand' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:392:39: note: You might need to cast the function pointer here gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:330:40: note: Parameter 'gvahand' can be declared as pointer to const gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:331:23: style: Parameter 'output_i' can be declared as pointer to const. However it seems that 'p_wrapper_gimp_get_audio' is a callback function, if 'output_i' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:392:39: note: You might need to cast the function pointer here gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:331:23: note: Parameter 'output_i' can be declared as pointer to const gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:363:43: style: Parameter 'gvahand' can be declared as pointer to const. However it seems that 'p_wrapper_gimp_seek_support' is a callback function, if 'gvahand' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:394:39: note: You might need to cast the function pointer here gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_gimp.c:363:43: note: Parameter 'gvahand' can be declared as pointer to const gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1839:19: style: Variable 'l_mix_threshold' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1975:9: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1959:17: style: Variable 'dest_buffer' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1962:22: style: Unused variable: col [unusedVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:2196:19: style: Variable 'l_mix_threshold' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_mpeg3toc.c:102:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_mpeg3toc.c:84:21: style: Variable 'verbose' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_mpeg3toc.c:124:33: style: Variable 'verbose' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_mpeg3toc.c:82:16: style: Unused variable: j [unusedVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_mpeg3toc.c:82:19: style: Unused variable: l [unusedVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:207:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:302:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVA_MPGFRAME_UNKNOWN [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:369:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVA_MPGHDR_GOP_START_CODE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:452:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVA_MPGFRAME_UNKNOWN [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:533:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_util.c:585:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:82:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:136:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:189:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:209:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_GVA_Videoindex [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:318:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset_gint64 [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:348:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:622:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_GVA_IndexElem [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api_vidindex.c:650:42: style: Parameter 'gvahand' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_jpeg.c:150:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JERR_FILE_WRITE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_jpeg.c:264:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_jpeg.c:231:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_jpeg.c:382:19: style: Variable 'src' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_misc_util.c:77:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PDB_DRAWABLE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_misc_util.c:281:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_misc_util.c:459:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_misc_util.c:341:51: style: Parameter 'encStatus' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_misc_util.c:451:74: style: Parameter 'encStatus' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_misc_util.c:492:75: style: Parameter 'encStatus' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_png.c:81:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_PDB_DRAWABLE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_png.c:185:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_png.c:69:6: error: printf format string requires 5 parameters but only 4 are given. [wrongPrintfScanfArgNum] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_png.c:132:38: style: Parameter 'app0_buffer' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_png.c:159:14: style: Variable 'PNG_data' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_raw.c:100:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_GRAY_IMAGE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_raw.c:172:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_GRAY_IMAGE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_raw.c:264:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_GRAY_IMAGE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_raw.c:377:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_GRAY_IMAGE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_raw.c:67:34: style: Parameter 'app0_buffer' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_raw.c:139:34: style: Parameter 'app0_buffer' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_raw.c:215:34: style: Parameter 'app0_buffer' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_raw.c:476:34: style: Parameter 'app0_buffer' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_sox.c:39:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_STORY_SOX_DEFAULT_UTIL_SOX [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_sox.c:137:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libgapvidutil/gap_gve_sox.c:158:9: error: Memory leak: l_msg [memleak] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:111:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:146:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:227:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:247:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:266:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:286:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:305:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:325:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:347:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:367:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:170:3: style: Statements following noreturn function 'err()' will never be executed. [unreachableCode] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:235:24: style:inconclusive: Function 'tosvr_path' argument 1 names different: declaration 'path' definition 'pathname'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.h:57:35: note: Function 'tosvr_path' argument 1 names different: declaration 'path' definition 'pathname'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:235:24: note: Function 'tosvr_path' argument 1 names different: declaration 'path' definition 'pathname'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:255:38: style:inconclusive: Function 'tosvr_bits' argument 3 names different: declaration '' definition 'bits'. [funcArgNamesDifferentUnnamed] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:275:39: style:inconclusive: Function 'tosvr_start_sample' argument 2 names different: declaration 'eft' definition 'erf'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.h:59:50: note: Function 'tosvr_start_sample' argument 2 names different: declaration 'eft' definition 'erf'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:275:39: note: Function 'tosvr_start_sample' argument 2 names different: declaration 'eft' definition 'erf'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:275:51: style:inconclusive: Function 'tosvr_start_sample' argument 3 names different: declaration '' definition 'sample'. [funcArgNamesDifferentUnnamed] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:294:50: style:inconclusive: Function 'tosvr_sampling_rate' argument 3 names different: declaration '' definition 'sampling_rate'. [funcArgNamesDifferentUnnamed] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:314:39: style:inconclusive: Function 'tosvr_chan' argument 3 names different: declaration '' definition 'chan'. [funcArgNamesDifferentUnnamed] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:41: style:inconclusive: Function 'tosvr_record' argument 3 names different: declaration '' definition 'Channels'. [funcArgNamesDifferentUnnamed] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:57: style:inconclusive: Function 'tosvr_record' argument 4 names different: declaration '' definition 'SamplingRate'. [funcArgNamesDifferentUnnamed] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:77: style:inconclusive: Function 'tosvr_record' argument 5 names different: declaration '' definition 'DataBits'. [funcArgNamesDifferentUnnamed] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:356:39: style:inconclusive: Function 'tosvr_debug' argument 3 names different: declaration '' definition 'bDebugMode'. [funcArgNamesDifferentUnnamed] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/msg.c:103:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/msg.c:127:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/msg.c:146:15: style: Variable 'msg_names' can be declared as const array [constVariable] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wavfile.c:144:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wavfile.c:160:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wavfile.c:252:25: style:inconclusive: Function 'findchunk' argument 1 names different: declaration 's1' definition 'pstart'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wavfile.c:81:25: note: Function 'findchunk' argument 1 names different: declaration 's1' definition 'pstart'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wavfile.c:252:25: note: Function 'findchunk' argument 1 names different: declaration 's1' definition 'pstart'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wavfile.c:252:39: style:inconclusive: Function 'findchunk' argument 2 names different: declaration 's2' definition 'fourcc'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wavfile.c:81:35: note: Function 'findchunk' argument 2 names different: declaration 's2' definition 'fourcc'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wavfile.c:252:39: note: Function 'findchunk' argument 2 names different: declaration 's2' definition 'fourcc'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wavfile.c:252:39: style: Parameter 'fourcc' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wavfile.c:253:9: style: Variable 'pend' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/wpc_client.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable svrPID [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:79:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:105:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:153:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:313:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:362:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:407:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:439:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:470:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:492:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:506:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:529:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:549:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:563:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:585:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:605:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:619:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:641:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:663:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:677:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:699:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:719:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:734:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:750:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:770:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:786:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:810:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:834:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:858:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:882:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:909:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:947:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:968:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1026:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1042:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1060:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1074:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1089:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1103:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1117:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1132:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1148:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1164:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1185:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1205:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1225:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1248:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1272:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1295:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:156:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:307:40: style:inconclusive: Function 'on_cme__combo_enocder' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.h:51:40: note: Function 'on_cme__combo_enocder' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:307:40: note: Function 'on_cme__combo_enocder' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:354:38: style:inconclusive: Function 'on_cme__combo_scale' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.h:55:38: note: Function 'on_cme__combo_scale' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:354:38: note: Function 'on_cme__combo_scale' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:399:42: style:inconclusive: Function 'on_cme__combo_framerate' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.h:59:42: note: Function 'on_cme__combo_framerate' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:399:42: note: Function 'on_cme__combo_framerate' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:434:46: style:inconclusive: Function 'on_cme__combo_outsamplerate' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.h:63:46: note: Function 'on_cme__combo_outsamplerate' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:434:46: note: Function 'on_cme__combo_outsamplerate' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:465:41: style:inconclusive: Function 'on_cme__combo_vid_norm' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.h:67:41: note: Function 'on_cme__combo_vid_norm' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:465:41: note: Function 'on_cme__combo_vid_norm' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:784:18: style: Variable 'adj' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:808:18: style: Variable 'adj' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:832:18: style: Variable 'adj' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:856:18: style: Variable 'adj' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:880:18: style: Variable 'adj' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:966:18: style: Variable 'adj' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:1293:61: style: Parameter 'gpp' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_callbacks.c:177:14: style: Unused variable: label [unusedVariable] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:159:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable but_txt [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:187:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:218:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:268:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:413:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:616:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:668:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:783:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_RNGTYPE_FRAMES [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:882:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1058:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1135:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1174:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_RNGTYPE_STORYBOARD [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1208:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1238:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1323:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1400:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1430:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1658:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1715:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1895:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2006:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2175:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_DEFAULT [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2211:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_DEFAULT [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2248:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_DEFAULT [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2284:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_DEFAULT [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2329:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbox [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2415:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2462:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2564:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gimp_standard_help_func [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2739:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2797:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2942:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:3150:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:3291:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:3580:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:3894:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:4026:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:4201:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIMP_RUN_NONINTERACTIVE [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:4251:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:4291:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:4338:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2337:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2342:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2351:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2364:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2579:20: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2662:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:3219:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1625:1: error: Memory leak: l_playtime_info [memleak] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:4187:75: error: Null pointer dereference: l_tmpname [nullPointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:4167:16: note: Assignment 'l_tmpname=NULL', assigned value is 0 gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:4187:75: note: Null pointer dereference gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:178:60: style: Parameter 'gpp' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:249:21: style: Variable 'l_ret_params' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:734:24: style: Variable 'gstb' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:800:62: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1080:29: style: Variable 'gstb' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:1425:9: style: Variable 'l_playtime_info' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2737:52: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:925:19: style: Variable 'disp_samplerate' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2774:14: style: Unused variable: adj [unusedVariable] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2775:14: style: Unused variable: spinbutton [unusedVariable] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2776:14: style: Unused variable: combo [unusedVariable] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2777:14: style: Unused variable: button [unusedVariable] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:2778:14: style: Unused variable: entry [unusedVariable] gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_main.c:96:1: error: There is an unknown macro here somewhere. Configuration is required. If MAIN is a macro then please configure it. [unknownMacro] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:276:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:340:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:579:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:899:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1162:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1321:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1877:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1903:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable avi_errors [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:585:21: portability: Undefined behaviour, when 'nhb' is 2053 the pointer arithmetic 'AVI_header+nhb' is out of bounds. [pointerOutOfBoundsCond] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:583:4: note: Assuming that condition 'nhb<=2048-4' is not redundant gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:583:4: note: Compound assignment '+=', assigned value is 2049 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:584:4: note: Compound assignment '+=', assigned value is 2053 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:585:21: note: Pointer arithmetic overflow gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:873:21: portability: Undefined behaviour, when 'nhb' is 2065 the pointer arithmetic 'AVI_header+nhb' is out of bounds. [pointerOutOfBoundsCond] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:854:4: note: Assuming that condition 'nhb<=2048-4' is not redundant gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:854:4: note: Compound assignment '+=', assigned value is 2049 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:858:4: note: Compound assignment '+=', assigned value is 2053 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:859:4: note: Compound assignment '+=', assigned value is 2057 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:869:4: note: Compound assignment '+=', assigned value is 2061 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:870:4: note: Compound assignment '+=', assigned value is 2065 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:873:21: note: Pointer arithmetic overflow gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:874:21: portability: Undefined behaviour, when 'nhb' is 2065 the pointer arithmetic 'AVI_header+nhb' is out of bounds. [pointerOutOfBoundsCond] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:854:4: note: Assuming that condition 'nhb<=2048-4' is not redundant gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:854:4: note: Compound assignment '+=', assigned value is 2049 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:858:4: note: Compound assignment '+=', assigned value is 2053 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:859:4: note: Compound assignment '+=', assigned value is 2057 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:869:4: note: Compound assignment '+=', assigned value is 2061 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:870:4: note: Compound assignment '+=', assigned value is 2065 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:874:21: note: Pointer arithmetic overflow gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:905:21: portability: Undefined behaviour, when 'nhb' is 2053 the pointer arithmetic 'AVI_header+nhb' is out of bounds. [pointerOutOfBoundsCond] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:903:4: note: Assuming that condition 'nhb<=2048-4' is not redundant gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:903:4: note: Compound assignment '+=', assigned value is 2049 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:904:4: note: Compound assignment '+=', assigned value is 2053 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:905:21: note: Pointer arithmetic overflow gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:897:12: style: Condition 'njunk<=0' is always true [knownConditionTrueFalse] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:870:4: note: Assuming that condition 'nhb<=2048-4' is not redundant gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:870:4: note: Compound assignment '+=', assigned value is 2049 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:875:4: note: Compound assignment '+=', assigned value is 2113 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:891:34: note: Assignment 'njunk=2048-nhb-8-12', assigned value is less than -84 gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:897:12: note: Condition 'njunk<=0' is always true gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1840:10: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:103:13: style: Checking if unsigned expression 'n' is less than zero. [unsignedLessThanZero] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:118:13: style: Checking if unsigned expression 'n' is less than zero. [unsignedLessThanZero] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:144:15: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:145:15: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:146:15: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:111:40: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:152:47: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:156:48: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:177:53: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:209:59: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:308:73: style: Parameter 'compressor' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1076:30: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1083:31: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1100:32: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1545:30: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1549:29: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1553:30: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1557:30: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1561:35: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1566:33: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1571:29: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1621:38: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1626:38: style: Parameter 'AVI' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:1871:28: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:97:13: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/avilib.c:113:13: style: Variable 'n' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:321:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:358:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:396:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:455:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gimp_standard_help_func [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:1179:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:156:10: style: Condition 'epp==NULL' is always false [knownConditionTrueFalse] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:130:20: style: Variable 'epp' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:391:52: style: Parameter 'adj' can be declared as pointer to const. However it seems that 'on_gint32_spinbutton_changed' is a callback function, if 'adj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:813:9: note: You might need to cast the function pointer here gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:391:52: note: Parameter 'adj' can be declared as pointer to const gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:427:13: style: Unused variable: xvid_row [unusedVariable] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:435:14: style: Unused variable: frame_xvid [unusedVariable] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_gui.c:441:14: style: Unused variable: table_xvid [unusedVariable] gimp-gap-2.6.0+dfsg.orig/vid_enc_avi/gap_enc_avi_main.c:112:1: error: There is an unknown macro here somewhere. Configuration is required. If MAIN is a macro then please configure it. [unknownMacro] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:142:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:180:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:223:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:298:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:339:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:375:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:418:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:447:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:479:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:529:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:553:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:568:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:590:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:611:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:626:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:642:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:729:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_DEFAULT [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:771:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:786:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:810:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:824:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:838:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:852:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:291:41: style:inconclusive: Function 'on_ff_fileformat_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.h:70:41: note: Function 'on_ff_fileformat_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:291:41: note: Function 'on_ff_fileformat_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:332:40: style:inconclusive: Function 'on_ff_vid_codec_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.h:74:40: note: Function 'on_ff_vid_codec_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:332:40: note: Function 'on_ff_vid_codec_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:368:40: style:inconclusive: Function 'on_ff_aud_codec_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.h:78:40: note: Function 'on_ff_aud_codec_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:368:40: note: Function 'on_ff_aud_codec_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:410:42: style:inconclusive: Function 'on_ff_aud_bitrate_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.h:82:42: note: Function 'on_ff_aud_bitrate_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:410:42: note: Function 'on_ff_aud_bitrate_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:442:37: style:inconclusive: Function 'on_ff_gint32_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.h:86:37: note: Function 'on_ff_gint32_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:442:37: note: Function 'on_ff_gint32_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:473:38: style:inconclusive: Function 'on_ff_presets_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.h:92:38: note: Function 'on_ff_presets_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:473:38: note: Function 'on_ff_presets_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:523:37: style:inconclusive: Function 'on_ff_aspect_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.h:96:37: note: Function 'on_ff_aspect_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_callbacks.c:523:37: note: Function 'on_ff_aspect_combo' argument 1 names different: declaration 'wgt_item' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:151:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FF_CMP_SAD [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:187:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:276:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:350:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:569:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:618:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:804:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:1022:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:1051:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:1121:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_DEFAULT [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:1178:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:1618:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:2099:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:2505:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:2906:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:3319:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:3524:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:3761:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gimp_standard_help_func [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:3986:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gap_debug [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:532:25: error: Array 'l_ext_one[5]' accessed at index 77, which is out of bounds. [arrayIndexOutOfBounds] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:530:23: note: Assuming that condition 'l_iievl.current_vid_extension)-2' is not redundant gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:532:25: note: Array index out of bounds gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:3782:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:3855:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:4016:14: style: Condition 'gpp->val.run' is always false [knownConditionTrueFalse] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:4011:18: note: Assignment 'gpp->val.run=0', assigned value is 0 gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:4016:14: note: Condition 'gpp->val.run' is always false gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:767:8: style: Variable 'name' is reassigned a value before the old one has been used. [redundantAssignment] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:766:8: note: name is assigned gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:767:8: note: name is overwritten gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:768:8: style: Variable 'name' is reassigned a value before the old one has been used. [redundantAssignment] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:767:8: note: name is assigned gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:768:8: note: name is overwritten gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:613:71: style:inconclusive: Function 'p_init_combo_actual_nameidx' argument 2 names different: declaration 'wgt' definition 'widget'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:80:87: note: Function 'p_init_combo_actual_nameidx' argument 2 names different: declaration 'wgt' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:613:71: note: Function 'p_init_combo_actual_nameidx' argument 2 names different: declaration 'wgt' definition 'widget'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:424:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:613:112: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:663:92: style: Parameter 'gtab_ptr' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:688:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_gui.c:768:8: style: Variable 'name' is assigned a value that is never used. [unreadVariable] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_main.c:299:1: error: There is an unknown macro here somewhere. Configuration is required. If MAIN is a macro then please configure it. [unknownMacro] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_par.c:53:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_VAL_G32BOOLEAN [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_par.c:77:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAP_VAL_GINT32 [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_par.c:399:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_par.c:327:57: style:inconclusive: Function 'gap_ffpar_get' argument 2 names different: declaration 'ffpar_ptr' definition 'epp'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_par.h:34:63: note: Function 'gap_ffpar_get' argument 2 names different: declaration 'ffpar_ptr' definition 'epp'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_par.c:327:57: note: Function 'gap_ffpar_get' argument 2 names different: declaration 'ffpar_ptr' definition 'epp'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_par.c:368:57: style:inconclusive: Function 'gap_ffpar_set' argument 2 names different: declaration 'ffpar_ptr' definition 'epp'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_par.h:33:63: note: Function 'gap_ffpar_set' argument 2 names different: declaration 'ffpar_ptr' definition 'epp'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_par.c:368:57: note: Function 'gap_ffpar_set' argument 2 names different: declaration 'ffpar_ptr' definition 'epp'. gimp-gap-2.6.0+dfsg.orig/vid_enc_ffmpeg/gap_enc_ffmpeg_par.c:266:47: style: Parameter 'epp' can be declared as pointer to const [constParameterPointer] gimp-gap-2.6.0+dfsg.orig/vid_enc_rawframes/gap_enc_rawframes_main.c:116:1: error: There is an unknown macro here somewhere. Configuration is required. If MAIN is a macro then please configure it. [unknownMacro] gimp-gap-2.6.0+dfsg.orig/vid_enc_single/gap_enc_singleframes_main.c:113:1: error: There is an unknown macro here somewhere. Configuration is required. If MAIN is a macro then please configure it. [unknownMacro] diff: 2.20.0 gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:533:12: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:527:11: note: Assuming that condition 'fp==NULL' is not redundant gimp-gap-2.6.0+dfsg.orig/gap/gimplastvaldesc.c:533:12: note: Null pointer dereference head gimp-gap-2.6.0+dfsg.orig/libgapvidapi/gap_vid_api.c:1959:17: style: Variable 'dest_buffer' can be declared as pointer to const [constVariablePointer] head gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:255:38: style:inconclusive: Function 'tosvr_bits' argument 3 names different: declaration '' definition 'bits'. [funcArgNamesDifferentUnnamed] head gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:275:39: style:inconclusive: Function 'tosvr_start_sample' argument 2 names different: declaration 'eft' definition 'erf'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.h:59:50: note: Function 'tosvr_start_sample' argument 2 names different: declaration 'eft' definition 'erf'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:275:39: note: Function 'tosvr_start_sample' argument 2 names different: declaration 'eft' definition 'erf'. head gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:275:51: style:inconclusive: Function 'tosvr_start_sample' argument 3 names different: declaration '' definition 'sample'. [funcArgNamesDifferentUnnamed] head gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:294:50: style:inconclusive: Function 'tosvr_sampling_rate' argument 3 names different: declaration '' definition 'sampling_rate'. [funcArgNamesDifferentUnnamed] head gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:314:39: style:inconclusive: Function 'tosvr_chan' argument 3 names different: declaration '' definition 'chan'. [funcArgNamesDifferentUnnamed] head gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:41: style:inconclusive: Function 'tosvr_record' argument 3 names different: declaration '' definition 'Channels'. [funcArgNamesDifferentUnnamed] 2.20.0 gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:41: style:inconclusive: Function 'tosvr_record' argument 3 names different: declaration 'chan_mode' definition 'Channels'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.h:63:7: note: Function 'tosvr_record' argument 3 names different: declaration 'chan_mode' definition 'Channels'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:41: note: Function 'tosvr_record' argument 3 names different: declaration 'chan_mode' definition 'Channels'. head gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:57: style:inconclusive: Function 'tosvr_record' argument 4 names different: declaration '' definition 'SamplingRate'. [funcArgNamesDifferentUnnamed] 2.20.0 gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:57: style:inconclusive: Function 'tosvr_record' argument 4 names different: declaration 'sampling_rate' definition 'SamplingRate'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.h:63:24: note: Function 'tosvr_record' argument 4 names different: declaration 'sampling_rate' definition 'SamplingRate'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:57: note: Function 'tosvr_record' argument 4 names different: declaration 'sampling_rate' definition 'SamplingRate'. head gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:77: style:inconclusive: Function 'tosvr_record' argument 5 names different: declaration '' definition 'DataBits'. [funcArgNamesDifferentUnnamed] 2.20.0 gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:77: style:inconclusive: Function 'tosvr_record' argument 5 names different: declaration 'data_bits' definition 'DataBits'. [funcArgNamesDifferent] gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.h:63:45: note: Function 'tosvr_record' argument 5 names different: declaration 'data_bits' definition 'DataBits'. gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:334:77: note: Function 'tosvr_record' argument 5 names different: declaration 'data_bits' definition 'DataBits'. head gimp-gap-2.6.0+dfsg.orig/libwavplayclient/client.c:356:39: style:inconclusive: Function 'tosvr_debug' argument 3 names different: declaration '' definition 'bDebugMode'. [funcArgNamesDifferentUnnamed] 2.20.0 gimp-gap-2.6.0+dfsg.orig/vid_common/gap_cme_gui.c:4187:75: error: Null pointer dereference [nullPointer] DONE