LineIdCWESeverityMessage
apps/contools/gatecli/unit_device.c
215redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
353redundantAssignment563styleVariable 'buffer_len' is reassigned a value before the old one has been used.
apps/contools/gatecli/unit_file.c
260redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
839unreadVariable563styleVariable 'ptr_name' is assigned a value that is never used.
apps/contools/gatecli/unit_netclient.c
70knownConditionTrueFalse571styleCondition 'running' is always true
208knownConditionTrueFalse571styleCondition 'running' is always true
369redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
481unreadVariable563styleVariable 'con_stream' is assigned a value that is never used.
apps/contools/gatecli/unit_os.c
146unreadVariable563styleVariable 'stream' is assigned a value that is never used.
157unreadVariable563styleVariable 'stream' is assigned a value that is never used.
apps/contools/gatecli/unit_sysmgmt.c
27redundantAssignment563styleVariable 'iter' is reassigned a value before the old one has been used.
apps/graphic/aniplay/aniplay.c
211redundantAssignment563styleVariable 'result' is reassigned a value before the old one has been used.
apps/graphic/gategames/blocklevels.cpp
876arrayIndexOutOfBounds119error, inconcl.Array 'infoLog[1024]' accessed at index 1024, which is out of bounds.
1410redundantAssignment563styleVariable 'this->shader_program' is reassigned a value before the old one has been used.
apps/vast/vdb/vdb.cpp
530class_X_YinformationThe code 'class GATE_API_LOCAL VDB :' is not handled. You can use -I or --include to add handling of this code.
gate/arrays.c
224nullPointerRedundantCheck476warningEither the condition 'dst!=NULL' is redundant or there is possible null pointer dereference: arr.
228nullPointerRedundantCheck476warningEither the condition 'dst!=NULL' is redundant or there is possible null pointer dereference: arr.
229nullPointerRedundantCheck476warningEither the condition 'dst!=NULL' is redundant or there is possible null pointer dereference: arr.
230nullPointerRedundantCheck476warningEither the condition 'dst!=NULL' is redundant or there is possible null pointer dereference: arr.
231nullPointerRedundantCheck476warningEither the condition 'dst!=NULL' is redundant or there is possible null pointer dereference: arr.
1733knownConditionTrueFalse571styleCondition 'enumerator->current_position==NULL' is always true
gate/callstacks.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations.
gate/data/mysql_adapter.c
113unusedStructMember563stylestruct member 'MYSQL_BIND::length' is never used.
114unusedStructMember563stylestruct member 'MYSQL_BIND::is_null' is never used.
115unusedStructMember563stylestruct member 'MYSQL_BIND::buffer' is never used.
116unusedStructMember563stylestruct member 'MYSQL_BIND::error' is never used.
117unusedStructMember563stylestruct member 'MYSQL_BIND::row_ptr' is never used.
118unusedStructMember563stylestruct member 'MYSQL_BIND::store_param_func' is never used.
119unusedStructMember563stylestruct member 'MYSQL_BIND::fetch_result' is never used.
120unusedStructMember563stylestruct member 'MYSQL_BIND::skip_result' is never used.
121unusedStructMember563stylestruct member 'MYSQL_BIND::buffer_length' is never used.
122unusedStructMember563stylestruct member 'MYSQL_BIND::offset' is never used.
123unusedStructMember563stylestruct member 'MYSQL_BIND::length_value' is never used.
124unusedStructMember563stylestruct member 'MYSQL_BIND::param_number' is never used.
125unusedStructMember563stylestruct member 'MYSQL_BIND::pack_length' is never used.
127unusedStructMember563stylestruct member 'MYSQL_BIND::error_value' is never used.
128unusedStructMember563stylestruct member 'MYSQL_BIND::is_unsigned' is never used.
129unusedStructMember563stylestruct member 'MYSQL_BIND::long_data_used' is never used.
130unusedStructMember563stylestruct member 'MYSQL_BIND::is_null_value' is never used.
131unusedStructMember563stylestruct member 'MYSQL_BIND::extension' is never used.
238redundantAssignment563styleVariable 'state' is reassigned a value before the old one has been used.
332unreadVariable563styleVariable 'ptr_mysql' is assigned a value that is never used.
334unreadVariable563styleVariable 'ptr_meta' is assigned a value that is never used.
336unreadVariable563styleVariable 'fields' is assigned a value that is never used.
337unusedVariable563styleUnused variable: fields_count
gate/encode/tarstreams.c
48unusedStructMember563stylestruct member 'gate_tarheader::linkname' is never used.
53unusedStructMember563stylestruct member 'gate_tarheader::device_major' is never used.
54unusedStructMember563stylestruct member 'gate_tarheader::device_minor' is never used.
55unusedStructMember563stylestruct member 'gate_tarheader::prefix' is never used.
gate/encode/tests/gateencode_cpp_test/test_compression.cpp
50redundantAssignment563styleVariable 'encoder' is reassigned a value before the old one has been used.
64redundantAssignment563styleVariable 'decoder' is reassigned a value before the old one has been used.
gate/encode/texts.c
1462redundantAssignment563styleVariable 'ptr_text' is reassigned a value before the old one has been used.
gate/encode/zipstreams.c
300knownConditionTrueFalse570styleCondition 'offset==0' is always false
gate/environments.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.
gate/files.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations.
gate/functions.c
275unusedStructMember563styleunion member 'x86_arguments::function_ptr' is never used.
496ConfigurationNotCheckedinformationSkipping configuration 'SIGBUS' since the value of 'SIGBUS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
502ConfigurationNotCheckedinformationSkipping configuration 'SIGSYS' since the value of 'SIGSYS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
505ConfigurationNotCheckedinformationSkipping configuration 'SIGTRAP' since the value of 'SIGTRAP' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
516ConfigurationNotCheckedinformationSkipping configuration 'SIGBUS' since the value of 'SIGBUS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
524ConfigurationNotCheckedinformationSkipping configuration 'SIGSYS' since the value of 'SIGSYS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
527ConfigurationNotCheckedinformationSkipping configuration 'SIGTRAP' since the value of 'SIGTRAP' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
gate/graphics/framebuffers.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.
gate/graphics/gl_apis.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 49 configurations. Use --force to check all configurations.
gate/graphics/images.c
830variableScope398styleThe scope of the variable 'ptrpixel1' can be reduced.
831variableScope398styleThe scope of the variable 'ptrpixel4' can be reduced.
833variableScope398styleThe scope of the variable 'ptrpixel2' can be reduced.
gate/inputs.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 28 configurations. Use --force to check all configurations.
gate/io/audiosources.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 14 configurations. Use --force to check all configurations.
gate/io/ipcsharedmem.c
51unusedStructMember563stylestruct member 'gate_ipcsharedmem_data_class::data' is never used.
242autoVariables562errorAddress of local auto-variable assigned to a function parameter.
gate/io/serialports.c
845unreadVariable563styleVariable 'param' is assigned a value that is never used.
gate/io/videosources.c
3256unusedStructMember563stylestruct member 'gate_v4l_convert_code::get_default_dev_ops' is never used.
3258unusedStructMember563stylestruct member 'gate_v4l_convert_code::create_with_dev_ops' is never used.
gate/mathematics.c
196ConfigurationNotCheckedinformationSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
200ConfigurationNotCheckedinformationSkipping configuration 'DBL_MAX' since the value of 'DBL_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
207internalAstErrorerrorSyntax Error: AST broken, binary operator '=' doesn't have two operands.
222ConfigurationNotCheckedinformationSkipping configuration 'FLT_MAX' since the value of 'FLT_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
226ConfigurationNotCheckedinformationSkipping configuration 'FLT_MAX' since the value of 'FLT_MAX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
gate/net/platform/socket_api.c
123autoVariables562errorAddress of local auto-variable assigned to a function parameter.
gate/net/sockets.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 22 configurations. Use --force to check all configurations.
345ConfigurationNotCheckedinformationSkipping configuration 'GATE_SYS_POSIX;INVALID_SOCKET' since the value of 'INVALID_SOCKET' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
gate/net/sshclients.c
563redundantAssignment563styleVariable 'client->handles[2]' is reassigned a value before the old one has been used.
gate/net/tests/gatenet_cpp_test/test_sockets.cpp
265redundantAssignment563styleVariable 'queue' is reassigned a value before the old one has been used.
gate/platform/efi/cxx_gate_bridge.cpp
76unusedStructMember563styleunion member 'Anonymous0::Characteristics' is never used.
78unusedStructMember563stylestruct member 'Anonymous1::Reserved0' is never used.
79unusedStructMember563stylestruct member 'Anonymous1::Alignment' is never used.
80unusedStructMember563stylestruct member 'Anonymous1::Reserved1' is never used.
gate/platform/windows/win32registry.c
41ConfigurationNotCheckedinformationSkipping configuration 'GATE_SYS_WIN;HKEY_CURRENT_CONFIG' since the value of 'HKEY_CURRENT_CONFIG' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
47ConfigurationNotCheckedinformationSkipping configuration 'GATE_SYS_WIN;HKEY_DYN_DATA' since the value of 'HKEY_DYN_DATA' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
gate/platform/winrt/winrtapp.c
96unreadVariable563styleVariable 'view' is assigned a value that is never used.
142redundantAssignment563styleVariable 'res' is reassigned a value before the old one has been used.
148redundantAssignment563styleVariable 'res' is reassigned a value before the old one has been used.
154redundantAssignment563styleVariable 'res' is reassigned a value before the old one has been used.
156redundantAssignment563styleVariable 'res' is reassigned a value before the old one has been used.
169unreadVariable563styleVariable 'self' is assigned a value that is never used.
489redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/platform_dos.c
114ConfigurationNotCheckedinformationSkipping configuration 'ENODATA;GATE_SYS_DOS' since the value of 'ENODATA' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
124ConfigurationNotCheckedinformationSkipping configuration 'ENOSR;GATE_SYS_DOS' since the value of 'ENOSR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
127ConfigurationNotCheckedinformationSkipping configuration 'ENOSTR;GATE_SYS_DOS' since the value of 'ENOSTR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
142ConfigurationNotCheckedinformationSkipping configuration 'ETIME;GATE_SYS_DOS' since the value of 'ETIME' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
gate/platform_winapi.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 27 configurations. Use --force to check all configurations.
895unusedStructMember563stylestruct member 'PROCESS_BASIC_INFO::Reserved1' is never used.
896unusedStructMember563stylestruct member 'PROCESS_BASIC_INFO::PebBaseAddress' is never used.
897unusedStructMember563stylestruct member 'PROCESS_BASIC_INFO::Reserved2' is never used.
899unusedStructMember563stylestruct member 'PROCESS_BASIC_INFO::Reserved3' is never used.
981knownConditionTrueFalse570styleCondition 'hadvapi' is always false
1518unusedStructMember563stylestruct member '_GATE_THREAD_BASIC_INFORMATION::TebBaseAddress' is never used.
gate/processes.c
107redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/processes_posix.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 15 configurations. Use --force to check all configurations.
gate/properties.c
864unusedStructMember563styleunion member 'local_generic_item::buffer' is never used.
1563redundantAssignment563styleVariable 'ptr_cleanup' is reassigned a value before the old one has been used.
gate/scripting/pythonscripts.c
115redundantAssignment563styleVariable 'close_library' is reassigned a value before the old one has been used.
gate/streams.c
819knownConditionTrueFalse570styleCondition 'position<0' is always false
1218knownConditionTrueFalse570styleCondition 'position<0' is always false
gate/synchronization.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 15 configurations. Use --force to check all configurations.
gate/system/os_posix.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 19 configurations. Use --force to check all configurations.
gate/system/os_winapi.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 33 configurations. Use --force to check all configurations.
gate/system/tests/gatesystem_cpp_test/test_os.cpp
24redundantAssignment563styleVariable 'arch' is reassigned a value before the old one has been used.
gate/tests.c
508unreadVariable563styleVariable 'ptr_case' is assigned a value that is never used.
gate/tests/gatecore_cpp_test/test_arrays.cpp
125postfixOperator398performancePrefer prefix ++/-- operators for non-primitive types.
129postfixOperator398performancePrefer prefix ++/-- operators for non-primitive types.
gate/tests/gatecore_cpp_test/test_math.cpp
53wrongmathcall758warningPassing values 0.0 and 0.0 to atan2() leads to implementation-defined result.
54wrongmathcall758warningPassing values 0.0f and 0.0f to atan2() leads to implementation-defined result.
gate/tests/gatecore_cpp_values_test/test_applications.cpp
10redundantAssignment563styleVariable 'testDefAssigned' is reassigned a value before the old one has been used.
gate/tests/gatecore_cpp_values_test/test_structs.cpp
90redundantAssignment563styleVariable 'cs3' is reassigned a value before the old one has been used.
gate/tests/gatecore_test/test_functions.c
172zerodiv369errorDivision by zero.
173unreadVariable563styleVariable 'value' is assigned a value that is never used.
184unreadVariable563styleVariable 'value' is assigned a value that is never used.
193unassignedVariable665styleVariable 'ptr' is not assigned a value.
193uninitvar908errorUninitialized variable: ptr
194uninitvar908errorUninitialized variable: ptr
gate/tests/gatecore_test/test_math.c
15ConfigurationNotCheckedinformationSkipping configuration 'INFINITY;NAN' since the value of 'NAN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
15ConfigurationNotCheckedinformationSkipping configuration 'NAN' since the value of 'NAN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
16ConfigurationNotCheckedinformationSkipping configuration 'INFINITY;NAN' since the value of 'NAN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
16ConfigurationNotCheckedinformationSkipping configuration 'NAN' since the value of 'NAN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
23ConfigurationNotCheckedinformationSkipping configuration 'INFINITY' since the value of 'INFINITY' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
23ConfigurationNotCheckedinformationSkipping configuration 'INFINITY;NAN' since the value of 'INFINITY' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
24ConfigurationNotCheckedinformationSkipping configuration 'INFINITY' since the value of 'INFINITY' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
24ConfigurationNotCheckedinformationSkipping configuration 'INFINITY;NAN' since the value of 'INFINITY' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
gate/times.c
603redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
608redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
613redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/ui/comboboxes.c
824unreadVariable563styleVariable 'ctrl' is assigned a value that is never used.
gate/ui/forms.c
221variableScope398styleThe scope of the variable 'host' can be reduced.
736ConfigurationNotCheckedinformationSkipping configuration 'GATE_UI_WINAPI;RDW_FRAME' since the value of 'RDW_FRAME' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
832ConfigurationNotCheckedinformationSkipping configuration 'GATE_UI_WINAPI;RDW_FRAME' since the value of 'RDW_FRAME' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1897knownConditionTrueFalse570styleCondition 'w_owner' is always false
1926knownConditionTrueFalse570styleCondition 'w_owner' is always false
gate/ui/gateui_gtk.c
46unreadVariable563styleVariable 'program_path' is assigned a value that is never used.
gate/ui/gateui_winapi.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 16 configurations. Use --force to check all configurations.
2353ConfigurationNotCheckedinformationSkipping configuration 'GATE_UI_WINAPI;MFS_CHECKED' since the value of 'MFS_CHECKED' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
2395ConfigurationNotCheckedinformationSkipping configuration 'GATE_UI_WINAPI;MFS_CHECKED' since the value of 'MFS_CHECKED' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
gate/ui/graphics.c
1071ConfigurationNotCheckedinformationSkipping configuration 'GATE_UI_WINAPI;ILC_COLOR;ILC_COLOR16' since the value of 'ILC_COLOR16' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
1689unreadVariable563styleVariable 'sf' is assigned a value that is never used.
gate/ui/listviews_gtk.c
228duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
442variableScope398styleThe scope of the variable 'item_data' can be reduced.
1062redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/ui/splitters.c
502unreadVariable563styleVariable 'container' is assigned a value that is never used.
gate/ui/statusbars.c
360ConfigurationNotCheckedinformationSkipping configuration 'GATE_UI_WINAPI;SBT_TOOLTIPS' since the value of 'SBT_TOOLTIPS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
gate/ui/tests/gateui_cpp_test/gateui_cpp_tests.cpp
345unreadVariable563styleVariable 'ndx' is assigned a value that is never used.
571unreadVariable563styleVariable 'index2' is assigned a value that is never used.
gate/ui/textboxes.c
113knownConditionTrueFalse570styleCondition 'wParam==VK_TAB' is always false
gate/ui/toolbars.c
79unusedStructMember563stylestruct member 'TBBUTTONINFO::iImage' is never used.
85unusedStructMember563stylestruct member 'TBBUTTONINFO::cchText' is never used.
376ConfigurationNotCheckedinformationSkipping configuration 'GATE_UI_WINAPI;ILC_COLOR;ILC_COLOR16' since the value of 'ILC_COLOR16' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
gate/ui/treeviews.c
1044shadowVar398styleLocal variable value shadows outer variable