2026-05-01 23:28 ftp://ftp.de.debian.org/debian/pool/main/f/frozen-bubble/frozen-bubble_2.212.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 49 47 elapsed-time: 0.7 0.6 head-timing-info: old-timing-info: head results: Games-FrozenBubble-2.212/server/game.c:259:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/game.c:298:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/game.c:326:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/game.c:358:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/game.c:382:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/game.c:399:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/game.c:460:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/game.c:821:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/game.c:892:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/game.c:524:21: style: Local variable 'nick' shadows outer variable [shadowVariable] Games-FrozenBubble-2.212/server/game.h:36:14: note: Shadowed declaration Games-FrozenBubble-2.212/server/game.c:524:21: note: Shadow variable Games-FrozenBubble-2.212/server/game.c:669:31: style: Local variable 'nick' shadows outer variable [shadowVariable] Games-FrozenBubble-2.212/server/game.h:36:14: note: Shadowed declaration Games-FrozenBubble-2.212/server/game.c:669:31: note: Shadow variable Games-FrozenBubble-2.212/server/game.c:110:15: style: Variable 'n' can be declared as pointer to const [constVariablePointer] Games-FrozenBubble-2.212/server/game.c:129:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'list_open_nicks_aux' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Games-FrozenBubble-2.212/server/game.c:182:38: note: You might need to cast the function pointer here Games-FrozenBubble-2.212/server/game.c:129:42: note: Parameter 'data' can be declared as pointer to const Games-FrozenBubble-2.212/server/game.c:131:15: style: Variable 'n' can be declared as pointer to const [constVariablePointer] Games-FrozenBubble-2.212/server/game.c:142:37: style: Parameter 'data' can be declared as pointer to const. However it seems that 'list_games_aux' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Games-FrozenBubble-2.212/server/game.c:184:31: note: You might need to cast the function pointer here Games-FrozenBubble-2.212/server/game.c:142:37: note: Parameter 'data' can be declared as pointer to const Games-FrozenBubble-2.212/server/game.c:155:23: style: Variable 'geo' can be declared as pointer to const [constVariablePointer] Games-FrozenBubble-2.212/server/game.c:253:37: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] Games-FrozenBubble-2.212/server/game.c:365:23: style: Variable 'g' can be declared as pointer to const [constVariablePointer] Games-FrozenBubble-2.212/server/game.c:415:47: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] Games-FrozenBubble-2.212/server/game.c:415:57: style: Parameter 'nick' can be declared as pointer to const [constParameterPointer] Games-FrozenBubble-2.212/server/game.c:439:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'talk_serverwide_aux' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Games-FrozenBubble-2.212/server/game.c:478:46: note: You might need to cast the function pointer here Games-FrozenBubble-2.212/server/game.c:439:42: note: Parameter 'data' can be declared as pointer to const Games-FrozenBubble-2.212/server/game.c:456:23: style: Variable 'g' can be declared as pointer to const [constVariablePointer] Games-FrozenBubble-2.212/server/game.c:484:23: style: Variable 'g' can be declared as pointer to const [constVariablePointer] Games-FrozenBubble-2.212/server/game.c:496:23: style: Variable 'g' can be declared as pointer to const [constVariablePointer] Games-FrozenBubble-2.212/server/game.c:551:29: style: Parameter 'nick' can be declared as pointer to const [constParameterPointer] Games-FrozenBubble-2.212/server/game.c:799:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'conn_to_terminate_helper' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Games-FrozenBubble-2.212/server/game.c:849:59: note: You might need to cast the function pointer here Games-FrozenBubble-2.212/server/game.c:799:47: note: Parameter 'data' can be declared as pointer to const Games-FrozenBubble-2.212/server/game.c:799:62: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'conn_to_terminate_helper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Games-FrozenBubble-2.212/server/game.c:849:59: note: You might need to cast the function pointer here Games-FrozenBubble-2.212/server/game.c:799:62: note: Parameter 'user_data' can be declared as pointer to const Games-FrozenBubble-2.212/server/game.c:804:38: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] Games-FrozenBubble-2.212/server/game.c:868:38: style: Parameter 'reason' can be declared as pointer to const [constParameterPointer] Games-FrozenBubble-2.212/server/log.c:71:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/log.c:97:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/log.c:62:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Games-FrozenBubble-2.212/server/log.c:58:17: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] Games-FrozenBubble-2.212/server/tools.c:76:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/tools.c:86:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/tools.c:96:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/tools.c:187:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/tools.c:212:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] Games-FrozenBubble-2.212/server/tools.c:262:39: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] Games-FrozenBubble-2.212/server/tools.c:76:17: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] Games-FrozenBubble-2.212/server/tools.c:86:17: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] Games-FrozenBubble-2.212/server/tools.c:141:82: style:inconclusive: Function 'g_list_fold_left' argument 4 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] Games-FrozenBubble-2.212/server/tools.c:159:61: style:inconclusive: Function 'g_list_any' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] Games-FrozenBubble-2.212/server/tools.c:92:21: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] Games-FrozenBubble-2.212/server/tools.c:102:21: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] Games-FrozenBubble-2.212/server/tools.c:125:28: style: Parameter 'elem' can be declared as pointer to const [constParameterPointer] Games-FrozenBubble-2.212/server/tools.c:168:32: style: Parameter 'data' can be declared as pointer to const. However it seems that 'close_fds' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Games-FrozenBubble-2.212/server/tools.c:226:46: note: You might need to cast the function pointer here Games-FrozenBubble-2.212/server/tools.c:168:32: note: Parameter 'data' can be declared as pointer to const Games-FrozenBubble-2.212/server/tools.c:168:47: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'close_fds' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Games-FrozenBubble-2.212/server/tools.c:226:46: note: You might need to cast the function pointer here Games-FrozenBubble-2.212/server/tools.c:168:47: note: Parameter 'user_data' can be declared as pointer to const Games-FrozenBubble-2.212/server/tools.c:262:32: style: Variable 'user' can be declared as pointer to const [constVariablePointer] diff: head Games-FrozenBubble-2.212/server/tools.c:141:82: style:inconclusive: Function 'g_list_fold_left' argument 4 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head Games-FrozenBubble-2.212/server/tools.c:159:61: style:inconclusive: Function 'g_list_any' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] DONE