2026-06-01 10:05 ftp://ftp.de.debian.org/debian/pool/main/c/crossfire-client/crossfire-client_1.75.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=sdl --library=lua --library=libcurl --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-124-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 8c14fc7 (2026-05-31 09:56:45 +0200) count: 447 363 elapsed-time: 16.6 6.7 head-timing-info: old-timing-info: head results: crossfire-client-1.75.5/common/client.c:350:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] crossfire-client-1.75.5/common/client.c:468:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] crossfire-client-1.75.5/common/client.c:492:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] crossfire-client-1.75.5/common/client.c:212:48: warning: Either the condition '!err' is redundant or there is possible null pointer dereference: err. [nullPointerRedundantCheck] crossfire-client-1.75.5/common/client.c:211:13: note: Assuming that condition '!err' is not redundant crossfire-client-1.75.5/common/client.c:212:48: note: Null pointer dereference crossfire-client-1.75.5/common/client.c:186:23: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/client.c:308:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] crossfire-client-1.75.5/common/client.c:308:19: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] crossfire-client-1.75.5/common/commands.c:213:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/common/commands.c:455:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] crossfire-client-1.75.5/common/commands.c:1174:15: warning: Either the condition 'anum>2000' is redundant or the array 'animations[2000]' is accessed at index 2000, which is out of bounds. [arrayIndexOutOfBoundsCond] crossfire-client-1.75.5/common/commands.c:1169:26: note: Assuming that condition 'anum>2000' is not redundant crossfire-client-1.75.5/common/commands.c:1174:15: note: Array index out of bounds crossfire-client-1.75.5/common/commands.c:1175:15: warning: Either the condition 'anum>2000' is redundant or the array 'animations[2000]' is accessed at index 2000, which is out of bounds. [arrayIndexOutOfBoundsCond] crossfire-client-1.75.5/common/commands.c:1169:26: note: Assuming that condition 'anum>2000' is not redundant crossfire-client-1.75.5/common/commands.c:1175:15: note: Array index out of bounds crossfire-client-1.75.5/common/commands.c:1176:19: warning: Either the condition 'anum>2000' is redundant or the array 'animations[2000]' is accessed at index 2000, which is out of bounds. [arrayIndexOutOfBoundsCond] crossfire-client-1.75.5/common/commands.c:1169:26: note: Assuming that condition 'anum>2000' is not redundant crossfire-client-1.75.5/common/commands.c:1176:19: note: Array index out of bounds crossfire-client-1.75.5/common/commands.c:1859:16: error: Array 'buf[1]' accessed at index 1, which is out of bounds. [arrayIndexOutOfBounds] crossfire-client-1.75.5/common/commands.c:1858:32: note: Assuming that condition 'i>0' is not redundant crossfire-client-1.75.5/common/commands.c:1859:16: note: Array index out of bounds crossfire-client-1.75.5/common/commands.c:498:13: style: Condition 'nl' is always true [knownConditionTrueFalse] crossfire-client-1.75.5/common/commands.c:2371:9: warning: %hd in format string (no. 1) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] crossfire-client-1.75.5/common/commands.c:2371:9: warning: %hd in format string (no. 2) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] crossfire-client-1.75.5/common/commands.c:2371:9: warning: %hd in format string (no. 3) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] crossfire-client-1.75.5/common/commands.c:2371:9: warning: %hd in format string (no. 4) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] crossfire-client-1.75.5/common/commands.c:1890:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1890:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1892:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1892:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1894:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1894:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1896:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1896:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1898:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1898:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1900:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1900:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1902:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1902:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1904:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1904:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1906:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1906:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1910:17: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1910:17: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1912:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1912:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1915:17: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1915:17: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1917:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1917:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1918:16: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1918:16: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1944:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1944:9: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:1944:39: warning: If memory allocation fails, then there is a possible null pointer dereference: newspell [nullPointerOutOfMemory] crossfire-client-1.75.5/common/commands.c:1886:26: note: Assuming allocation function fails crossfire-client-1.75.5/common/commands.c:1886:26: note: Assignment 'newspell=calloc(1,sizeof(struct Spell))', assigned value is 0 crossfire-client-1.75.5/common/commands.c:1944:39: note: Null pointer dereference crossfire-client-1.75.5/common/commands.c:2160:30: style: Local variable 'len' shadows outer argument [shadowArgument] crossfire-client-1.75.5/common/commands.c:2082:39: note: Shadowed argument crossfire-client-1.75.5/common/commands.c:2160:30: note: Shadow local variable crossfire-client-1.75.5/common/commands.c:2219:25: style: Local variable 'len' shadows outer argument [shadowArgument] crossfire-client-1.75.5/common/commands.c:2082:39: note: Shadowed argument crossfire-client-1.75.5/common/commands.c:2219:25: note: Shadow local variable crossfire-client-1.75.5/common/commands.c:172:50: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:967:24: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/commands.c:1163:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:1208:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:1231:11: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/commands.c:1276:18: style: Variable 'current' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/commands.c:1369:30: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:1630:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:1678:30: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:1728:35: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:1812:32: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:1838:37: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:1879:33: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:1964:33: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:2002:33: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:2082:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:2238:11: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/commands.c:2265:30: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:2267:16: style: Variable 'dx' can be declared as const array [constVariable] crossfire-client-1.75.5/common/commands.c:2268:16: style: Variable 'dy' can be declared as const array [constVariable] crossfire-client-1.75.5/common/commands.c:2367:20: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/commands.c:2418:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:2429:22: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:2443:24: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/commands.c:1796:13: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] crossfire-client-1.75.5/common/commands.c:2158:36: style: Variable 'lenp2' is assigned a value that is never used. [unreadVariable] crossfire-client-1.75.5/common/image.c:103:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/common/image.c:375:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_DATADIR [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/common/image.c:463:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_DATADIR [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/common/image.c:751:31: warning: Either the condition 'onset>=20' is redundant or the array 'face_info.facesets[20]' is accessed at index 20, which is out of bounds. [arrayIndexOutOfBoundsCond] crossfire-client-1.75.5/common/image.c:747:23: note: Assuming that condition 'onset>=20' is not redundant crossfire-client-1.75.5/common/image.c:751:31: note: Array index out of bounds crossfire-client-1.75.5/common/image.c:752:31: warning: Either the condition 'onset>=20' is redundant or the array 'face_info.facesets[20]' is accessed at index 20, which is out of bounds. [arrayIndexOutOfBoundsCond] crossfire-client-1.75.5/common/image.c:747:23: note: Assuming that condition 'onset>=20' is not redundant crossfire-client-1.75.5/common/image.c:752:31: note: Array index out of bounds crossfire-client-1.75.5/common/image.c:753:31: warning: Either the condition 'onset>=20' is redundant or the array 'face_info.facesets[20]' is accessed at index 20, which is out of bounds. [arrayIndexOutOfBoundsCond] crossfire-client-1.75.5/common/image.c:747:23: note: Assuming that condition 'onset>=20' is not redundant crossfire-client-1.75.5/common/image.c:753:31: note: Array index out of bounds crossfire-client-1.75.5/common/image.c:754:31: warning: Either the condition 'onset>=20' is redundant or the array 'face_info.facesets[20]' is accessed at index 20, which is out of bounds. [arrayIndexOutOfBoundsCond] crossfire-client-1.75.5/common/image.c:747:23: note: Assuming that condition 'onset>=20' is not redundant crossfire-client-1.75.5/common/image.c:754:31: note: Array index out of bounds crossfire-client-1.75.5/common/image.c:755:31: warning: Either the condition 'onset>=20' is redundant or the array 'face_info.facesets[20]' is accessed at index 20, which is out of bounds. [arrayIndexOutOfBoundsCond] crossfire-client-1.75.5/common/image.c:747:23: note: Assuming that condition 'onset>=20' is not redundant crossfire-client-1.75.5/common/image.c:755:31: note: Array index out of bounds crossfire-client-1.75.5/common/image.c:756:31: warning: Either the condition 'onset>=20' is redundant or the array 'face_info.facesets[20]' is accessed at index 20, which is out of bounds. [arrayIndexOutOfBoundsCond] crossfire-client-1.75.5/common/image.c:747:23: note: Assuming that condition 'onset>=20' is not redundant crossfire-client-1.75.5/common/image.c:756:31: note: Array index out of bounds crossfire-client-1.75.5/common/image.c:735:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] crossfire-client-1.75.5/common/image.c:739:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] crossfire-client-1.75.5/common/image.c:348:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] crossfire-client-1.75.5/common/image.c:66:15: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/image.c:190:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/image.c:570:44: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/image.c:708:15: style: Variable 'onset' is assigned a value that is never used. [unreadVariable] crossfire-client-1.75.5/common/item.c:643:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/item.c:730:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/item.c:530:26: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/item.c:548:26: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/item.c:720:30: style: Parameter 'it' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/item.c:725:36: style: Parameter 'scroll' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/item.c:725:51: style: Parameter 'spell' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/mapdata.c:201:30: style: Condition 'mapdata_cell(px,py)==EMPTY' is always false [knownConditionTrueFalse] crossfire-client-1.75.5/common/mapdata.c:585:60: style: Argument 'width' shadows outer variable [shadowVariable] crossfire-client-1.75.5/common/mapdata.c:100:12: note: Shadowed variable crossfire-client-1.75.5/common/mapdata.c:585:60: note: Shadow argument crossfire-client-1.75.5/common/mapdata.c:585:77: style: Argument 'height' shadows outer variable [shadowVariable] crossfire-client-1.75.5/common/mapdata.c:101:12: note: Shadowed variable crossfire-client-1.75.5/common/mapdata.c:585:77: note: Shadow argument crossfire-client-1.75.5/common/mapdata.c:1091:19: style: Local variable 'width' shadows outer variable [shadowVariable] crossfire-client-1.75.5/common/mapdata.c:100:12: note: Shadowed variable crossfire-client-1.75.5/common/mapdata.c:1091:19: note: Shadow local variable crossfire-client-1.75.5/common/mapdata.c:1091:41: style: Local variable 'height' shadows outer variable [shadowVariable] crossfire-client-1.75.5/common/mapdata.c:101:12: note: Shadowed variable crossfire-client-1.75.5/common/mapdata.c:1091:41: note: Shadow local variable crossfire-client-1.75.5/common/mapdata.c:1096:19: style: Local variable 'width' shadows outer variable [shadowVariable] crossfire-client-1.75.5/common/mapdata.c:100:12: note: Shadowed variable crossfire-client-1.75.5/common/mapdata.c:1096:19: note: Shadow local variable crossfire-client-1.75.5/common/mapdata.c:1096:45: style: Local variable 'height' shadows outer variable [shadowVariable] crossfire-client-1.75.5/common/mapdata.c:101:12: note: Shadowed variable crossfire-client-1.75.5/common/mapdata.c:1096:45: note: Shadow local variable crossfire-client-1.75.5/common/mapdata.c:566:26: style: Variable 'head' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/mapdata.c:712:21: style: Variable 'cell' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/mapdata.c:780:16: style: Variable 'dx' can be declared as const array [constVariable] crossfire-client-1.75.5/common/mapdata.c:781:16: style: Variable 'dy' can be declared as const array [constVariable] crossfire-client-1.75.5/common/mapdata.c:964:25: style: Variable 'cell' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/mapdata.c:1088:26: style: Variable 'head' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/mapdata.c:1089:30: style: Variable 'tail' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/mapdata.c:1095:30: style: Variable 'head_ptr' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/mapdata.c:907:9: style: Unused variable: i [unusedVariable] crossfire-client-1.75.5/common/metaserver.c:167:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/common/metaserver.c:269:27: style:inconclusive: Function 'ms_fetch' argument 1 names different: declaration '' definition 'callback'. [funcArgNamesDifferentUnnamed] crossfire-client-1.75.5/common/metaserver.c:55:32: style: Parameter 'contents' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/metaserver.c:85:41: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/misc.c:126:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/common/misc.c:87:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/newsocket.c:251:40: style:inconclusive: Function 'cs_print_string' argument 1 names different: declaration 'c' definition 'fd'. [funcArgNamesDifferent] crossfire-client-1.75.5/common/proto.h:88:40: note: Function 'cs_print_string' argument 1 names different: declaration 'c' definition 'fd'. crossfire-client-1.75.5/common/newsocket.c:251:40: note: Function 'cs_print_string' argument 1 names different: declaration 'c' definition 'fd'. crossfire-client-1.75.5/common/p_cmd.c:578:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] crossfire-client-1.75.5/common/p_cmd.c:585:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] crossfire-client-1.75.5/common/p_cmd.c:630:43: style:inconclusive: Function 'complete_command' argument 1 names different: declaration 'ocommand' definition 'command'. [funcArgNamesDifferent] crossfire-client-1.75.5/common/p_cmd.h:89:51: note: Function 'complete_command' argument 1 names different: declaration 'ocommand' definition 'command'. crossfire-client-1.75.5/common/p_cmd.c:630:43: note: Function 'complete_command' argument 1 names different: declaration 'ocommand' definition 'command'. crossfire-client-1.75.5/common/p_cmd.c:55:25: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/p_cmd.c:402:22: style: Variable 'a' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/p_cmd.c:403:22: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/p_cmd.c:413:22: style: Variable 'a' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/p_cmd.c:414:22: style: Variable 'b' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/p_cmd.c:446:22: style: Variable 'dummy_p' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/p_cmd.c:533:11: style: Variable 'cpnext' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/player.c:293:17: warning: If memory allocation fails, then there is a possible null pointer dereference: profile_time [nullPointerOutOfMemory] crossfire-client-1.75.5/common/player.c:291:42: note: Assuming allocation function fails crossfire-client-1.75.5/common/player.c:291:42: note: Assignment 'profile_time=calloc(256,sizeof(int64_t))', assigned value is 0 crossfire-client-1.75.5/common/player.c:293:17: note: Null pointer dereference crossfire-client-1.75.5/common/player.c:54:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/player.c:317:33: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/script.c:285:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/common/script.c:601:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/common/script.c:228:18: style: Redundant condition: The condition '*args' is redundant since '*args == ' '' is sufficient. [redundantCondition] crossfire-client-1.75.5/common/script.c:276:26: style: Redundant condition: The condition '*args' is redundant since '*args == ' '' is sufficient. [redundantCondition] crossfire-client-1.75.5/common/script.c:1460:19: style: Redundant condition: The condition '*c' is redundant since '*c == ' '' is sufficient. [redundantCondition] crossfire-client-1.75.5/common/script.c:1229:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/script.c:1289:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/script.c:1289:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/script.c:1289:17: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/script.c:1295:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/script.c:1295:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/script.c:1295:13: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/script.c:1440:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/script.c:1440:17: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/script.c:1697:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] crossfire-client-1.75.5/common/script.c:205:30: style:inconclusive: Function 'script_init' argument 1 names different: declaration 'params' definition 'cparams'. [funcArgNamesDifferent] crossfire-client-1.75.5/common/script.h:53:30: note: Function 'script_init' argument 1 names different: declaration 'params' definition 'cparams'. crossfire-client-1.75.5/common/script.c:205:30: note: Function 'script_init' argument 1 names different: declaration 'params' definition 'cparams'. crossfire-client-1.75.5/common/script.c:475:22: style:inconclusive: Function 'script_sync' argument 1 names different: declaration 'cmddiff' definition 'commdiff'. [funcArgNamesDifferent] crossfire-client-1.75.5/common/script.h:55:22: note: Function 'script_sync' argument 1 names different: declaration 'cmddiff' definition 'commdiff'. crossfire-client-1.75.5/common/script.c:475:22: note: Function 'script_sync' argument 1 names different: declaration 'cmddiff' definition 'commdiff'. crossfire-client-1.75.5/common/script.c:632:50: style:inconclusive: Function 'script_watch' argument 2 names different: declaration 'data' definition 'data_initial'. [funcArgNamesDifferent] crossfire-client-1.75.5/common/script.h:61:50: note: Function 'script_watch' argument 2 names different: declaration 'data' definition 'data_initial'. crossfire-client-1.75.5/common/script.c:632:50: note: Function 'script_watch' argument 2 names different: declaration 'data' definition 'data_initial'. crossfire-client-1.75.5/common/script.c:632:74: style:inconclusive: Function 'script_watch' argument 3 names different: declaration 'len' definition 'data_len'. [funcArgNamesDifferent] crossfire-client-1.75.5/common/script.h:61:66: note: Function 'script_watch' argument 3 names different: declaration 'len' definition 'data_len'. crossfire-client-1.75.5/common/script.c:632:74: note: Function 'script_watch' argument 3 names different: declaration 'len' definition 'data_len'. crossfire-client-1.75.5/common/script.c:558:24: style: Argument 'maxfd' shadows outer variable [shadowVariable] crossfire-client-1.75.5/common/client.h:614:12: note: Shadowed variable crossfire-client-1.75.5/common/script.c:558:24: note: Shadow argument crossfire-client-1.75.5/common/script.c:573:29: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/common/script.c:1315:23: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/script.c:1316:23: style: Variable 'it' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/script.c:1325:23: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/script.c:1326:23: style: Variable 'it' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/script.c:1337:23: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/script.c:1338:23: style: Variable 'it' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/script.c:1347:23: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/script.c:1348:23: style: Variable 'it' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/script.c:1391:23: style: Variable 'endmsg' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/script.c:1437:20: style: Variable 'spell' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/common/script.c:300:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] crossfire-client-1.75.5/common/script.c:670:28: style: Variable 'be' is assigned a value that is never used. [unreadVariable] crossfire-client-1.75.5/common/script.c:682:28: style: Variable 'be' is assigned a value that is never used. [unreadVariable] crossfire-client-1.75.5/common/script.c:917:28: style: Variable 'be' is assigned a value that is never used. [unreadVariable] crossfire-client-1.75.5/common/test-metaserver.c:5:31: style: Parameter 'server' can be declared as pointer to const. However it seems that 'print_entry' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/common/test-metaserver.c:12:14: note: You might need to cast the function pointer here crossfire-client-1.75.5/common/test-metaserver.c:5:31: note: Parameter 'server' can be declared as pointer to const crossfire-client-1.75.5/common/test-metaserver.c:5:70: style: Parameter 'version' can be declared as pointer to const. However it seems that 'print_entry' is a callback function, if 'version' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/common/test-metaserver.c:12:14: note: You might need to cast the function pointer here crossfire-client-1.75.5/common/test-metaserver.c:5:70: note: Parameter 'version' can be declared as pointer to const crossfire-client-1.75.5/common/test-metaserver.c:6:31: style: Parameter 'comment' can be declared as pointer to const. However it seems that 'print_entry' is a callback function, if 'comment' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/common/test-metaserver.c:12:14: note: You might need to cast the function pointer here crossfire-client-1.75.5/common/test-metaserver.c:6:31: note: Parameter 'comment' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/account.c:147:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:155:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:252:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:310:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_YES_NO [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:447:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:485:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverloginmethod [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:711:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:918:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:1035:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:1182:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFO_NEWS [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:1267:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverloginmethod [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/account.c:123:44: style: Parameter 'window' can be declared as pointer to const. However it seems that 'on_window_delete_event' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/account.c:229:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/account.c:123:44: note: Parameter 'window' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/account.c:184:46: style: Parameter 'button' can be declared as pointer to const. However it seems that 'on_button_create_new_char_clicked' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/account.c:231:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/account.c:184:46: note: Parameter 'button' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/account.c:184:63: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_button_create_new_char_clicked' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/account.c:231:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/account.c:184:63: note: Parameter 'user_data' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/account.c:194:44: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'on_entry_new_character_name' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/account.c:235:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/account.c:194:44: note: Parameter 'entry' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/account.c:194:60: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_entry_new_character_name' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/account.c:235:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/account.c:194:60: note: Parameter 'user_data' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/account.c:692:37: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/gtk-v2/src/account.c:868:34: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/gtk-v2/src/account.c:895:44: style: Parameter 'button' can be declared as pointer to const. However it seems that 'on_button_go_metaserver_clicked' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/account.c:1013:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/account.c:895:44: note: Parameter 'button' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/account.c:895:61: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_button_go_metaserver_clicked' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/account.c:1013:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/account.c:895:61: note: Parameter 'user_data' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/account.c:904:47: style: Parameter 'button' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/gtk-v2/src/account.c:904:64: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/gtk-v2/src/account.c:1123:44: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/gtk-v2/src/account.c:1190:56: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:85:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_SOUND_DIR [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:112:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXSOCKBUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:136:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:172:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:181:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:194:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXSOCKBUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:214:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:161:43: style: Argument 'music' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:33:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:161:43: note: Shadow argument crossfire-client-1.75.5/gtk-v2/src/config.c:61:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable want_config [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:96:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:184:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERROR [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:221:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:335:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable want_config [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:450:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable want_config [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:522:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable want_faceset [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:544:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_config [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:615:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CFG_DM_PIXMAP [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:638:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable want_config [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:720:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable want_config [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:829:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_HPANED [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:886:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_HPANED [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/config.c:452:5: warning: Assert statement calls a function which may have desired side effects: 'g_file_test'. [assertWithSideEffect] crossfire-client-1.75.5/gtk-v2/src/config.c:532:5: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] crossfire-client-1.75.5/gtk-v2/src/config.c:148:61: error: Allocation with ui_name, snprintf doesn't release it. [leakNoVarFunctionCall] crossfire-client-1.75.5/gtk-v2/src/config.c:533:13: error: Allocation with g_key_file_to_data, g_file_set_contents doesn't release it. [leakNoVarFunctionCall] crossfire-client-1.75.5/gtk-v2/src/config.c:819:35: error: Allocation with ui_name, g_key_file_set_string doesn't release it. [leakNoVarFunctionCall] crossfire-client-1.75.5/gtk-v2/src/config.c:830:44: error: Allocation with ui_name, g_key_file_set_integer doesn't release it. [leakNoVarFunctionCall] crossfire-client-1.75.5/gtk-v2/src/config.c:465:21: style: Local variable 'error' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/config.c:447:13: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/config.c:465:21: note: Shadow local variable crossfire-client-1.75.5/gtk-v2/src/config.c:548:29: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/config.c:548:29: note: Shadow argument crossfire-client-1.75.5/gtk-v2/src/config.c:864:39: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/config.c:864:39: note: Shadow argument crossfire-client-1.75.5/gtk-v2/src/create_char.c:132:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_NEW_CHAR_STATS [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/create_char.c:163:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable races [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/create_char.c:210:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/create_char.c:268:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/create_char.c:399:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_NEW_CHAR_STATS [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/create_char.c:555:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable classes [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/create_char.c:644:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stat_points [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/create_char.c:746:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable starting_map_info [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/create_char.c:763:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable starting_map_number [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/create_char.c:829:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_NEW_CHAR_STATS [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/create_char.c:399:57: style: Local variable 'negative_stat' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/create_char.c:66:24: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/create_char.c:399:57: note: Shadow local variable crossfire-client-1.75.5/gtk-v2/src/create_char.c:365:32: style: Parameter 'button' can be declared as pointer to const. However it seems that 'on_button_cc_cancel' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/create_char.c:866:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/create_char.c:365:32: note: Parameter 'button' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/create_char.c:365:49: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_button_cc_cancel' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/create_char.c:866:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/create_char.c:365:49: note: Parameter 'user_data' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/create_char.c:380:42: style: Parameter 'button' can be declared as pointer to const. However it seems that 'on_button_choose_starting_map' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/create_char.c:868:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/create_char.c:380:42: note: Parameter 'button' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/create_char.c:380:59: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_button_choose_starting_map' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/create_char.c:868:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/create_char.c:380:59: note: Parameter 'user_data' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/create_char.c:515:34: style: Parameter 'spinbutton' can be declared as pointer to const. However it seems that 'on_spinbutton_cc' is a callback function, if 'spinbutton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/create_char.c:833:9: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/create_char.c:515:34: note: Parameter 'spinbutton' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/create_char.c:515:55: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_spinbutton_cc' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/create_char.c:833:9: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/create_char.c:515:55: note: Parameter 'user_data' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/create_char.c:721:33: style: Parameter 'button' can be declared as pointer to const. However it seems that 'on_button_csm_cancel' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/create_char.c:892:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/create_char.c:721:33: note: Parameter 'button' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/create_char.c:721:50: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_button_csm_cancel' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/create_char.c:892:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/create_char.c:721:50: note: Parameter 'user_data' can be declared as pointer to const crossfire-client-1.75.5/gtk-v2/src/image.c:168:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_config [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/image.c:288:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable want_config [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/image.c:89:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assignment 'pi=calloc(1,sizeof(struct PixmapInfo))', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:208:39: note: Calling function 'create_full_icon_image', 2nd argument 'pi' value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:89:5: note: Null pointer dereference crossfire-client-1.75.5/gtk-v2/src/image.c:89:51: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assignment 'pi=calloc(1,sizeof(struct PixmapInfo))', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:208:39: note: Calling function 'create_full_icon_image', 2nd argument 'pi' value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:89:51: note: Null pointer dereference crossfire-client-1.75.5/gtk-v2/src/image.c:89:72: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assignment 'pi=calloc(1,sizeof(struct PixmapInfo))', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:208:39: note: Calling function 'create_full_icon_image', 2nd argument 'pi' value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:89:72: note: Null pointer dereference crossfire-client-1.75.5/gtk-v2/src/image.c:99:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assignment 'pi=calloc(1,sizeof(struct PixmapInfo))', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:223:33: note: Calling function 'create_map_image', 2nd argument 'pi' value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:99:5: note: Null pointer dereference crossfire-client-1.75.5/gtk-v2/src/image.c:99:49: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assignment 'pi=calloc(1,sizeof(struct PixmapInfo))', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:223:33: note: Calling function 'create_map_image', 2nd argument 'pi' value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:99:49: note: Null pointer dereference crossfire-client-1.75.5/gtk-v2/src/image.c:99:70: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assignment 'pi=calloc(1,sizeof(struct PixmapInfo))', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:223:33: note: Calling function 'create_map_image', 2nd argument 'pi' value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:99:70: note: Null pointer dereference crossfire-client-1.75.5/gtk-v2/src/image.c:206:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assignment 'pi=calloc(1,sizeof(struct PixmapInfo))', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:206:5: note: Null pointer dereference crossfire-client-1.75.5/gtk-v2/src/image.c:207:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assignment 'pi=calloc(1,sizeof(struct PixmapInfo))', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:207:5: note: Null pointer dereference crossfire-client-1.75.5/gtk-v2/src/image.c:229:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assignment 'pi=calloc(1,sizeof(struct PixmapInfo))', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:229:10: note: Null pointer dereference crossfire-client-1.75.5/gtk-v2/src/image.c:229:30: warning: If memory allocation fails, then there is a possible null pointer dereference: pi [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/image.c:175:16: note: Assignment 'pi=calloc(1,sizeof(struct PixmapInfo))', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/image.c:229:30: note: Null pointer dereference crossfire-client-1.75.5/gtk-v2/src/image.c:264:40: style: Parameter 'ce' can be declared as pointer to const [constParameterPointer] crossfire-client-1.75.5/gtk-v2/src/info.c:324:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:363:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TYPE_LAST [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:412:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:517:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_type_names [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:636:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:741:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TYPE_CLIENT [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:824:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERROR [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:925:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable want_config [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:1106:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERROR [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:1181:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:1410:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TYPE_LAST [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:1508:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TYPE_LAST [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:1527:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:1595:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:1781:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TYPE_LAST [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:1813:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TYPE_LAST [valueFlowBailoutIncompleteVar] crossfire-client-1.75.5/gtk-v2/src/info.c:832:34: warning: Either the condition 'orig_color>13' is redundant or the array 'usercolorname[13]' is accessed at index 13, which is out of bounds. [arrayIndexOutOfBoundsCond] crossfire-client-1.75.5/gtk-v2/src/info.c:823:40: note: Assuming that condition 'orig_color>13' is not redundant crossfire-client-1.75.5/gtk-v2/src/info.c:832:34: note: Array index out of bounds crossfire-client-1.75.5/gtk-v2/src/info.c:1096:39: warning: Invalid test for overflow 'info_buffer[loop].age' definition 'callback'. [funcArgNamesDifferentUnnamed] head crossfire-client-1.75.5/common/player.c:293:17: warning: If memory allocation fails, then there is a possible null pointer dereference: profile_time [nullPointerOutOfMemory] crossfire-client-1.75.5/common/player.c:291:42: note: Assuming allocation function fails crossfire-client-1.75.5/common/player.c:291:42: note: Assignment 'profile_time=calloc(256,sizeof(int64_t))', assigned value is 0 crossfire-client-1.75.5/common/player.c:293:17: note: Null pointer dereference head crossfire-client-1.75.5/common/player.c:317:33: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] 2.20.0 crossfire-client-1.75.5/common/player.c:328:42: error: There is an unknown macro here somewhere. Configuration is required. If G_GINT64_FORMAT is a macro then please configure it. [unknownMacro] head crossfire-client-1.75.5/common/player.c:54:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] head crossfire-client-1.75.5/common/script.c:1229:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head crossfire-client-1.75.5/common/script.c:1289:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head crossfire-client-1.75.5/common/script.c:1289:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head crossfire-client-1.75.5/common/script.c:1289:17: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head crossfire-client-1.75.5/common/script.c:1295:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head crossfire-client-1.75.5/common/script.c:1295:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head crossfire-client-1.75.5/common/script.c:1295:13: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head crossfire-client-1.75.5/common/script.c:1315:23: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/common/script.c:1316:23: style: Variable 'it' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/common/script.c:1325:23: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/common/script.c:1326:23: style: Variable 'it' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/common/script.c:1337:23: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/common/script.c:1338:23: style: Variable 'it' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/common/script.c:1347:23: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/common/script.c:1348:23: style: Variable 'it' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/common/script.c:1391:23: style: Variable 'endmsg' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/common/script.c:1437:20: style: Variable 'spell' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/common/script.c:1440:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head crossfire-client-1.75.5/common/script.c:1440:17: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head crossfire-client-1.75.5/common/script.c:1460:19: style: Redundant condition: The condition '*c' is redundant since '*c == ' '' is sufficient. [redundantCondition] head crossfire-client-1.75.5/common/script.c:1697:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head crossfire-client-1.75.5/common/script.c:205:30: style:inconclusive: Function 'script_init' argument 1 names different: declaration 'params' definition 'cparams'. [funcArgNamesDifferent] crossfire-client-1.75.5/common/script.h:53:30: note: Function 'script_init' argument 1 names different: declaration 'params' definition 'cparams'. crossfire-client-1.75.5/common/script.c:205:30: note: Function 'script_init' argument 1 names different: declaration 'params' definition 'cparams'. head crossfire-client-1.75.5/common/script.c:228:18: style: Redundant condition: The condition '*args' is redundant since '*args == ' '' is sufficient. [redundantCondition] head crossfire-client-1.75.5/common/script.c:276:26: style: Redundant condition: The condition '*args' is redundant since '*args == ' '' is sufficient. [redundantCondition] head crossfire-client-1.75.5/common/script.c:285:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/common/script.c:300:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] head crossfire-client-1.75.5/common/script.c:475:22: style:inconclusive: Function 'script_sync' argument 1 names different: declaration 'cmddiff' definition 'commdiff'. [funcArgNamesDifferent] crossfire-client-1.75.5/common/script.h:55:22: note: Function 'script_sync' argument 1 names different: declaration 'cmddiff' definition 'commdiff'. crossfire-client-1.75.5/common/script.c:475:22: note: Function 'script_sync' argument 1 names different: declaration 'cmddiff' definition 'commdiff'. head crossfire-client-1.75.5/common/script.c:558:24: style: Argument 'maxfd' shadows outer variable [shadowVariable] crossfire-client-1.75.5/common/client.h:614:12: note: Shadowed variable crossfire-client-1.75.5/common/script.c:558:24: note: Shadow argument head crossfire-client-1.75.5/common/script.c:573:29: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] head crossfire-client-1.75.5/common/script.c:601:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/common/script.c:632:50: style:inconclusive: Function 'script_watch' argument 2 names different: declaration 'data' definition 'data_initial'. [funcArgNamesDifferent] crossfire-client-1.75.5/common/script.h:61:50: note: Function 'script_watch' argument 2 names different: declaration 'data' definition 'data_initial'. crossfire-client-1.75.5/common/script.c:632:50: note: Function 'script_watch' argument 2 names different: declaration 'data' definition 'data_initial'. head crossfire-client-1.75.5/common/script.c:632:74: style:inconclusive: Function 'script_watch' argument 3 names different: declaration 'len' definition 'data_len'. [funcArgNamesDifferent] crossfire-client-1.75.5/common/script.h:61:66: note: Function 'script_watch' argument 3 names different: declaration 'len' definition 'data_len'. crossfire-client-1.75.5/common/script.c:632:74: note: Function 'script_watch' argument 3 names different: declaration 'len' definition 'data_len'. head crossfire-client-1.75.5/common/script.c:670:28: style: Variable 'be' is assigned a value that is never used. [unreadVariable] head crossfire-client-1.75.5/common/script.c:682:28: style: Variable 'be' is assigned a value that is never used. [unreadVariable] 2.20.0 crossfire-client-1.75.5/common/script.c:706:89: error: There is an unknown macro here somewhere. Configuration is required. If G_GINT64_FORMAT is a macro then please configure it. [unknownMacro] head crossfire-client-1.75.5/common/script.c:917:28: style: Variable 'be' is assigned a value that is never used. [unreadVariable] head crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:161:43: style: Argument 'music' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:33:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/cfsndserv.c:161:43: note: Shadow argument 2.20.0 crossfire-client-1.75.5/gtk-v2/src/config.c:465:21: style: Local variable 'error' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/config.c:447:13: note: Shadowed declaration crossfire-client-1.75.5/gtk-v2/src/config.c:465:21: note: Shadow variable head crossfire-client-1.75.5/gtk-v2/src/config.c:465:21: style: Local variable 'error' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/config.c:447:13: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/config.c:465:21: note: Shadow local variable head crossfire-client-1.75.5/gtk-v2/src/config.c:548:29: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/config.c:548:29: note: Shadow argument head crossfire-client-1.75.5/gtk-v2/src/config.c:864:39: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/config.c:864:39: note: Shadow argument 2.20.0 crossfire-client-1.75.5/gtk-v2/src/create_char.c:399:57: style: Local variable 'negative_stat' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/create_char.c:66:24: note: Shadowed declaration crossfire-client-1.75.5/gtk-v2/src/create_char.c:399:57: note: Shadow variable head crossfire-client-1.75.5/gtk-v2/src/create_char.c:399:57: style: Local variable 'negative_stat' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/create_char.c:66:24: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/create_char.c:399:57: note: Shadow local variable 2.20.0 crossfire-client-1.75.5/gtk-v2/src/image.c:316:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_POPUP [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/info.c:1348:30: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/info.c:1348:30: note: Shadow argument head crossfire-client-1.75.5/gtk-v2/src/info.c:632:27: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/info.c:632:27: note: Shadow argument 2.20.0 crossfire-client-1.75.5/gtk-v2/src/info.c:932:16: warning: If memory allocation fails, then there is a possible null pointer dereference: stamp [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/info.c:928:23: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/info.c:928:23: note: Assignment 'stamp=calloc(1,strlen(message)+7)', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/info.c:932:16: note: Null pointer dereference 2.20.0 crossfire-client-1.75.5/gtk-v2/src/info.c:933:16: warning: If memory allocation fails, then there is a possible null pointer dereference: stamp [nullPointerOutOfMemory] crossfire-client-1.75.5/gtk-v2/src/info.c:928:23: note: Assuming allocation function fails crossfire-client-1.75.5/gtk-v2/src/info.c:928:23: note: Assignment 'stamp=calloc(1,strlen(message)+7)', assigned value is 0 crossfire-client-1.75.5/gtk-v2/src/info.c:933:16: note: Null pointer dereference head crossfire-client-1.75.5/gtk-v2/src/inventory.c:104:31: style: Parameter 'it' can be declared as pointer to const. However it seems that 'show_applied' is a callback function, if 'it' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/inventory.c:143:44: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/inventory.c:104:31: note: Parameter 'it' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/inventory.c:108:33: style: Parameter 'it' can be declared as pointer to const. However it seems that 'show_unapplied' is a callback function, if 'it' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/inventory.c:144:49: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/inventory.c:108:33: note: Parameter 'it' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/inventory.c:112:30: style: Parameter 'it' can be declared as pointer to const. However it seems that 'show_unpaid' is a callback function, if 'it' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/inventory.c:145:42: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/inventory.c:112:30: note: Parameter 'it' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/inventory.c:120:31: style: Parameter 'it' can be declared as pointer to const. However it seems that 'show_magical' is a callback function, if 'it' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/inventory.c:147:43: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/inventory.c:120:31: note: Parameter 'it' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/inventory.c:124:34: style: Parameter 'it' can be declared as pointer to const. However it seems that 'show_nonmagical' is a callback function, if 'it' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/inventory.c:148:53: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/inventory.c:124:34: note: Parameter 'it' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/inventory.c:128:30: style: Parameter 'it' can be declared as pointer to const. However it seems that 'show_locked' is a callback function, if 'it' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/inventory.c:149:42: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/inventory.c:128:30: note: Parameter 'it' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/inventory.c:517:32: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/inventory.c:517:32: note: Shadow argument 2.20.0 crossfire-client-1.75.5/gtk-v2/src/keys.c:2234:17: style: Local variable 'bind_buf' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/keys.c:126:13: note: Shadowed declaration crossfire-client-1.75.5/gtk-v2/src/keys.c:2234:17: note: Shadow variable head crossfire-client-1.75.5/gtk-v2/src/keys.c:2234:17: style: Local variable 'bind_buf' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/keys.c:126:13: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/keys.c:2234:17: note: Shadow local variable 2.20.0 crossfire-client-1.75.5/gtk-v2/src/keys.c:620:16: style: Local variable 'f' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/keys.c:603:12: note: Shadowed declaration crossfire-client-1.75.5/gtk-v2/src/keys.c:620:16: note: Shadow variable head crossfire-client-1.75.5/gtk-v2/src/keys.c:620:16: style: Local variable 'f' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/keys.c:603:12: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/keys.c:620:16: note: Shadow local variable 2.20.0 crossfire-client-1.75.5/gtk-v2/src/keys.c:621:28: style: Local variable 'fs' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/keys.c:604:24: note: Shadowed declaration crossfire-client-1.75.5/gtk-v2/src/keys.c:621:28: note: Shadow variable head crossfire-client-1.75.5/gtk-v2/src/keys.c:621:28: style: Local variable 'fs' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/keys.c:604:24: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/keys.c:621:28: note: Shadow local variable head crossfire-client-1.75.5/gtk-v2/src/keys.c:650:27: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/keys.c:650:27: note: Shadow argument head crossfire-client-1.75.5/gtk-v2/src/map.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:170:16: style: Variable 'dx' can be declared as const array [constVariable] head crossfire-client-1.75.5/gtk-v2/src/map.c:171:16: style: Variable 'dy' can be declared as const array [constVariable] head crossfire-client-1.75.5/gtk-v2/src/map.c:172:16: style: Variable 'bweights' can be declared as const array [constVariable] head crossfire-client-1.75.5/gtk-v2/src/map.c:173:16: style: Variable 'cweights' can be declared as const array [constVariable] head crossfire-client-1.75.5/gtk-v2/src/map.c:174:16: style: Variable 'bc_exclude' can be declared as const array [constVariable] head crossfire-client-1.75.5/gtk-v2/src/map.c:192:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:256:23: style: Condition 'smoothface<=0' is always false [knownConditionTrueFalse] crossfire-client-1.75.5/gtk-v2/src/map.c:252:27: note: Assuming that condition 'sfaces[lowest]<=0' is not redundant crossfire-client-1.75.5/gtk-v2/src/map.c:255:19: note: smoothface is assigned 'sfaces[lowest]' here. crossfire-client-1.75.5/gtk-v2/src/map.c:256:23: note: Condition 'smoothface<=0' is always false head crossfire-client-1.75.5/gtk-v2/src/map.c:290:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_config [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:358:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_config [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:369:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:412:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable move_to_x [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:446:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_config [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:516:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable global_offset_x [valueFlowBailoutIncompleteVar] 2.20.0 crossfire-client-1.75.5/gtk-v2/src/map.c:535:34: error: There is an unknown macro here somewhere. Configuration is required. If G_GINT64_FORMAT is a macro then please configure it. [unknownMacro] head crossfire-client-1.75.5/gtk-v2/src/map.c:540:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_config [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:548:45: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'map_expose_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/map.c:95:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/map.c:548:45: note: Parameter 'widget' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/map.c:548:69: style: Parameter 'event' can be declared as pointer to const. However it seems that 'map_expose_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/map.c:95:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/map.c:548:69: note: Parameter 'event' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/map.c:549:18: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'map_expose_event' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/map.c:95:5: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/map.c:549:18: note: Parameter 'user_data' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/map.c:57:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_config [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:592:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_config [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:635:25: style: Parameter 'event' can be declared as pointer to const. However it seems that 'map_button_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/map.c:104:30: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/map.c:635:25: note: Parameter 'event' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/map.c:642:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/map.c:86:26: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/map.c:86:26: note: Shadow argument head crossfire-client-1.75.5/gtk-v2/src/pickup.c:401:29: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/pickup.c:401:29: note: Shadow argument head crossfire-client-1.75.5/gtk-v2/src/spells.c:496:57: style: Parameter 'treeview' can be declared as pointer to const. However it seems that 'on_spell_treeview_row_activated' is a callback function, if 'treeview' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/spells.c:301:9: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/spells.c:496:57: note: Parameter 'treeview' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/spells.c:497:57: style: Parameter 'path' can be declared as pointer to const. However it seems that 'on_spell_treeview_row_activated' is a callback function, if 'path' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/spells.c:301:9: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/spells.c:497:57: note: Parameter 'path' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/spells.c:498:57: style: Parameter 'column' can be declared as pointer to const. However it seems that 'on_spell_treeview_row_activated' is a callback function, if 'column' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/spells.c:301:9: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/spells.c:498:57: note: Parameter 'column' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/spells.c:499:57: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_spell_treeview_row_activated' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/spells.c:301:9: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/spells.c:499:57: note: Parameter 'user_data' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/stats.c:112:9: style: Local variable 'stat_bar' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/stats.c:39:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/stats.c:112:9: note: Shadow local variable head crossfire-client-1.75.5/gtk-v2/src/stats.c:113:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/stats.c:114:15: style: Variable 'tmp_style' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/gtk-v2/src/stats.c:116:9: style: Condition '!has_init' is always true [knownConditionTrueFalse] head crossfire-client-1.75.5/gtk-v2/src/stats.c:147:28: style: Argument 'window_root' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/main.h:24:19: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/stats.c:147:28: note: Shadow argument head crossfire-client-1.75.5/gtk-v2/src/stats.c:149:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/stats.c:311:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_config [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/stats.c:316:26: style: Variable 'hcolor' can be declared as pointer to const [constVariablePointer] head crossfire-client-1.75.5/gtk-v2/src/stats.c:316:35: style: Variable 'lcolor' can be declared as pointer to const [constVariablePointer] 2.20.0 crossfire-client-1.75.5/gtk-v2/src/stats.c:445:37: error: There is an unknown macro here somewhere. Configuration is required. If G_GINT64_FORMAT is a macro then please configure it. [unknownMacro] head crossfire-client-1.75.5/gtk-v2/src/stats.c:465:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hp [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/stats.c:503:38: style: Parameter 'a' can be declared as pointer to const. However it seems that 'mapping_sort' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/stats.c:545:46: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/stats.c:503:38: note: Parameter 'a' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/stats.c:503:54: style: Parameter 'b' can be declared as pointer to const. However it seems that 'mapping_sort' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] crossfire-client-1.75.5/gtk-v2/src/stats.c:545:46: note: You might need to cast the function pointer here crossfire-client-1.75.5/gtk-v2/src/stats.c:503:54: note: Parameter 'b' can be declared as pointer to const head crossfire-client-1.75.5/gtk-v2/src/stats.c:525:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SKILL [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/stats.c:557:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUF [valueFlowBailoutIncompleteVar] head crossfire-client-1.75.5/gtk-v2/src/stats.c:741:18: style: Local variable 'i' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/stats.c:562:9: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/stats.c:741:18: note: Shadow local variable head crossfire-client-1.75.5/gtk-v2/src/stats.c:757:22: style: Local variable 'i' shadows outer variable [shadowVariable] crossfire-client-1.75.5/gtk-v2/src/stats.c:562:9: note: Shadowed variable crossfire-client-1.75.5/gtk-v2/src/stats.c:757:22: note: Shadow local variable DONE