2025-05-05 07:33 ftp://ftp.de.debian.org/debian/pool/main/k/kildclient/kildclient_3.2.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 422 456 elapsed-time: 2.4 2.5 head-timing-info: old-timing-info: head results: kildclient-3.2.3/src/aliases.c:67:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/ansitextview.c:203:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/ansitextview.c:711:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_UNDERLINE_SINGLE [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/ansiparse_thread.c:488:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/ansiparse_thread.c:617:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_UNDERLINE_SINGLE [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/ansiparse_thread.c:657:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_UNDERLINE_NONE [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/ansitextview.c:56:34: style:inconclusive: Function 'queue_ansiparse_operation' argument 1 names different: declaration 'gui' definition 'world'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1014:43: note: Function 'queue_ansiparse_operation' argument 1 names different: declaration 'gui' definition 'world'. kildclient-3.2.3/src/ansitextview.c:56:34: note: Function 'queue_ansiparse_operation' argument 1 names different: declaration 'gui' definition 'world'. kildclient-3.2.3/src/ansitextview.c:154:52: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/cmdhistory.c:356:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_HIGH [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/cmdhistory.c:456:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/ansitextview.c:103:1: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] kildclient-3.2.3/src/ansitextview.c:121:1: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] kildclient-3.2.3/src/cmdhistory.c:335:25: style: Local variable 'data' shadows outer argument [shadowArgument] kildclient-3.2.3/src/cmdhistory.c:299:54: note: Shadowed declaration kildclient-3.2.3/src/cmdhistory.c:335:25: note: Shadow variable kildclient-3.2.3/src/cmdhistory.c:392:12: style: Variable 'command' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/kcircularqueue.c:31:3: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] kildclient-3.2.3/src/kcircularqueue.c:30:48: note: Assuming allocation function fails kildclient-3.2.3/src/kcircularqueue.c:30:23: note: Assignment 'q=(struct KCircularQueue*)calloc(sizeof(struct KCircularQueue),1)', assigned value is 0 kildclient-3.2.3/src/kcircularqueue.c:31:3: note: Null pointer dereference kildclient-3.2.3/src/kcircularqueue.c:32:3: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] kildclient-3.2.3/src/kcircularqueue.c:30:48: note: Assuming allocation function fails kildclient-3.2.3/src/kcircularqueue.c:30:23: note: Assignment 'q=(struct KCircularQueue*)calloc(sizeof(struct KCircularQueue),1)', assigned value is 0 kildclient-3.2.3/src/kcircularqueue.c:32:3: note: Null pointer dereference kildclient-3.2.3/src/kcircularqueue.c:33:3: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] kildclient-3.2.3/src/kcircularqueue.c:30:48: note: Assuming allocation function fails kildclient-3.2.3/src/kcircularqueue.c:30:23: note: Assignment 'q=(struct KCircularQueue*)calloc(sizeof(struct KCircularQueue),1)', assigned value is 0 kildclient-3.2.3/src/kcircularqueue.c:33:3: note: Null pointer dereference kildclient-3.2.3/src/kcircularqueue.c:34:3: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] kildclient-3.2.3/src/kcircularqueue.c:30:48: note: Assuming allocation function fails kildclient-3.2.3/src/kcircularqueue.c:30:23: note: Assignment 'q=(struct KCircularQueue*)calloc(sizeof(struct KCircularQueue),1)', assigned value is 0 kildclient-3.2.3/src/kcircularqueue.c:34:3: note: Null pointer dereference kildclient-3.2.3/src/kcircularqueue.c:107:10: warning: If memory allocation fails, then there is a possible null pointer dereference: newdata [nullPointerOutOfMemory] kildclient-3.2.3/src/kcircularqueue.c:104:19: note: Assuming allocation function fails kildclient-3.2.3/src/kcircularqueue.c:104:19: note: Assignment 'newdata=malloc(q->el_size*new_size)', assigned value is 0 kildclient-3.2.3/src/kcircularqueue.c:107:10: note: Null pointer dereference kildclient-3.2.3/src/kcircularqueue.c:125:39: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/hooks.c:106:41: style:inconclusive: Function 'execute_hook' argument 2 names different: declaration 'hook' definition 'event'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1334:41: note: Function 'execute_hook' argument 2 names different: declaration 'hook' definition 'event'. kildclient-3.2.3/src/hooks.c:106:41: note: Function 'execute_hook' argument 2 names different: declaration 'hook' definition 'event'. kildclient-3.2.3/src/hooks.c:114:39: style:inconclusive: Function 'execute_hook_immediately' argument 2 names different: declaration 'hook' definition 'event'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1337:53: note: Function 'execute_hook_immediately' argument 2 names different: declaration 'hook' definition 'event'. kildclient-3.2.3/src/hooks.c:114:39: note: Function 'execute_hook_immediately' argument 2 names different: declaration 'hook' definition 'event'. kildclient-3.2.3/src/hooks.c:134:11: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/hooks.c:517:11: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/kcwin.c:62:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dMARK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/kcwin.c:93:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/kcwin.c:114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dMARK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/log.c:117:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/log.c:250:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/log.c:68:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] kildclient-3.2.3/src/log.c:71:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] kildclient-3.2.3/src/log.c:249:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] kildclient-3.2.3/src/log.c:114:45: style:inconclusive: Function 'start_log' argument 3 names different: declaration 'errormsg' definition 'errmsg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1369:54: note: Function 'start_log' argument 3 names different: declaration 'errormsg' definition 'errmsg'. kildclient-3.2.3/src/log.c:114:45: note: Function 'start_log' argument 3 names different: declaration 'errormsg' definition 'errmsg'. kildclient-3.2.3/src/log.c:52:56: style: Parameter 'line_time' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/log.c:65:16: style: Variable 'brokentime' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/log.c:217:59: style: Parameter 'curr_time' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/log.c:221:18: style: Variable 'brokentime' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/macros.c:62:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MODIFIER_MASK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/macros.c:52:11: style: Variable 'macro' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/main.c:112:29: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_VERSION is a macro then please configure it. [unknownMacro] kildclient-3.2.3/src/mainthread_operations.c:89:40: style:inconclusive: Function 'process_mainthread_operation' argument 1 names different: declaration 'world' definition 'gui'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1030:61: note: Function 'process_mainthread_operation' argument 1 names different: declaration 'world' definition 'gui'. kildclient-3.2.3/src/mainthread_operations.c:89:40: note: Function 'process_mainthread_operation' argument 1 names different: declaration 'world' definition 'gui'. kildclient-3.2.3/src/mainwindow.c:170:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSDATADIR [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/mainwindow.c:307:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/mainwindow.c:473:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/mainwindow.c:749:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CRT_X509 [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/mainwindow.c:841:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MANUALDIR [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/mainwindow.c:867:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/mainwindow.c:1031:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/mainwindow.c:1072:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/multilinesend.c:201:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_HIGH [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/mainwindow.c:766:41: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] kildclient-3.2.3/src/mainwindow.c:771:41: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] kildclient-3.2.3/src/mainwindow.c:457:41: style:inconclusive: Function 'notebook_page_reordered_cb' argument 2 names different: declaration 'page' definition 'widget'. [funcArgNamesDifferent] kildclient-3.2.3/src/mainwindow.c:85:66: note: Function 'notebook_page_reordered_cb' argument 2 names different: declaration 'page' definition 'widget'. kildclient-3.2.3/src/mainwindow.c:457:41: note: Function 'notebook_page_reordered_cb' argument 2 names different: declaration 'page' definition 'widget'. kildclient-3.2.3/src/mainwindow.c:458:41: style:inconclusive: Function 'notebook_page_reordered_cb' argument 3 names different: declaration 'page_num' definition 'new_pos'. [funcArgNamesDifferent] kildclient-3.2.3/src/mainwindow.c:86:66: note: Function 'notebook_page_reordered_cb' argument 3 names different: declaration 'page_num' definition 'new_pos'. kildclient-3.2.3/src/mainwindow.c:458:41: note: Function 'notebook_page_reordered_cb' argument 3 names different: declaration 'page_num' definition 'new_pos'. kildclient-3.2.3/src/mainwindow.c:521:29: style:inconclusive: Function 'open_new_world' argument 2 names different: declaration 'cmdline' definition 'cmdline_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:955:40: note: Function 'open_new_world' argument 2 names different: declaration 'cmdline' definition 'cmdline_arg'. kildclient-3.2.3/src/mainwindow.c:521:29: note: Function 'open_new_world' argument 2 names different: declaration 'cmdline' definition 'cmdline_arg'. kildclient-3.2.3/src/mainwindow.c:312:20: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/mainwindow.c:312:38: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/mainwindow.c:312:54: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/mainwindow.c:1345:27: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/net.c:98:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_CLIENT [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:218:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:278:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:394:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:513:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_OUT [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:535:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_E_SUCCESS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:638:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_HUP [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:721:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:775:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_SHUT_RDWR [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:840:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:1033:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:1125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/net.c:1187:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/ansiparse_thread.c:788:22: warning: Either the condition 'x256idx<=15' is redundant or the array 'xterm256color[6]' is accessed at index 255, which is out of bounds. [arrayIndexOutOfBoundsCond] kildclient-3.2.3/src/ansiparse_thread.c:768:15: note: Assuming that condition 'x256idx<=15' is not redundant kildclient-3.2.3/src/ansiparse_thread.c:779:5: note: Compound assignment '-=', assigned value is -1 kildclient-3.2.3/src/ansiparse_thread.c:781:5: note: Compound assignment '%=', assigned value is -1 kildclient-3.2.3/src/ansiparse_thread.c:783:5: note: Compound assignment '%=', assigned value is -1 kildclient-3.2.3/src/ansiparse_thread.c:784:10: note: Assignment 'bi=x256idx', assigned value is 255 kildclient-3.2.3/src/ansiparse_thread.c:788:22: note: Array index out of bounds kildclient-3.2.3/src/ansiparse_thread.c:369:13: style: Array index 'original_pos' is used before limits check. [arrayIndexThenCheck] kildclient-3.2.3/src/ansiparse_thread.c:437:21: style: Variable 'text_buffer_pos' is assigned a value that is never used. [unreadVariable] kildclient-3.2.3/src/parser.c:245:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_EVAL [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/parser.c:161:36: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/net.c:207:1: error: Memory leak: resolve_data [memleak] kildclient-3.2.3/src/net.c:1127:5: error: Memory leak: locale_cmd [memleak] kildclient-3.2.3/src/net.c:1189:7: error: Memory leak: locale_command [memleak] kildclient-3.2.3/src/net.c:255:12: style: Local variable 'msg' shadows outer variable [shadowVariable] kildclient-3.2.3/src/net.c:236:10: note: Shadowed declaration kildclient-3.2.3/src/net.c:255:12: note: Shadow variable kildclient-3.2.3/src/net.c:554:18: style: Local variable 'cond' shadows outer argument [shadowArgument] kildclient-3.2.3/src/net.c:527:32: note: Shadowed declaration kildclient-3.2.3/src/net.c:554:18: note: Shadow variable kildclient-3.2.3/src/net.c:814:19: style: Variable 'nlptr' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/net.c:1298:21: portability: 'iac_pos' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] kildclient-3.2.3/src/net.c:204:21: style: Variable 'resolver_thread' is allocated memory that is never used. [unusedAllocatedMemory] kildclient-3.2.3/src/permanentvariables.c:49:33: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/permanentvariables.c:66:20: style: Variable 'varname' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/plugins.c:95:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ARRAY [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/plugins.c:124:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/plugins.c:154:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ARRAY [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:248:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:319:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:364:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:439:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:514:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SVt_PVHV [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:539:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:554:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:569:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dMARK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:581:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dMARK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:593:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dMARK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:609:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:628:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:651:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:673:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dMARK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:688:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dMARK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:703:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:720:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:743:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:782:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:815:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:855:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:877:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:896:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:915:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:949:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:965:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:981:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1001:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1024:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1041:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1060:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1089:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1219:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1240:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1258:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1282:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1340:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1386:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1406:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1428:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1456:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1739:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1807:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1830:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1865:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:1929:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2004:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2192:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2245:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2290:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2314:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2338:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2367:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2556:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2599:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2623:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2655:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2843:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2888:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2912:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2939:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:2993:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3038:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3068:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3103:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3206:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3236:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3259:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3280:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3325:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3348:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3411:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3530:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3558:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3587:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3617:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:3636:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSUB_SYS [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/prefs.c:497:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/process_line_thread.c:332:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/process_line_thread.c:431:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/process_line_thread.c:198:27: style:inconclusive: Function 'match_triggers' argument 3 names different: declaration 'color_line' definition 'colorline'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1002:36: note: Function 'match_triggers' argument 3 names different: declaration 'color_line' definition 'colorline'. kildclient-3.2.3/src/process_line_thread.c:198:27: note: Function 'match_triggers' argument 3 names different: declaration 'color_line' definition 'colorline'. kildclient-3.2.3/src/proxy.c:221:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/proxy.c:267:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_HUP [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/proxy.c:377:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_HUP [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/proxy.c:681:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_HUP [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:198:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable simo_combo_box_init [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:236:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_FIRST [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:331:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:380:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:434:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_HAND2 [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:526:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:885:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:903:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:921:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:1285:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/simocombobox.c:1379:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Return [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/proxy.c:227:3: error: Memory leak: resolve_data [memleak] kildclient-3.2.3/src/proxy.c:725:48: warning: Either the condition 'code_start==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] kildclient-3.2.3/src/proxy.c:720:18: note: Assuming that condition 'code_start==NULL' is not redundant kildclient-3.2.3/src/proxy.c:725:48: note: Null pointer addition kildclient-3.2.3/src/proxy.c:188:14: style: Local variable 'msg' shadows outer variable [shadowVariable] kildclient-3.2.3/src/proxy.c:179:10: note: Shadowed declaration kildclient-3.2.3/src/proxy.c:188:14: note: Shadow variable kildclient-3.2.3/src/proxy.c:284:13: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/proxy.c:499:12: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/proxy.c:719:10: style: Variable 'code_start' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/proxy.c:740:41: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/proxy.c:223:21: style: Variable 'resolver_thread' is allocated memory that is never used. [unusedAllocatedMemory] kildclient-3.2.3/src/simocombobox.c:546:41: style:inconclusive: Function 'simo_combo_box_get_property' argument 2 names different: declaration 'param_id' definition 'prop_id'. [funcArgNamesDifferent] kildclient-3.2.3/src/simocombobox.c:113:57: note: Function 'simo_combo_box_get_property' argument 2 names different: declaration 'param_id' definition 'prop_id'. kildclient-3.2.3/src/simocombobox.c:546:41: note: Function 'simo_combo_box_get_property' argument 2 names different: declaration 'param_id' definition 'prop_id'. kildclient-3.2.3/src/simocombobox.c:571:43: style:inconclusive: Function 'simo_combo_box_set_property' argument 2 names different: declaration 'param_id' definition 'prop_id'. [funcArgNamesDifferent] kildclient-3.2.3/src/simocombobox.c:117:59: note: Function 'simo_combo_box_set_property' argument 2 names different: declaration 'param_id' definition 'prop_id'. kildclient-3.2.3/src/simocombobox.c:571:43: note: Function 'simo_combo_box_set_property' argument 2 names different: declaration 'param_id' definition 'prop_id'. kildclient-3.2.3/src/simocombobox.c:1081:41: style:inconclusive: Function 'simo_combo_box_set_spell' argument 1 names different: declaration 'combo_box' definition 'combo'. [funcArgNamesDifferent] kildclient-3.2.3/src/simocombobox.h:125:61: note: Function 'simo_combo_box_set_spell' argument 1 names different: declaration 'combo_box' definition 'combo'. kildclient-3.2.3/src/simocombobox.c:1081:41: note: Function 'simo_combo_box_set_spell' argument 1 names different: declaration 'combo_box' definition 'combo'. kildclient-3.2.3/src/simocombobox.c:1199:49: style:inconclusive: Function 'simo_combo_box_row_activated' argument 2 names different: declaration 'arg1' definition 'path'. [funcArgNamesDifferent] kildclient-3.2.3/src/simocombobox.c:140:65: note: Function 'simo_combo_box_row_activated' argument 2 names different: declaration 'arg1' definition 'path'. kildclient-3.2.3/src/simocombobox.c:1199:49: note: Function 'simo_combo_box_row_activated' argument 2 names different: declaration 'arg1' definition 'path'. kildclient-3.2.3/src/simocombobox.c:1200:49: style:inconclusive: Function 'simo_combo_box_row_activated' argument 3 names different: declaration 'arg2' definition 'col'. [funcArgNamesDifferent] kildclient-3.2.3/src/simocombobox.c:141:65: note: Function 'simo_combo_box_row_activated' argument 3 names different: declaration 'arg2' definition 'col'. kildclient-3.2.3/src/simocombobox.c:1200:49: note: Function 'simo_combo_box_row_activated' argument 3 names different: declaration 'arg2' definition 'col'. kildclient-3.2.3/src/simocombobox.c:1259:54: style:inconclusive: Function 'simo_combo_box_treeview_motion_event' argument 3 names different: declaration 'combo_box' definition 'combo'. [funcArgNamesDifferent] kildclient-3.2.3/src/simocombobox.c:151:70: note: Function 'simo_combo_box_treeview_motion_event' argument 3 names different: declaration 'combo_box' definition 'combo'. kildclient-3.2.3/src/simocombobox.c:1259:54: note: Function 'simo_combo_box_treeview_motion_event' argument 3 names different: declaration 'combo_box' definition 'combo'. kildclient-3.2.3/src/simocombobox.c:548:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'simo_combo_box_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/simocombobox.c:224:40: note: You might need to cast the function pointer here kildclient-3.2.3/src/simocombobox.c:548:41: note: Parameter 'pspec' can be declared as pointer to const kildclient-3.2.3/src/simocombobox.c:1159:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'simo_combo_box_update_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/simocombobox.c:1480:40: note: You might need to cast the function pointer here kildclient-3.2.3/src/simocombobox.c:1159:47: note: Parameter 'event' can be declared as pointer to const kildclient-3.2.3/src/simocombobox.c:1282:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'simo_combo_box_key_release_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/simocombobox.c:451:3: note: You might need to cast the function pointer here kildclient-3.2.3/src/simocombobox.c:1282:48: note: Parameter 'event' can be declared as pointer to const kildclient-3.2.3/src/simocombobox.c:1296:44: style: Parameter 'event' can be declared as pointer to const. However it seems that 'simo_combo_box_arrow_up_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/simocombobox.c:402:3: note: You might need to cast the function pointer here kildclient-3.2.3/src/simocombobox.c:1296:44: note: Parameter 'event' can be declared as pointer to const kildclient-3.2.3/src/simocombobox.c:1321:46: style: Parameter 'event' can be declared as pointer to const. However it seems that 'simo_combo_box_arrow_down_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/simocombobox.c:410:3: note: You might need to cast the function pointer here kildclient-3.2.3/src/simocombobox.c:1321:46: note: Parameter 'event' can be declared as pointer to const kildclient-3.2.3/src/simocombobox.c:1376:49: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'simo_combo_box_txtview_keypress_cb' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/simocombobox.c:364:3: note: You might need to cast the function pointer here kildclient-3.2.3/src/simocombobox.c:1376:49: note: Parameter 'evt' can be declared as pointer to const kildclient-3.2.3/src/perlscript.c:1605:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] kildclient-3.2.3/src/perlscript.c:1601:9: note: outer condition: i==-1 kildclient-3.2.3/src/perlscript.c:1605:13: note: identical inner condition: i==-1 kildclient-3.2.3/src/perlscript.c:1614:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] kildclient-3.2.3/src/perlscript.c:1601:9: note: outer condition: i==-1 kildclient-3.2.3/src/perlscript.c:1614:13: note: identical inner condition: i==-1 kildclient-3.2.3/src/perlscript.c:2132:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] kildclient-3.2.3/src/perlscript.c:2129:9: note: outer condition: i==-1 kildclient-3.2.3/src/perlscript.c:2132:13: note: identical inner condition: i==-1 kildclient-3.2.3/src/perlscript.c:2140:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] kildclient-3.2.3/src/perlscript.c:2129:9: note: outer condition: i==-1 kildclient-3.2.3/src/perlscript.c:2140:13: note: identical inner condition: i==-1 kildclient-3.2.3/src/perlscript.c:2508:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] kildclient-3.2.3/src/perlscript.c:2506:9: note: outer condition: i==-1 kildclient-3.2.3/src/perlscript.c:2508:11: note: identical inner condition: i==-1 kildclient-3.2.3/src/perlscript.c:2515:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] kildclient-3.2.3/src/perlscript.c:2513:9: note: outer condition: i==-1 kildclient-3.2.3/src/perlscript.c:2515:11: note: identical inner condition: i==-1 kildclient-3.2.3/src/perlscript.c:2754:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] kildclient-3.2.3/src/perlscript.c:2752:30: note: outer condition: i==-1 kildclient-3.2.3/src/perlscript.c:2754:11: note: identical inner condition: i==-1 kildclient-3.2.3/src/perlscript.c:2702:12: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2711:9: error: Memory pointed to by 'timer' is freed twice. [doubleFree] kildclient-3.2.3/src/perlscript.c:2692:7: note: Memory pointed to by 'timer' is freed twice. kildclient-3.2.3/src/perlscript.c:2711:9: note: Memory pointed to by 'timer' is freed twice. kildclient-3.2.3/src/perlscript.c:2724:9: error: Memory pointed to by 'timer' is freed twice. [doubleFree] kildclient-3.2.3/src/perlscript.c:2692:7: note: Memory pointed to by 'timer' is freed twice. kildclient-3.2.3/src/perlscript.c:2724:9: note: Memory pointed to by 'timer' is freed twice. kildclient-3.2.3/src/perlscript.c:2730:9: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2737:12: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2755:7: error: Memory pointed to by 'timer' is freed twice. [doubleFree] kildclient-3.2.3/src/perlscript.c:2692:7: note: Memory pointed to by 'timer' is freed twice. kildclient-3.2.3/src/perlscript.c:2755:7: note: Memory pointed to by 'timer' is freed twice. kildclient-3.2.3/src/perlscript.c:2762:7: error: Memory pointed to by 'timer' is freed twice. [doubleFree] kildclient-3.2.3/src/perlscript.c:2692:7: note: Memory pointed to by 'timer' is freed twice. kildclient-3.2.3/src/perlscript.c:2762:7: note: Memory pointed to by 'timer' is freed twice. kildclient-3.2.3/src/perlscript.c:2769:39: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2770:21: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2773:40: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2780:8: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2783:7: error: Memory pointed to by 'timer' is freed twice. [doubleFree] kildclient-3.2.3/src/perlscript.c:2692:7: note: Memory pointed to by 'timer' is freed twice. kildclient-3.2.3/src/perlscript.c:2783:7: note: Memory pointed to by 'timer' is freed twice. kildclient-3.2.3/src/perlscript.c:2794:9: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2795:23: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2796:17: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2799:42: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2805:7: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2805:25: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:2811:9: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/perlscript.c:1166:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mlcontext [nullPointerOutOfMemory] kildclient-3.2.3/src/perlscript.c:1165:21: note: Assuming allocation function fails kildclient-3.2.3/src/perlscript.c:1165:21: note: Assignment 'mlcontext=calloc(1,sizeof(struct MLSendData))', assigned value is 0 kildclient-3.2.3/src/perlscript.c:1166:3: note: Null pointer dereference kildclient-3.2.3/src/perlscript.c:1167:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mlcontext [nullPointerOutOfMemory] kildclient-3.2.3/src/perlscript.c:1165:21: note: Assuming allocation function fails kildclient-3.2.3/src/perlscript.c:1165:21: note: Assignment 'mlcontext=calloc(1,sizeof(struct MLSendData))', assigned value is 0 kildclient-3.2.3/src/perlscript.c:1167:3: note: Null pointer dereference kildclient-3.2.3/src/perlscript.c:2468:20: style: Variable 'have_key' is reassigned a value before the old one has been used. [redundantAssignment] kildclient-3.2.3/src/perlscript.c:2460:22: note: have_key is assigned kildclient-3.2.3/src/perlscript.c:2468:20: note: have_key is overwritten kildclient-3.2.3/src/perlscript.c:388:24: style:inconclusive: Function 'perl_set_arg_array' argument 1 names different: declaration 'array' definition 'matches'. [funcArgNamesDifferent] kildclient-3.2.3/src/perlscript.h:145:30: note: Function 'perl_set_arg_array' argument 1 names different: declaration 'array' definition 'matches'. kildclient-3.2.3/src/perlscript.c:388:24: note: Function 'perl_set_arg_array' argument 1 names different: declaration 'array' definition 'matches'. kildclient-3.2.3/src/util.c:51:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/util.c:67:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_FONT_MASK_FAMILY [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/util.c:214:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/perlscript.c:567:28: style: Parameter 'perlcv' can be declared as pointer to const. However it seems that 'XS_getclientname' is a callback function, if 'perlcv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/perlscript.c:3646:26: note: You might need to cast the function pointer here kildclient-3.2.3/src/perlscript.c:567:28: note: Parameter 'perlcv' can be declared as pointer to const kildclient-3.2.3/src/perlscript.c:591:19: style: Parameter 'perlcv' can be declared as pointer to const. However it seems that 'XS_quit' is a callback function, if 'perlcv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/perlscript.c:3648:26: note: You might need to cast the function pointer here kildclient-3.2.3/src/perlscript.c:591:19: note: Parameter 'perlcv' can be declared as pointer to const kildclient-3.2.3/src/perlscript.c:608:3: style: Variable 'world' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:876:3: style: Variable 'world' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:1023:3: style: Variable 'world' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:1040:3: style: Variable 'world' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:1086:11: style: Variable 'word' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:1256:9: style: Variable 'input' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:1336:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:1403:11: style: Variable 'original' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:1927:18: style: Variable 'name_to_find' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:3036:12: style: Variable 'list' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:3066:11: style: Variable 'var' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:3094:9: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:3234:9: style: Variable 'hookname' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:3255:9: style: Variable 'hookname' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:3345:9: style: Variable 'line' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:3373:18: style: Variable 'tried_name' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/perlscript.c:759:10: error: Uninitialized variable: howmany [legacyUninitvar] kildclient-3.2.3/src/perlscript.c:798:7: error: Uninitialized variable: num [legacyUninitvar] kildclient-3.2.3/src/perlscript.c:830:8: error: Uninitialized variable: worldpos [legacyUninitvar] kildclient-3.2.3/src/we_advanced.c:419:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_advanced.c:440:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_advanced.c:218:28: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_colors.c:129:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRGBA [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_aliases.c:383:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_aliases.c:464:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_aliases.c:584:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_general.c:342:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_general.c:421:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_general.c:434:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_aliases.c:641:44: style:inconclusive: Function 'we_alias_update_alias' argument 2 names different: declaration 'alias' definition 'alias_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1182:55: note: Function 'we_alias_update_alias' argument 2 names different: declaration 'alias' definition 'alias_arg'. kildclient-3.2.3/src/we_aliases.c:641:44: note: Function 'we_alias_update_alias' argument 2 names different: declaration 'alias' definition 'alias_arg'. kildclient-3.2.3/src/we_aliases.c:688:44: style:inconclusive: Function 'we_alias_delete_alias' argument 2 names different: declaration 'alias' definition 'alias_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1184:55: note: Function 'we_alias_delete_alias' argument 2 names different: declaration 'alias' definition 'alias_arg'. kildclient-3.2.3/src/we_aliases.c:688:44: note: Function 'we_alias_delete_alias' argument 2 names different: declaration 'alias' definition 'alias_arg'. kildclient-3.2.3/src/we_aliases.c:581:40: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'we_alias_view_keypress_cb' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/we_aliases.c:92:3: note: You might need to cast the function pointer here kildclient-3.2.3/src/we_aliases.c:581:40: note: Parameter 'evt' can be declared as pointer to const kildclient-3.2.3/src/we_aliases.c:641:44: style: Parameter 'alias_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_aliases.c:688:44: style: Parameter 'alias_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_general.c:90:28: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_general.c:431:42: style: Parameter 'evt' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_generic_guied.c:113:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_generic_guied.c:377:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_generic_guied.c:966:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_hooks.c:550:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_hooks.c:629:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_hooks.c:711:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_input.c:177:28: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_generic_guied.c:605:14: style: Variable 'value' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/we_generic_guied.c:625:17: style: Variable 'value' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/we_generic_guied.c:761:13: style: Variable 'world' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/we_logging.c:246:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_hooks.c:793:61: style:inconclusive: Function 'we_hook_update_hook' argument 3 names different: declaration 'hook' definition 'hook_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1195:38: note: Function 'we_hook_update_hook' argument 3 names different: declaration 'hook' definition 'hook_arg'. kildclient-3.2.3/src/we_hooks.c:793:61: note: Function 'we_hook_update_hook' argument 3 names different: declaration 'hook' definition 'hook_arg'. kildclient-3.2.3/src/we_hooks.c:844:61: style:inconclusive: Function 'we_hook_delete_hook' argument 3 names different: declaration 'hook' definition 'hook_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1199:38: note: Function 'we_hook_delete_hook' argument 3 names different: declaration 'hook' definition 'hook_arg'. kildclient-3.2.3/src/we_hooks.c:844:61: note: Function 'we_hook_delete_hook' argument 3 names different: declaration 'hook' definition 'hook_arg'. kildclient-3.2.3/src/we_hooks.c:462:18: style: Variable 'event' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/we_hooks.c:505:12: style: Variable 'event' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/we_hooks.c:540:16: style: Variable 'event' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/we_hooks.c:588:12: style: Variable 'event' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/we_hooks.c:708:39: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'we_hook_view_keypress_cb' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/we_hooks.c:102:3: note: You might need to cast the function pointer here kildclient-3.2.3/src/we_hooks.c:708:39: note: Parameter 'evt' can be declared as pointer to const kildclient-3.2.3/src/we_hooks.c:742:13: style: Variable 'event' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/we_hooks.c:793:61: style: Parameter 'hook_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_hooks.c:844:61: style: Parameter 'hook_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_logging.c:47:51: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_macros.c:350:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_macros.c:428:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_macros.c:532:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_macros.c:589:44: style:inconclusive: Function 'we_macro_update_macro' argument 2 names different: declaration 'macro' definition 'macro_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1186:55: note: Function 'we_macro_update_macro' argument 2 names different: declaration 'macro' definition 'macro_arg'. kildclient-3.2.3/src/we_macros.c:589:44: note: Function 'we_macro_update_macro' argument 2 names different: declaration 'macro' definition 'macro_arg'. kildclient-3.2.3/src/we_macros.c:636:44: style:inconclusive: Function 'we_macro_delete_macro' argument 2 names different: declaration 'macro' definition 'macro_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1188:55: note: Function 'we_macro_delete_macro' argument 2 names different: declaration 'macro' definition 'macro_arg'. kildclient-3.2.3/src/we_macros.c:636:44: note: Function 'we_macro_delete_macro' argument 2 names different: declaration 'macro' definition 'macro_arg'. kildclient-3.2.3/src/we_macros.c:529:40: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'we_macro_view_keypress_cb' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/we_macros.c:95:3: note: You might need to cast the function pointer here kildclient-3.2.3/src/we_macros.c:529:40: note: Parameter 'evt' can be declared as pointer to const kildclient-3.2.3/src/we_macros.c:589:44: style: Parameter 'macro_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_macros.c:636:44: style: Parameter 'macro_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_plugins.c:185:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_plugins.c:268:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_plugins.c:443:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_plugins.c:494:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_mainwindow.c:248:34: style:inconclusive: Function 'wrap_changed_cb' argument 1 names different: declaration 'widget' definition 'button'. [funcArgNamesDifferent] kildclient-3.2.3/src/we_mainwindow.c:39:55: note: Function 'wrap_changed_cb' argument 1 names different: declaration 'widget' definition 'button'. kildclient-3.2.3/src/we_mainwindow.c:248:34: note: Function 'wrap_changed_cb' argument 1 names different: declaration 'widget' definition 'button'. kildclient-3.2.3/src/we_mainwindow.c:318:42: style:inconclusive: Function 'use_tooltips_changed_cb' argument 1 names different: declaration 'widget' definition 'button'. [funcArgNamesDifferent] kildclient-3.2.3/src/we_mainwindow.c:47:63: note: Function 'use_tooltips_changed_cb' argument 1 names different: declaration 'widget' definition 'button'. kildclient-3.2.3/src/we_mainwindow.c:318:42: note: Function 'use_tooltips_changed_cb' argument 1 names different: declaration 'widget' definition 'button'. kildclient-3.2.3/src/we_mainwindow.c:106:31: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_mainwindow.c:138:31: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_mainwindow.c:155:29: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_mainwindow.c:168:34: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_plugins.c:596:3: error: Memory leak: plugindir [memleak] kildclient-3.2.3/src/we_plugins.c:536:48: style:inconclusive: Function 'we_lplugin_update_plugin' argument 2 names different: declaration 'plugin' definition 'plugin_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1176:59: note: Function 'we_lplugin_update_plugin' argument 2 names different: declaration 'plugin' definition 'plugin_arg'. kildclient-3.2.3/src/we_plugins.c:536:48: note: Function 'we_lplugin_update_plugin' argument 2 names different: declaration 'plugin' definition 'plugin_arg'. kildclient-3.2.3/src/we_plugins.c:265:42: style: Parameter 'evt' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_plugins.c:536:48: style: Parameter 'plugin_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_protocols.c:52:30: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_timers.c:384:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_timers.c:466:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_timers.c:589:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_triggers.c:473:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_triggers.c:564:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_triggers.c:788:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_triggers.c:816:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_vars.c:275:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_vars.c:369:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_vars.c:431:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/we_timers.c:646:44: style:inconclusive: Function 'we_timer_update_timer' argument 2 names different: declaration 'timer' definition 'timer_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1190:55: note: Function 'we_timer_update_timer' argument 2 names different: declaration 'timer' definition 'timer_arg'. kildclient-3.2.3/src/we_timers.c:646:44: note: Function 'we_timer_update_timer' argument 2 names different: declaration 'timer' definition 'timer_arg'. kildclient-3.2.3/src/we_timers.c:693:44: style:inconclusive: Function 'we_timer_delete_timer' argument 2 names different: declaration 'timer' definition 'timer_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1192:55: note: Function 'we_timer_delete_timer' argument 2 names different: declaration 'timer' definition 'timer_arg'. kildclient-3.2.3/src/we_timers.c:693:44: note: Function 'we_timer_delete_timer' argument 2 names different: declaration 'timer' definition 'timer_arg'. kildclient-3.2.3/src/we_timers.c:586:40: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'we_timer_view_keypress_cb' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/we_timers.c:92:3: note: You might need to cast the function pointer here kildclient-3.2.3/src/we_timers.c:586:40: note: Parameter 'evt' can be declared as pointer to const kildclient-3.2.3/src/we_timers.c:646:44: style: Parameter 'timer_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_timers.c:693:44: style: Parameter 'timer_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_vars.c:537:46: style:inconclusive: Function 'we_var_delete_var' argument 2 names different: declaration 'var' definition 'var_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1204:57: note: Function 'we_var_delete_var' argument 2 names different: declaration 'var' definition 'var_arg'. kildclient-3.2.3/src/we_vars.c:537:46: note: Function 'we_var_delete_var' argument 2 names different: declaration 'var' definition 'var_arg'. kildclient-3.2.3/src/we_vars.c:428:38: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'we_var_view_keypress_cb' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/we_vars.c:92:3: note: You might need to cast the function pointer here kildclient-3.2.3/src/we_vars.c:428:38: note: Parameter 'evt' can be declared as pointer to const kildclient-3.2.3/src/we_triggers.c:873:50: style:inconclusive: Function 'we_trigger_update_trigger' argument 2 names different: declaration 'trigger' definition 'trigger_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1178:61: note: Function 'we_trigger_update_trigger' argument 2 names different: declaration 'trigger' definition 'trigger_arg'. kildclient-3.2.3/src/we_triggers.c:873:50: note: Function 'we_trigger_update_trigger' argument 2 names different: declaration 'trigger' definition 'trigger_arg'. kildclient-3.2.3/src/we_triggers.c:920:50: style:inconclusive: Function 'we_trigger_delete_trigger' argument 2 names different: declaration 'trigger' definition 'trigger_arg'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1180:61: note: Function 'we_trigger_delete_trigger' argument 2 names different: declaration 'trigger' definition 'trigger_arg'. kildclient-3.2.3/src/we_triggers.c:920:50: note: Function 'we_trigger_delete_trigger' argument 2 names different: declaration 'trigger' definition 'trigger_arg'. kildclient-3.2.3/src/we_triggers.c:813:42: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'we_trigger_view_keypress_cb' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/we_triggers.c:99:3: note: You might need to cast the function pointer here kildclient-3.2.3/src/we_triggers.c:813:42: note: Parameter 'evt' can be declared as pointer to const kildclient-3.2.3/src/we_triggers.c:873:50: style: Parameter 'trigger_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/we_triggers.c:920:50: style: Parameter 'trigger_arg' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/worldeditor.c:98:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldeditor.c:114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldeditor.c:187:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldeditor.c:450:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_START [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldeditor.c:329:39: error: Dereferencing 'panel' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/worldeditor.c:340:39: error: Dereferencing 'panel' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/worldeditor.c:351:39: error: Dereferencing 'panel' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/worldeditor.c:362:39: error: Dereferencing 'panel' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/worldeditor.c:373:39: error: Dereferencing 'panel' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/worldeditor.c:384:39: error: Dereferencing 'panel' after it is deallocated / released [deallocuse] kildclient-3.2.3/src/worldgui.c:141:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_HAND2 [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:660:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD1_MASK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:840:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_NORMALIZE_ALL [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:886:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:1073:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_SECONDARY [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:1111:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRIMARY [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:1146:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:1174:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_PRIMARY [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:1198:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_WIDGET [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:1225:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_TEXT [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:1266:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_WIDGET [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:1495:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldgui.c:1335:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] kildclient-3.2.3/src/worldgui.c:930:1: error: Memory leak: last_path [memleak] kildclient-3.2.3/src/worldgui.c:618:7: warning: Either the condition 'world' is redundant or there is possible null pointer dereference: world. [nullPointerRedundantCheck] kildclient-3.2.3/src/worldgui.c:607:7: note: Assuming that condition 'world' is not redundant kildclient-3.2.3/src/worldgui.c:618:7: note: Null pointer dereference kildclient-3.2.3/src/worldgui.c:807:48: style:inconclusive: Function 'completion_cell_data_function' argument 5 names different: declaration 'data' definition 'user_data'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:988:58: note: Function 'completion_cell_data_function' argument 5 names different: declaration 'data' definition 'user_data'. kildclient-3.2.3/src/worldgui.c:807:48: note: Function 'completion_cell_data_function' argument 5 names different: declaration 'data' definition 'user_data'. kildclient-3.2.3/src/worldgui.c:860:50: style:inconclusive: Function 'completion_match_selected_cb' argument 4 names different: declaration 'data' definition 'user_data'. [funcArgNamesDifferent] kildclient-3.2.3/src/worldgui.c:74:67: note: Function 'completion_match_selected_cb' argument 4 names different: declaration 'data' definition 'user_data'. kildclient-3.2.3/src/worldgui.c:860:50: note: Function 'completion_match_selected_cb' argument 4 names different: declaration 'data' definition 'user_data'. kildclient-3.2.3/src/worldgui.c:1239:39: style:inconclusive: Function 'worldgui_query_tooltip_cb' argument 2 names different: declaration 'x' definition 'win_x'. [funcArgNamesDifferent] kildclient-3.2.3/src/worldgui.c:91:56: note: Function 'worldgui_query_tooltip_cb' argument 2 names different: declaration 'x' definition 'win_x'. kildclient-3.2.3/src/worldgui.c:1239:39: note: Function 'worldgui_query_tooltip_cb' argument 2 names different: declaration 'x' definition 'win_x'. kildclient-3.2.3/src/worldgui.c:1240:39: style:inconclusive: Function 'worldgui_query_tooltip_cb' argument 3 names different: declaration 'y' definition 'win_y'. [funcArgNamesDifferent] kildclient-3.2.3/src/worldgui.c:92:56: note: Function 'worldgui_query_tooltip_cb' argument 3 names different: declaration 'y' definition 'win_y'. kildclient-3.2.3/src/worldgui.c:1240:39: note: Function 'worldgui_query_tooltip_cb' argument 3 names different: declaration 'y' definition 'win_y'. kildclient-3.2.3/src/worldgui.c:1298:40: style:inconclusive: Function 'worldgui_get_tooltip_text' argument 3 names different: declaration 'win_x' definition 'x'. [funcArgNamesDifferent] kildclient-3.2.3/src/worldgui.c:98:57: note: Function 'worldgui_get_tooltip_text' argument 3 names different: declaration 'win_x' definition 'x'. kildclient-3.2.3/src/worldgui.c:1298:40: note: Function 'worldgui_get_tooltip_text' argument 3 names different: declaration 'win_x' definition 'x'. kildclient-3.2.3/src/worldgui.c:1299:40: style:inconclusive: Function 'worldgui_get_tooltip_text' argument 4 names different: declaration 'win_y' definition 'y'. [funcArgNamesDifferent] kildclient-3.2.3/src/worldgui.c:99:57: note: Function 'worldgui_get_tooltip_text' argument 4 names different: declaration 'win_y' definition 'y'. kildclient-3.2.3/src/worldgui.c:1299:40: note: Function 'worldgui_get_tooltip_text' argument 4 names different: declaration 'win_y' definition 'y'. kildclient-3.2.3/src/worldgui.c:1313:16: style: Variable 'time_tmp' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worldgui.c:1492:37: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'search_box_keypress_cb' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] kildclient-3.2.3/src/worldgui.c:240:5: note: You might need to cast the function pointer here kildclient-3.2.3/src/worldgui.c:1492:37: note: Parameter 'evt' can be declared as pointer to const kildclient-3.2.3/src/worldselector.c:106:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldselector.c:195:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldselector.c:287:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_ERR [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldselector.c:354:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldselector.c:511:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_NO_AUTO_CAPTURE [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldselector.c:555:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_ERR [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldselector.c:651:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldselector.c:755:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldselector.c:793:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worlds.c:249:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRGBA [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worlds.c:332:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRGBA [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worlds.c:386:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRGBA [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worlds.c:829:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worlds.c:2019:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worlds.c:2408:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worlds.c:2470:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alpha [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worlds.c:2484:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] kildclient-3.2.3/src/worldselector.c:770:5: error: Mismatching allocation and deallocation: otherfile [mismatchAllocDealloc] kildclient-3.2.3/src/worldselector.c:762:17: note: Mismatching allocation and deallocation: otherfile kildclient-3.2.3/src/worldselector.c:770:5: note: Mismatching allocation and deallocation: otherfile kildclient-3.2.3/src/worldselector.c:763:12: warning: If memory allocation fails, then there is a possible null pointer dereference: otherfile [nullPointerOutOfMemory] kildclient-3.2.3/src/worldselector.c:762:23: note: Assuming allocation function fails kildclient-3.2.3/src/worldselector.c:762:23: note: Assignment 'otherfile=malloc(strlen(file)+5)', assigned value is 0 kildclient-3.2.3/src/worldselector.c:763:12: note: Null pointer dereference kildclient-3.2.3/src/worldselector.c:764:12: warning: If memory allocation fails, then there is a possible null pointer dereference: otherfile [nullPointerOutOfMemory] kildclient-3.2.3/src/worldselector.c:762:23: note: Assuming allocation function fails kildclient-3.2.3/src/worldselector.c:762:23: note: Assignment 'otherfile=malloc(strlen(file)+5)', assigned value is 0 kildclient-3.2.3/src/worldselector.c:764:12: note: Null pointer dereference kildclient-3.2.3/src/worldselector.c:765:12: warning: If memory allocation fails, then there is a possible null pointer dereference: otherfile [nullPointerOutOfMemory] kildclient-3.2.3/src/worldselector.c:762:23: note: Assuming allocation function fails kildclient-3.2.3/src/worldselector.c:762:23: note: Assignment 'otherfile=malloc(strlen(file)+5)', assigned value is 0 kildclient-3.2.3/src/worldselector.c:765:12: note: Null pointer dereference kildclient-3.2.3/src/worldselector.c:767:12: warning: If memory allocation fails, then there is a possible null pointer dereference: otherfile [nullPointerOutOfMemory] kildclient-3.2.3/src/worldselector.c:762:23: note: Assuming allocation function fails kildclient-3.2.3/src/worldselector.c:762:23: note: Assignment 'otherfile=malloc(strlen(file)+5)', assigned value is 0 kildclient-3.2.3/src/worldselector.c:767:12: note: Null pointer dereference kildclient-3.2.3/src/worldselector.c:768:12: warning: If memory allocation fails, then there is a possible null pointer dereference: otherfile [nullPointerOutOfMemory] kildclient-3.2.3/src/worldselector.c:762:23: note: Assuming allocation function fails kildclient-3.2.3/src/worldselector.c:762:23: note: Assignment 'otherfile=malloc(strlen(file)+5)', assigned value is 0 kildclient-3.2.3/src/worldselector.c:768:12: note: Null pointer dereference kildclient-3.2.3/src/worldselector.c:769:12: warning: If memory allocation fails, then there is a possible null pointer dereference: otherfile [nullPointerOutOfMemory] kildclient-3.2.3/src/worldselector.c:762:23: note: Assuming allocation function fails kildclient-3.2.3/src/worldselector.c:762:23: note: Assignment 'otherfile=malloc(strlen(file)+5)', assigned value is 0 kildclient-3.2.3/src/worldselector.c:769:12: note: Null pointer dereference kildclient-3.2.3/src/worlds.c:2435:3: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] kildclient-3.2.3/src/worlds.c:2442:37: style:inconclusive: Function 'kc_g_string_append_escaped' argument 1 names different: declaration 'str' definition 'gstr'. [funcArgNamesDifferent] kildclient-3.2.3/src/kildclient.h:1101:47: note: Function 'kc_g_string_append_escaped' argument 1 names different: declaration 'str' definition 'gstr'. kildclient-3.2.3/src/worlds.c:2442:37: note: Function 'kc_g_string_append_escaped' argument 1 names different: declaration 'str' definition 'gstr'. kildclient-3.2.3/src/worlds.c:2213:18: style: Local variable 'iter' shadows outer variable [shadowVariable] kildclient-3.2.3/src/worlds.c:2014:16: note: Shadowed declaration kildclient-3.2.3/src/worlds.c:2213:18: note: Shadow variable kildclient-3.2.3/src/worlds.c:637:45: style: Parameter 'plugin' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/worlds.c:646:14: style: Variable 'trigger' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:656:12: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:666:12: style: Variable 'macro' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:676:12: style: Variable 'timer' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:686:11: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:696:11: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:706:11: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:716:11: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:726:11: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:736:11: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:746:11: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:756:11: style: Variable 'hook' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:2313:13: style: Variable 'varptr' can be declared as pointer to const [constVariablePointer] kildclient-3.2.3/src/worlds.c:2481:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/worlds.c:2481:57: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] kildclient-3.2.3/src/worlds.c:2451:1: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] diff: 2.17.0 kildclient-3.2.3/src/mainwindow.c:1399:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/mainwindow.c:652:27: note: Assuming allocation function fails kildclient-3.2.3/src/mainwindow.c:652:27: note: Assignment 'timestr=g_string_new(NULL)', assigned value is 0 kildclient-3.2.3/src/mainwindow.c:653:21: note: Calling function 'format_hms_time', 1st argument 'timestr' value is 0 kildclient-3.2.3/src/mainwindow.c:1399:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/mainwindow.c:654:37: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] kildclient-3.2.3/src/mainwindow.c:652:27: note: Assuming allocation function fails kildclient-3.2.3/src/mainwindow.c:652:27: note: Assignment 'timestr=g_string_new(NULL)', assigned value is 0 kildclient-3.2.3/src/mainwindow.c:654:37: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/mainwindow.c:657:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] kildclient-3.2.3/src/mainwindow.c:652:27: note: Assuming allocation function fails kildclient-3.2.3/src/mainwindow.c:652:27: note: Assignment 'timestr=g_string_new(NULL)', assigned value is 0 kildclient-3.2.3/src/mainwindow.c:657:37: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/net.c:1267:40: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] kildclient-3.2.3/src/net.c:1255:30: note: Assuming allocation function fails kildclient-3.2.3/src/net.c:1255:30: note: Assignment 'command=g_strdup_printf("%s\r\n%s\r\n",character,password)', assigned value is 0 kildclient-3.2.3/src/net.c:1267:40: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/net.c:1288:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] kildclient-3.2.3/src/net.c:1255:30: note: Assuming allocation function fails kildclient-3.2.3/src/net.c:1255:30: note: Assignment 'command=g_strdup_printf("%s\r\n%s\r\n",character,password)', assigned value is 0 kildclient-3.2.3/src/net.c:1267:24: note: Calling function 'write_escaped', 2nd argument 'command' value is 0 kildclient-3.2.3/src/net.c:1288:20: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/perlscript.c:135:31: warning: If memory allocation fails, then there is a possible null pointer dereference: system_plugin_dir [nullPointerOutOfMemory] kildclient-3.2.3/src/perlscript.c:127:31: note: Assuming allocation function fails kildclient-3.2.3/src/perlscript.c:127:31: note: Assignment 'system_plugin_dir=g_strdup(get_kildclient_installed_file("plugins"))', assigned value is 0 kildclient-3.2.3/src/perlscript.c:135:31: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/perlscript.c:136:31: warning: If memory allocation fails, then there is a possible null pointer dereference: user_plugin_dir [nullPointerOutOfMemory] kildclient-3.2.3/src/perlscript.c:121:36: note: Assuming allocation function fails kildclient-3.2.3/src/perlscript.c:121:36: note: Assignment 'user_plugin_dir=g_strdup_printf("%s/plugins",get_kildclient_directory_path())', assigned value is 0 kildclient-3.2.3/src/perlscript.c:136:31: note: Null pointer dereference head kildclient-3.2.3/src/perlscript.c:2805:25: error: Dereferencing 'timer' after it is deallocated / released [deallocuse] head kildclient-3.2.3/src/perlscript.c:608:3: style: Variable 'world' can be declared as pointer to const [constVariablePointer] head kildclient-3.2.3/src/perlscript.c:876:3: style: Variable 'world' can be declared as pointer to const [constVariablePointer] 2.17.0 kildclient-3.2.3/src/permanentvariables.c:102:21: warning: If memory allocation fails, then there is a possible null pointer dereference: file_contents [nullPointerOutOfMemory] kildclient-3.2.3/src/permanentvariables.c:84:37: note: Assuming allocation function fails kildclient-3.2.3/src/permanentvariables.c:84:37: note: Assignment 'file_contents=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/permanentvariables.c:102:21: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/permanentvariables.c:112:28: warning: If memory allocation fails, then there is a possible null pointer dereference: file_contents [nullPointerOutOfMemory] kildclient-3.2.3/src/permanentvariables.c:84:37: note: Assuming allocation function fails kildclient-3.2.3/src/permanentvariables.c:84:37: note: Assignment 'file_contents=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/permanentvariables.c:112:28: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:309:14: warning: If memory allocation fails, then there is a possible null pointer dereference: filepath [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:307:29: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:307:29: note: Assignment 'filepath=g_strdup_printf("%s/kildclient.cfg",kilddir)', assigned value is 0 kildclient-3.2.3/src/prefs.c:309:14: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:447:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:447:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:449:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:449:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:452:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:452:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:453:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:453:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:455:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:455:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:457:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:457:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:461:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:461:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:464:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:464:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:467:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:467:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:470:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:470:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:476:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:476:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:478:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:478:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:479:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:479:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:480:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:480:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:481:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:481:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/prefs.c:482:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] kildclient-3.2.3/src/prefs.c:445:27: note: Assuming allocation function fails kildclient-3.2.3/src/prefs.c:445:27: note: Assignment 'str=g_string_sized_new(512)', assigned value is 0 kildclient-3.2.3/src/prefs.c:482:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/triggers.c:327:38: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] kildclient-3.2.3/src/triggers.c:326:22: note: Assuming allocation function fails kildclient-3.2.3/src/triggers.c:326:22: note: Assignment 'line=g_strdup(gtk_entry_get_text(txtLine))', assigned value is 0 kildclient-3.2.3/src/triggers.c:327:38: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/we_generic_guied.c:141:19: warning: If memory allocation fails, then there is a possible null pointer dereference: file_contents [nullPointerOutOfMemory] kildclient-3.2.3/src/we_generic_guied.c:138:37: note: Assuming allocation function fails kildclient-3.2.3/src/we_generic_guied.c:138:37: note: Assignment 'file_contents=g_string_sized_new(1024)', assigned value is 0 kildclient-3.2.3/src/we_generic_guied.c:141:19: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/worlds.c:2026:19: warning: If memory allocation fails, then there is a possible null pointer dereference: file_contents [nullPointerOutOfMemory] kildclient-3.2.3/src/worlds.c:2023:37: note: Assuming allocation function fails kildclient-3.2.3/src/worlds.c:2023:37: note: Assignment 'file_contents=g_string_sized_new(4096)', assigned value is 0 kildclient-3.2.3/src/worlds.c:2026:19: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/worlds.c:2046:26: warning: If memory allocation fails, then there is a possible null pointer dereference: file_contents [nullPointerOutOfMemory] kildclient-3.2.3/src/worlds.c:2023:37: note: Assuming allocation function fails kildclient-3.2.3/src/worlds.c:2023:37: note: Assignment 'file_contents=g_string_sized_new(4096)', assigned value is 0 kildclient-3.2.3/src/worlds.c:2046:26: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/worlds.c:2372:14: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] kildclient-3.2.3/src/worlds.c:2370:25: note: Assuming allocation function fails kildclient-3.2.3/src/worlds.c:2370:25: note: Assignment 'path=g_strdup_printf("%s.hst",world->file)', assigned value is 0 kildclient-3.2.3/src/worlds.c:2372:14: note: Null pointer dereference head kildclient-3.2.3/src/worlds.c:2435:3: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.17.0 kildclient-3.2.3/src/worlds.c:2449:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gstr [nullPointerOutOfMemory] kildclient-3.2.3/src/worlds.c:2023:37: note: Assuming allocation function fails kildclient-3.2.3/src/worlds.c:2023:37: note: Assignment 'file_contents=g_string_sized_new(4096)', assigned value is 0 kildclient-3.2.3/src/worlds.c:2042:30: note: Calling function 'kc_g_string_append_escaped', 1st argument 'file_contents' value is 0 kildclient-3.2.3/src/worlds.c:2449:19: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/worlds.c:465:3: error: Memory leak: ansi_op [memleak] 2.17.0 kildclient-3.2.3/src/worlds.c:465:3: error: Memory leak: process_line_op [memleak] 2.17.0 kildclient-3.2.3/src/worlds.c:825:14: warning: If memory allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfMemory] kildclient-3.2.3/src/worlds.c:370:40: note: Assuming allocation function fails kildclient-3.2.3/src/worlds.c:370:40: note: Assignment 'default_world_file=g_build_filename(kilddir,"defworld.cfg",NULL)', assigned value is 0 kildclient-3.2.3/src/worlds.c:371:29: note: Calling function 'load_world_from_file', 1st argument 'default_world_file' value is 0 kildclient-3.2.3/src/worlds.c:825:14: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/worlds.c:833:24: warning: If memory allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfMemory] kildclient-3.2.3/src/worlds.c:370:40: note: Assuming allocation function fails kildclient-3.2.3/src/worlds.c:370:40: note: Assignment 'default_world_file=g_build_filename(kilddir,"defworld.cfg",NULL)', assigned value is 0 kildclient-3.2.3/src/worlds.c:371:29: note: Calling function 'load_world_from_file', 1st argument 'default_world_file' value is 0 kildclient-3.2.3/src/worlds.c:826:7: note: Assuming condition is false kildclient-3.2.3/src/worlds.c:833:24: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/worldselector.c:287:12: warning: If memory allocation fails, then there is a possible null pointer dereference: globstr [nullPointerOutOfMemory] kildclient-3.2.3/src/worldselector.c:285:28: note: Assuming allocation function fails kildclient-3.2.3/src/worldselector.c:285:28: note: Assignment 'globstr=g_strdup_printf("%s/*.wrl",kilddir)', assigned value is 0 kildclient-3.2.3/src/worldselector.c:287:12: note: Null pointer dereference 2.17.0 kildclient-3.2.3/src/worldselector.c:555:12: warning: If memory allocation fails, then there is a possible null pointer dereference: globstr [nullPointerOutOfMemory] kildclient-3.2.3/src/worldselector.c:553:28: note: Assuming allocation function fails kildclient-3.2.3/src/worldselector.c:553:28: note: Assignment 'globstr=g_strdup_printf("%s/*.wrl",kilddir)', assigned value is 0 kildclient-3.2.3/src/worldselector.c:555:12: note: Null pointer dereference DONE