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.
928unreadVariable563styleVariable '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/vast/vdb/vdb.cpp
512class_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
1736knownConditionTrueFalse571styleCondition 'enumerator->current_position==NULL' is always true
gate/callstacks.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations.
gate/cxx_files.cpp
615uninitMemberVar398warningMember variable 'File_find_dispatcher_param::ptr_cb' is not initialized in the constructor.
615uninitMemberVar398warningMember variable 'File_find_dispatcher_param::user_param' is not initialized in the constructor.
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/passwords.c
114variableScope398styleThe scope of the variable 'ptr_hash' can be reduced.
172variableScope398styleThe scope of the variable 'ptr_hash' can be reduced.
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/texts.c
1478redundantAssignment563styleVariable 'ptr_text' is reassigned a value before the old one has been used.
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
277unusedStructMember563styleunion member 'x86_arguments::function_ptr' is never used.
498ConfigurationNotCheckedinformationSkipping 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.
504ConfigurationNotCheckedinformationSkipping 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.
507ConfigurationNotCheckedinformationSkipping 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.
518ConfigurationNotCheckedinformationSkipping 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.
526ConfigurationNotCheckedinformationSkipping 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.
529ConfigurationNotCheckedinformationSkipping 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 50 configurations. Use --force to check all configurations.
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.
gate/io/serialports.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations.
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/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/sockettools.c
124variableScope398styleThe scope of the variable 'pipe_fd' can be reduced.
125variableScope398styleThe scope of the variable 'result' can be reduced.
gate/net/sshclients.c
563redundantAssignment563styleVariable 'client->handles[2]' 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/wasm/wasm_gate.c
1000knownConditionTrueFalse571styleCondition 'fd>=0' is always true
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_posix.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 16 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/ui/comboboxes.c
824unreadVariable563styleVariable 'ctrl' is assigned a value that is never used.
gate/ui/forms.c
735ConfigurationNotCheckedinformationSkipping 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.
831ConfigurationNotCheckedinformationSkipping 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.
1965knownConditionTrueFalse570styleCondition 'w_owner' is always false
1994knownConditionTrueFalse570styleCondition '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.
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/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
723unreadVariable563styleVariable 'hitem' is assigned a value that is never used.
741unusedVariable563styleUnused variable: nmtv