LineIdCWESeverityMessage
apps/contools/gatecli/unit_accounts.c
513unreadVariable563styleVariable 'strm' is assigned a value that is never used.
548unreadVariable563styleVariable 'strm' is assigned a value that is never used.
587unreadVariable563styleVariable 'strm' is assigned a value that is never used.
621unreadVariable563styleVariable 'strm' is assigned a value that is never used.
661unreadVariable563styleVariable 'strm' is assigned a value that is never used.
703unreadVariable563styleVariable 'strm' is assigned a value that is never used.
apps/contools/gatecli/unit_device.c
152variableScope398styleThe scope of the variable 'hexbuffer' can be reduced.
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.
617variableScope398styleThe scope of the variable 'path' can be reduced.
757variableScope398styleThe scope of the variable 'ptr_pattern' can be reduced.
787variableScope398styleThe scope of the variable 'ptr_name' can be reduced.
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
85variableScope398styleThe scope of the variable 'buffer' can be reduced.
121variableScope398styleThe scope of the variable 'buffer' can be reduced.
146unreadVariable563styleVariable 'stream' is assigned a value that is never used.
157unreadVariable563styleVariable 'stream' is assigned a value that is never used.
307variableScope398styleThe scope of the variable 'str_total' can be reduced.
308variableScope398styleThe scope of the variable 'str_avail' can be reduced.
309variableScope398styleThe scope of the variable 'str_virt_total' can be reduced.
310variableScope398styleThe scope of the variable 'str_virt_avail' can be reduced.
apps/contools/gatecli/unit_sysmgmt.c
27redundantAssignment563styleVariable 'iter' is reassigned a value before the old one has been used.
apps/contools/gatecli/unit_video.c
25variableScope398styleThe scope of the variable 'ptr_format' can be reduced.
apps/contools/gatesvc/gatesvc.cpp
221unreadVariable563styleVariable 'flags' is assigned a value that is never used.
apps/contools/hash/hash.cpp
81redundantAssignment563styleVariable 'strm' is reassigned a value before the old one has been used.
apps/contools/hostinfo/hostinfo.c
187variableScope398styleThe scope of the variable 'buffer' can be reduced.
apps/contools/pix/pix.cpp
50redundantAssignment563styleVariable 'format' is reassigned a value before the old one has been used.
76redundantAssignment563styleVariable 'format' is reassigned a value before the old one has been used.
apps/contools/process/process.c
138variableScope398styleThe scope of the variable 'pidbuffer' can be reduced.
139variableScope398styleThe scope of the variable 'ppidbuffer' can be reduced.
186variableScope398styleThe scope of the variable 'pidbuffer' can be reduced.
apps/contools/sftpcli/sftpcli.cpp
51shadowVar398styleLocal variable options shadows outer variable
apps/contools/socopcli/master.hpp
58noExplicitConstructor398styleStruct 'Resource' has a constructor with 1 argument that is not explicit.
apps/contools/socopcli/socopcli.cpp
403redundantAssignment563styleVariable 'strm' is reassigned a value before the old one has been used.
apps/contools/sqldb/sqldb.cpp
200shadowVar398styleLocal variable outfile shadows outer variable
apps/contools/storedrv/storedrv.c
317variableScope398styleThe scope of the variable 'try_blocks' can be reduced.
apps/contools/tcpcli/tcpcli.cpp
101variableScope398styleThe scope of the variable 'timeout' can be reduced.
102variableScope398styleThe scope of the variable 'port' can be reduced.
167variableScope398styleThe scope of the variable 'port' can be reduced.
211shadowVar398styleLocal variable result shadows outer variable
apps/contools/txeditor/txtedit.c
216variableScope398styleThe scope of the variable 'ptr_entry' can be reduced.
267redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
372variableScope398styleThe scope of the variable 'ptr_menu_entry' can be reduced.
486variableScope398styleThe scope of the variable 'state' can be reduced.
apps/graphic/aniplay/aniplay.c
174redundantAssignment563styleVariable 'result' is reassigned a value before the old one has been used.
210redundantAssignment563styleVariable 'result' is reassigned a value before the old one has been used.
apps/graphic/gateframes/mandelbrot_plugin.c
162variableScope398styleThe scope of the variable 'x' can be reduced.
162variableScope398styleThe scope of the variable 'y' can be reduced.
apps/graphic/gateframes/snake_plugin.c
303variableScope398styleThe scope of the variable 'p1' can be reduced.
340variableScope398styleThe scope of the variable 'ptr_apple' can be reduced.
401variableScope398styleThe scope of the variable 'ptr_patch' can be reduced.
apps/graphic/gateframes/starfield_plugin.c
128variableScope398styleThe scope of the variable 'ptr_star' can be reduced.
131variableScope398styleThe scope of the variable 'vx' can be reduced.
131variableScope398styleThe scope of the variable 'vy' can be reduced.
131variableScope398styleThe scope of the variable 'vx2' can be reduced.
131variableScope398styleThe scope of the variable 'vy2' can be reduced.
131variableScope398styleThe scope of the variable 'vz' can be reduced.
132variableScope398styleThe scope of the variable 'l' can be reduced.
133variableScope398styleThe scope of the variable 'sx' can be reduced.
133variableScope398styleThe scope of the variable 'sy' can be reduced.
apps/graphic/gategames/blocklevels.cpp
1153knownConditionTrueFalse570styleCondition 'translucent' is always false
1171knownConditionTrueFalse570styleCondition 'translucent' is always false
apps/graphic/gategames/blocklevels.hpp
98missingOverridestyleThe function 'loadModule' overrides a function in a base class but is not marked with a 'override' specifier.
99missingOverridestyleThe function 'unloadModule' overrides a function in a base class but is not marked with a 'override' specifier.
100missingOverridestyleThe function 'render' overrides a function in a base class but is not marked with a 'override' specifier.
101missingOverridestyleThe function 'processKeyDown' overrides a function in a base class but is not marked with a 'override' specifier.
102missingOverridestyleThe function 'processKeyUp' overrides a function in a base class but is not marked with a 'override' specifier.
103missingOverridestyleThe function 'processPointerDown' overrides a function in a base class but is not marked with a 'override' specifier.
104missingOverridestyleThe function 'processPointerMove' overrides a function in a base class but is not marked with a 'override' specifier.
105missingOverridestyleThe function 'processPointerUp' overrides a function in a base class but is not marked with a 'override' specifier.
apps/vast/vbincopy/vbincopy.cpp
847unreadVariable563styleVariable 'autoCompress' is assigned a value that is never used.
940unreadVariable563styleVariable 'completed' is assigned a value that is never used.
992unreadVariable563styleVariable 'bytesCopied' is assigned a value that is never used.
1096unreadVariable563styleVariable 'row5' is assigned a value that is never used.
1136unreadVariable563styleVariable 'row5' is assigned a value that is never used.
1230unreadVariable563styleVariable 'separatorLength' is assigned a value that is never used.
apps/vast/vdb/vdb.cpp
219uninitMemberVar398warningMember variable 'DataConnectionPage::datamanager' is not initialized in the constructor.
312uninitMemberVar398warningMember variable 'ResultPage::datamanager' is not initialized in the constructor.
524class_X_YinformationThe code 'class GATE_API_LOCAL VDB :' is not handled. You can use -I or --include to add handling of this code.
apps/vast/vfilemgr/vfilemgr.cpp
229noExplicitConstructor398styleClass 'FileProperties' has a constructor with 1 argument that is not explicit.
279unreadVariable563styleVariable 'rowSep1' is assigned a value that is never used.
281unreadVariable563styleVariable 'rowSep2' is assigned a value that is never used.
674shadowVar398styleLocal variable parent shadows outer variable
901redundantAssignment563styleVariable 'lvwIcon' is reassigned a value before the old one has been used.
974variableScope398styleThe scope of the variable 'lv' can be reduced.
apps/vast/vpix/vpix.cpp
445unreadVariable563styleVariable 'rowBottom' is assigned a value that is never used.
465unreadVariable563styleVariable 'host' is assigned a value that is never used.
630shadowVar398styleLocal variable selectedFormat shadows outer variable
712variableScope398styleThe scope of the variable 'toolbarId' can be reduced.
749unreadVariable563styleVariable 'host' is assigned a value that is never used.
1084unreadVariable563styleVariable 'rowStatusbar' is assigned a value that is never used.
apps/vast/vtest/vtest.cpp
171unreadVariable563styleVariable 'lineHeight' is assigned a value that is never used.
apps/vast/vtxtedit/vtxtedit.cpp
183shadowVar398styleLocal variable txt shadows outer variable
605unreadVariable563styleVariable 'row4' is assigned a value that is never used.
891unreadVariable563styleVariable 'lineCount' is assigned a value that is never used.
892unreadVariable563styleVariable 'col' is assigned a value that is never used.
893unreadVariable563styleVariable 'line' is assigned a value that is never used.
1104unreadVariable563styleVariable 'lineheight' is assigned a value that is never used.
1105unreadVariable563styleVariable 'controlHeight' is assigned a value that is never used.
apps/vast/vweb/vweb.cpp
249unreadVariable563styleVariable 'uiHost' is assigned a value that is never used.
276unreadVariable563styleVariable 'lineheight' is assigned a value that is never used.
277unreadVariable563styleVariable 'controlHeight' is assigned a value that is never used.
283unreadVariable563styleVariable 'right' is assigned a value that is never used.
330noExplicitConstructor398styleClass 'Browser' has a constructor with 1 argument that is not explicit.
gate/applications.c
52variableScope398styleThe scope of the variable 'chr' can be reduced.
130variableScope398styleThe scope of the variable 'chr' can be reduced.
227uselessAssignmentPtrArg398warningAssignment of function parameter has no effect outside the function. Did you forget dereferencing it?
228uselessAssignmentArg398styleAssignment of function parameter has no effect outside the function.
230uselessAssignmentPtrArg398warningAssignment of function parameter has no effect outside the function. Did you forget dereferencing it?
366variableScope398styleThe scope of the variable 'current_arg' can be reduced.
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.
249variableScope398styleThe scope of the variable 'ptr' can be reduced.
465variableScope398styleThe scope of the variable 'dst' can be reduced.
466variableScope398styleThe scope of the variable 'src' can be reduced.
509variableScope398styleThe scope of the variable 'srcptr' can be reduced.
510variableScope398styleThe scope of the variable 'dstptr' can be reduced.
633variableScope398styleThe scope of the variable 'dstptr' can be reduced.
678variableScope398styleThe scope of the variable 'dstptr' can be reduced.
868variableScope398styleThe scope of the variable 'dstptr' can be reduced.
1186variableScope398styleThe scope of the variable 'ptr' can be reduced.
1211variableScope398styleThe scope of the variable 'ptrend' can be reduced.
1273variableScope398styleThe scope of the variable 'ptrend' can be reduced.
1295variableScope398styleThe scope of the variable 'ptrend' can be reduced.
gate/atomics.c
679CastIntegerToAddressAtReturn758portabilityReturning an integer in a function with pointer return type is not portable.
815CastIntegerToAddressAtReturn758portabilityReturning an integer in a function with pointer return type is not portable.
871variableScope398styleThe scope of the variable 'tmpValue' can be reduced.
896variableScope398styleThe scope of the variable 'tmpValue' can be reduced.
gate/blobs.c
209variableScope398styleThe scope of the variable 'data' can be reduced.
gate/callstacks.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations.
859uselessAssignmentPtrArg398warningAssignment of function parameter has no effect outside the function. Did you forget dereferencing it?
864unreadVariable563styleVariable 'stack_top' is assigned a value that is never used.
gate/console.c
1238unreadVariable563styleVariable 'impl' is assigned a value that is never used.
1281unreadVariable563styleVariable 'impl' is assigned a value that is never used.
1491unreadVariable563styleVariable 'ptr' is assigned a value that is never used.
gate/coroutines.c
659redundantAssignment563styleVariable 'result' is reassigned a value before the old one has been used.
676unreadVariable563styleVariable 'old_session' is assigned a value that is never used.
689variableScope398styleThe scope of the variable 'ptr_ctx' can be reduced.
921variableScope398styleThe scope of the variable 'new_context' can be reduced.
930nullPointerRedundantCheck476warningEither the condition 'current_context==NULL' is redundant or there is possible null pointer dereference: current_context.
946redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
957variableScope398styleThe scope of the variable 'session' can be reduced.
1354variableScope398styleThe scope of the variable 'current_ctx' can be reduced.
1356variableScope398styleThe scope of the variable 'new_ctx' can be reduced.
1427variableScope398styleThe scope of the variable 'ptr_current_ctx' can be reduced.
1855redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/cxx_coroutines.cpp
51noExplicitConstructor398styleStruct 'CoroutineDispatcher' has a constructor with 1 argument that is not explicit.
55noExplicitConstructor398styleStruct 'CoroutineDispatcher' has a constructor with 1 argument that is not explicit.
gate/cxx_processes.cpp
385knownConditionTrueFalse570styleCondition 'ptr_stream' is always false
gate/cxx_runnables.cpp
528noExplicitConstructor398styleClass 'TaskRunnableDispatcher' has a constructor with 1 argument that is not explicit.
gate/cxx_strings.cpp
674shadowVar398styleLocal variable empty_dummy shadows outer variable
918nullPointerRedundantCheck476warningEither the condition 'ptr' is redundant or there is possible null pointer dereference: ptr.
gate/cxx_utilities.cpp
150variableScope398styleThe scope of the variable 'ptr' can be reduced.
166variableScope398styleThe scope of the variable 'ptr' can be reduced.
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
522variableScope398styleThe scope of the variable 'my_result' can be reduced.
579variableScope398styleThe scope of the variable 'result' can be reduced.
gate/data/odbc_adapter.c
132redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/data/sqlite3_adapter.c
359unreadVariable563styleVariable 'stmt' is assigned a value that is never used.
373variableScope398styleThe scope of the variable 'sql3_result' can be reduced.
461variableScope398styleThe scope of the variable 'ptr_name' can be reduced.
553unreadVariable563styleVariable 'db' is assigned a value that is never used.
555variableScope398styleThe scope of the variable 'cnt' can be reduced.
651variableScope398styleThe scope of the variable 'sql3_result' can be reduced.
743variableScope398styleThe scope of the variable 'param_name' can be reduced.
801variableScope398styleThe scope of the variable 'sql3_result' can be reduced.
899variableScope398styleThe scope of the variable 'sql3_result' can be reduced.
gate/debugging.c
313variableScope398styleThe scope of the variable 'msgbuffer' can be reduced.
gate/encode/base64.c
155variableScope398styleThe scope of the variable 'ptrsrc' can be reduced.
156variableScope398styleThe scope of the variable 'ptrdst' can be reduced.
282variableScope398styleThe scope of the variable 'buffer' can be reduced.
gate/encode/crchash.c
44variableScope398styleThe scope of the variable 'chr' can be reduced.
gate/encode/inifiles.c
134variableScope398styleThe scope of the variable 'entry_map' can be reduced.
175variableScope398styleThe scope of the variable 'entry_map' can be reduced.
221variableScope398styleThe scope of the variable 'entry_map' can be reduced.
gate/encode/json.c
55variableScope398styleThe scope of the variable 'ptr' can be reduced.
152variableScope398styleThe scope of the variable 'ptr' can be reduced.
gate/encode/md5hash.c
83variableScope398styleThe scope of the variable 'dtemp' can be reduced.
gate/encode/sha1hash.c
65variableScope398styleThe scope of the variable 't' can be reduced.
gate/encode/sha256hash.c
80variableScope398styleThe scope of the variable 'ch' can be reduced.
81variableScope398styleThe scope of the variable 'temp1' can be reduced.
82variableScope398styleThe scope of the variable 'temp2' can be reduced.
83variableScope398styleThe scope of the variable 'maj' 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.
102variableScope398styleThe scope of the variable 'chr' can be reduced.
gate/encode/texts.c
208variableScope398styleThe scope of the variable 'ptr' can be reduced.
271variableScope398styleThe scope of the variable 'ptr' can be reduced.
331variableScope398styleThe scope of the variable 'ptr' can be reduced.
380variableScope398styleThe scope of the variable 'ptr' can be reduced.
1346redundantAssignment563styleVariable 'ptr_text' is reassigned a value before the old one has been used.
gate/encode/xml.c
94variableScope398styleThe scope of the variable 'ptr' can be reduced.
188variableScope398styleThe scope of the variable 'ptr' can be reduced.
561variableScope398styleThe scope of the variable 'ptr_text' can be reduced.
761variableScope398styleThe scope of the variable 'quot_char' can be reduced.
gate/encode/yaml.c
104variableScope398styleThe scope of the variable 'quote_char' can be reduced.
211variableScope398styleThe scope of the variable 'chr' can be reduced.
918variableScope398styleThe scope of the variable 'ptr_name' can be reduced.
1067variableScope398styleThe scope of the variable 'ptr_prop' can be reduced.
1384variableScope398styleThe scope of the variable 'ptr' can be reduced.
1425redundantAssignInSwitch563warningVariable 'ret' is reassigned a value before the old one has been used. 'break;' missing?
1425redundantAssignInSwitch563warningVariable 'ret' is reassigned a value before the old one has been used. 'break;' missing?
1425redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/encode/zipstreams.c
298knownConditionTrueFalse570styleCondition 'offset==0' is always false
318variableScope398styleThe scope of the variable 'file_functions' can be reduced.
371variableScope398styleThe scope of the variable 'result' can be reduced.
476variableScope398styleThe scope of the variable 'file_functions' can be reduced.
633variableScope398styleThe scope of the variable 'result' can be reduced.
gate/encode/zlibstreams.c
120variableScope398styleThe scope of the variable 'zresult' can be reduced.
298variableScope398styleThe scope of the variable 'zresult' can be reduced.
461redundantAssignment563styleVariable 'result' is reassigned a value before the old one has been used.
481variableScope398styleThe scope of the variable 'zresult' can be reduced.
563variableScope398styleThe scope of the variable 'zresult' can be reduced.
681variableScope398styleThe scope of the variable 'ctrl' can be reduced.
694variableScope398styleThe scope of the variable 'ctrl' can be reduced.
717variableScope398styleThe scope of the variable 'ctrl' can be reduced.
734variableScope398styleThe scope of the variable 'ctrl' can be reduced.
782variableScope398styleThe scope of the variable 'ctrl' can be reduced.
gate/environments.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.
907variableScope398styleThe scope of the variable 'varname' can be reduced.
908variableScope398styleThe scope of the variable 'varvalue' can be reduced.
1254variableScope398styleThe scope of the variable 'len_used' can be reduced.
gate/files.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations.
143variableScope398styleThe scope of the variable 'ptr_str' can be reduced.
490redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
3560variableScope398styleThe scope of the variable 'rlresult' can be reduced.
3620variableScope398styleThe scope of the variable 'parent' can be reduced.
3646variableScope398styleThe scope of the variable 'result' can be reduced.
3755redundantAssignment563styleVariable 'result' is reassigned a value before the old one has been used.
4249variableScope398styleThe scope of the variable 'result' can be reduced.
4293redundantAssignment563styleVariable 'result' is reassigned a value before the old one has been used.
4533variableScope398styleThe scope of the variable 'result' can be reduced.
4570unreadVariable563styleVariable 'result' is assigned a value that is never used.
4615variableScope398styleThe scope of the variable 'result' can be reduced.
4666variableScope398styleThe scope of the variable 'result' can be reduced.
4735variableScope398styleThe scope of the variable 'result' can be reduced.
4777variableScope398styleThe scope of the variable 'result' can be reduced.
4941redundantAssignment563styleVariable 'entry.path[2]' is reassigned a value before the old one has been used.
5184variableScope398styleThe scope of the variable 'ptr_dirent' can be reduced.
5218variableScope398styleThe scope of the variable 'ptr_dir' can be reduced.
5796knownConditionTrueFalse571styleCondition 'is_executable' is always true
gate/functions.c
202variableScope398styleThe scope of the variable 'used' can be reduced.
220variableScope398styleThe scope of the variable 'padd' can be reduced.
275unusedStructMember563stylestruct member 'gate_function_context::function_ptr' is never used.
276unusedStructMember563stylestruct member 'gate_function_context::eax' is never used.
277unusedStructMember563stylestruct member 'gate_function_context::ebx' is never used.
278unusedStructMember563stylestruct member 'gate_function_context::ecx' is never used.
279unusedStructMember563stylestruct member 'gate_function_context::edx' is never used.
280unusedStructMember563stylestruct member 'gate_function_context::esi' is never used.
281unusedStructMember563stylestruct member 'gate_function_context::edi' is never used.
290unusedStructMember563styleunion member 'x86_arguments::function_ptr' is never used.
327unusedStructMember563styleunion member 'x64_arguments::function_ptr' is never used.
328unusedStructMember563styleunion member 'x64_arguments::buffer' is never used.
346unreadVariable563styleVariable 'x64_args' is assigned a value that is never used.
519ConfigurationNotCheckedinformationSkipping 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.
525ConfigurationNotCheckedinformationSkipping 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.
528ConfigurationNotCheckedinformationSkipping 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.
539ConfigurationNotCheckedinformationSkipping 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.
547ConfigurationNotCheckedinformationSkipping 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.
550ConfigurationNotCheckedinformationSkipping 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.
560variableScope398styleThe scope of the variable 'fault_code' can be reduced.
gate/graphics/bitmapimages.c
605variableScope398styleThe scope of the variable 'ptrline' can be reduced.
gate/graphics/colors.c
159unreadVariable563styleVariable 'ptr' is modified but its new value is never used.
279variableScope398styleThe scope of the variable 'tmp' can be reduced.
gate/graphics/fonts.c
38unusedStructMember563stylestruct member 'gate_font_char_mapping::character' is never used.
39unusedStructMember563stylestruct member 'gate_font_char_mapping::bits' is never used.
gate/graphics/framebuffers.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.
375unreadVariable563styleVariable 'impl' is assigned a value that is never used.
460unreadVariable563styleVariable 'impl' is assigned a value that is never used.
493unreadVariable563styleVariable 'impl' is assigned a value that is never used.
515unreadVariable563styleVariable 'impl' is assigned a value that is never used.
519unreadVariable563styleVariable 'impl' is assigned a value that is never used.
523unreadVariable563styleVariable 'impl' is assigned a value that is never used.
527unreadVariable563styleVariable 'impl' is assigned a value that is never used.
531unreadVariable563styleVariable 'impl' is assigned a value that is never used.
535unreadVariable563styleVariable 'impl' is assigned a value that is never used.
539unreadVariable563styleVariable 'impl' is assigned a value that is never used.
543unreadVariable563styleVariable 'impl' is assigned a value that is never used.
547unreadVariable563styleVariable 'impl' is assigned a value that is never used.
551unreadVariable563styleVariable 'impl' is assigned a value that is never used.
632unreadVariable563styleVariable 'impl' is assigned a value that is never used.
996unreadVariable563styleVariable 'impl' is assigned a value that is never used.
1001unreadVariable563styleVariable 'impl' is assigned a value that is never used.
1016unreadVariable563styleVariable 'impl' is assigned a value that is never used.
1021unreadVariable563styleVariable 'impl' is assigned a value that is never used.
1027unreadVariable563styleVariable 'impl' is assigned a value that is never used.
gate/graphics/gifimages.c
97variableScope398styleThe scope of the variable 'ptr_pixel8_index' can be reduced.
325variableScope398styleThe scope of the variable 'gif_result' can be reduced.
457variableScope398styleThe scope of the variable 'ptr_line' can be reduced.
517redundantAssignment563styleVariable 'index' is reassigned a value before the old one has been used.
563variableScope398styleThe scope of the variable 'gif_result' can be reduced.
568variableScope398styleThe scope of the variable 'width' can be reduced.
569variableScope398styleThe scope of the variable 'height' can be reduced.
906variableScope398styleThe scope of the variable 'gif_result' can be reduced.
990variableScope398styleThe scope of the variable 'image_width' can be reduced.
990variableScope398styleThe scope of the variable 'image_height' can be reduced.
991variableScope398styleThe scope of the variable 'gif_result' can be reduced.
995variableScope398styleThe scope of the variable 'gif_ext_used' can be reduced.
1115variableScope398styleThe scope of the variable 'gif_result' can be reduced.
1118unreadVariable563styleVariable 'gif_result' is assigned a value that is never used.
gate/graphics/gl_apis.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 47 configurations. Use --force to check all configurations.
gate/graphics/imageformats.c
59variableScope398styleThe scope of the variable 'ext' can be reduced.
gate/graphics/images.c
37variableScope398styleThe scope of the variable 'diff' can be reduced.
38variableScope398styleThe scope of the variable 'bytes_per_line' can be reduced.
297variableScope398styleThe scope of the variable 'bytes_per_line' can be reduced.
484variableScope398styleThe scope of the variable 'ptr_dest' can be reduced.
485variableScope398styleThe scope of the variable 'ptr_src' can be reduced.
503variableScope398styleThe scope of the variable 'x' can be reduced.
503variableScope398styleThe scope of the variable 'y' can be reduced.
505variableScope398styleThe scope of the variable 'ptr_src' can be reduced.
506variableScope398styleThe scope of the variable 'ptr_dest' can be reduced.
507variableScope398styleThe scope of the variable 'src_pixel_len' can be reduced.
508variableScope398styleThe scope of the variable 'dest_pixel_len' can be reduced.
535variableScope398styleThe scope of the variable 'len' can be reduced.
536variableScope398styleThe scope of the variable 'ptr_src' can be reduced.
537variableScope398styleThe scope of the variable 'ptr_dst' can be reduced.
538variableScope398styleThe scope of the variable 'end_line' can be reduced.
539variableScope398styleThe scope of the variable 'next_line' can be reduced.
688variableScope398styleThe scope of the variable 'x_len' can be reduced.
689variableScope398styleThe scope of the variable 'y_len' can be reduced.
693variableScope398styleThe scope of the variable 'src_pixel_length' can be reduced.
694variableScope398styleThe scope of the variable 'dst_pixel_length' can be reduced.
795variableScope398styleThe scope of the variable 'ptrpixel' can be reduced.
867redundantAssignment563styleVariable 'ptrpixel' is reassigned a value before the old one has been used.
946variableScope398styleThe scope of the variable 'ptr' can be reduced.
993variableScope398styleThe scope of the variable 'ptr_dst' can be reduced.
994variableScope398styleThe scope of the variable 'ptr_src' can be reduced.
1027variableScope398styleThe scope of the variable 'ptr_dst' can be reduced.
1028variableScope398styleThe scope of the variable 'ptr_src' can be reduced.
1057variableScope398styleThe scope of the variable 'ptr_dst' can be reduced.
1058variableScope398styleThe scope of the variable 'ptr_src' can be reduced.
1084variableScope398styleThe scope of the variable 'len' can be reduced.
1134variableScope398styleThe scope of the variable 'x' can be reduced.
1138variableScope398styleThe scope of the variable 'count' can be reduced.
1185variableScope398styleThe scope of the variable 'miny' can be reduced.
1185variableScope398styleThe scope of the variable 'maxy' can be reduced.
1189variableScope398styleThe scope of the variable 'ptr_out' can be reduced.
gate/graphics/jpegimages.c
97duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
129variableScope398styleThe scope of the variable 'nbytes' can be reduced.
171variableScope398styleThe scope of the variable 'jpeg_result' can be reduced.
174variableScope398styleThe scope of the variable 'ptrpixels' can be reduced.
gate/graphics/pixmapimages.c
42variableScope398styleThe scope of the variable 'lineptr' can be reduced.
gate/graphics/pngimages.c
139variableScope398styleThe scope of the variable 'png_interlace_type' can be reduced.
140variableScope398styleThe scope of the variable 'png_color_type' can be reduced.
141variableScope398styleThe scope of the variable 'png_bit_depth' can be reduced.
gate/guids.c
69variableScope398styleThe scope of the variable 'ptr' can be reduced.
110redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/hashes.c
176variableScope398styleThe scope of the variable 'ptr_member' can be reduced.
219variableScope398styleThe scope of the variable 'ptr_name' can be reduced.
gate/inputs.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 28 configurations. Use --force to check all configurations.
403ConfigurationNotCheckedinformationSkipping configuration 'GATE_SYS_WIN;VK_LWIN' since the value of 'VK_LWIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
419ConfigurationNotCheckedinformationSkipping configuration 'GATE_SYS_WIN;VK_NONCONVERT' since the value of 'VK_NONCONVERT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
422ConfigurationNotCheckedinformationSkipping configuration 'GATE_SYS_WIN;VK_ACCEPT' since the value of 'VK_ACCEPT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
425ConfigurationNotCheckedinformationSkipping configuration 'GATE_SYS_WIN;VK_MODECHANGE' since the value of 'VK_MODECHANGE' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
527ConfigurationNotCheckedinformationSkipping configuration 'GATE_SYS_WIN;VK_OEM_1' since the value of 'VK_OEM_1' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
713ConfigurationNotCheckedinformationSkipping configuration 'GATE_SYS_WIN;VK_LWIN' since the value of 'VK_LWIN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
725ConfigurationNotCheckedinformationSkipping configuration 'GATE_SYS_WIN;VK_OEM_1' since the value of 'VK_OEM_1' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
gate/interfaces/socop.hpp
110noExplicitConstructor398styleClass 'SocopClient' has a constructor with 1 argument that is not explicit.
151noExplicitConstructor398styleClass 'SocopServer' has a constructor with 1 argument that is not explicit.
gate/interfaces/socop_impl.c
65nullPointer476warningPossible null pointer dereference: ptr_data
78variableScope398styleThe scope of the variable 'more' can be reduced.
79variableScope398styleThe scope of the variable 'result' can be reduced.
gate/interfaces/socop_impl.hpp
286unreadVariable563styleVariable 'result' is assigned a value that is never used.
gate/io/audiosources.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 14 configurations. Use --force to check all configurations.
526variableScope398styleThe scope of the variable 'hdr_buffer' can be reduced.
682redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
770variableScope398styleThe scope of the variable 'memdata' can be reduced.
1363unreadVariable563styleVariable 'impl' is assigned a value that is never used.
gate/io/ipcsharedmem.c
50unusedStructMember563stylestruct member 'gate_ipcsharedmem_data_class::data' is never used.
177variableScope398styleThe scope of the variable 'ptr_mem' can be reduced.
241autoVariables562errorAddress of local auto-variable assigned to a function parameter.
253nullPointerArithmeticRedundantCheck682warningEither the condition '!dataptr' is redundant or there is overflow in pointer subtraction.
284variableScope398styleThe scope of the variable 'id' can be reduced.
285variableScope398styleThe scope of the variable 'ptr' can be reduced.
286variableScope398styleThe scope of the variable 'err_code' can be reduced.
333variableScope398styleThe scope of the variable 'id' can be reduced.
334variableScope398styleThe scope of the variable 'err_code' can be reduced.
405variableScope398styleThe scope of the variable 'ptr' can be reduced.
gate/io/logging.c
114variableScope398styleThe scope of the variable 'buffer' can be reduced.
gate/io/pipes.c
762variableScope398styleThe scope of the variable 'bytes' can be reduced.
791variableScope398styleThe scope of the variable 'bytes' can be reduced.
gate/io/serialports.c
845unreadVariable563styleVariable 'param' is assigned a value that is never used.
846variableScope398styleThe scope of the variable 'path' can be reduced.
881variableScope398styleThe scope of the variable 'fd' can be reduced.
1225variableScope398styleThe scope of the variable 'status' can be reduced.
1282variableScope398styleThe scope of the variable 'status' can be reduced.
1283variableScope398styleThe scope of the variable 'chr' can be reduced.
1288unreadVariable563styleVariable 'status' is assigned a value that is never used.
gate/io/videosources.c
965redundantAssignment563styleVariable 'result' is reassigned a value before the old one has been used.
1037variableScope398styleThe scope of the variable 'width' can be reduced.
1037variableScope398styleThe scope of the variable 'height' can be reduced.
1038variableScope398styleThe scope of the variable 'dst_pixel' can be reduced.
3242unusedStructMember563stylestruct member 'gate_v4l_convert_code::get_default_dev_ops' is never used.
3244unusedStructMember563stylestruct member 'gate_v4l_convert_code::create_with_dev_ops' is never used.
3994variableScope398styleThe scope of the variable 'result' can be reduced.
3995variableScope398styleThe scope of the variable 'ptr_frame_pixels' can be reduced.
4106variableScope398styleThe scope of the variable 'result' can be reduced.
gate/io/videosources_screen.c
421unreadVariable563styleVariable 'self' is assigned a value that is never used.
1000variableScope398styleThe scope of the variable 'ptr_dst_pixel' can be reduced.
1027variableScope398styleThe scope of the variable 'ptr_dst_pixel' can be reduced.
1054variableScope398styleThe scope of the variable 'ptr_dst_pixel' can be reduced.
gate/libraries.c
220variableScope398styleThe scope of the variable 'handle' can be reduced.
gate/maps.c
1278variableScope398styleThe scope of the variable 'slot' can be reduced.
1366variableScope398styleThe scope of the variable 'current_key' can be reduced.
1367variableScope398styleThe scope of the variable 'current_value' can be reduced.
1390variableScope398styleThe scope of the variable 'current_key' can be reduced.
1410variableScope398styleThe scope of the variable 'ptr_key' can be reduced.
1634variableScope398styleThe scope of the variable 'ptr_entry' can be reduced.
1675variableScope398styleThe scope of the variable 'ptr_entry' can be reduced.
1777variableScope398styleThe scope of the variable 'ptr_key' can be reduced.
1778variableScope398styleThe scope of the variable 'ptr_value' can be reduced.
1826variableScope398styleThe scope of the variable 'ptr_bucket' can be reduced.
1850variableScope398styleThe scope of the variable 'ptr_entry' can be reduced.
2004variableScope398styleThe scope of the variable 'ptr_key' can be reduced.
2005variableScope398styleThe scope of the variable 'ptr_value' can be reduced.
2022variableScope398styleThe scope of the variable 'ptr_key' can be reduced.
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.
617variableScope398styleThe scope of the variable 'factor' can be reduced.
618variableScope398styleThe scope of the variable 'n' can be reduced.
622variableScope398styleThe scope of the variable 'a' can be reduced.
623variableScope398styleThe scope of the variable 'b' can be reduced.
gate/memalloc.c
213variableScope398styleThe scope of the variable 'tmp' can be reduced.
gate/net/cxx_mqttprotocols.cpp
158unreadVariable563styleVariable 'blockSize' is assigned a value that is never used.
198unreadVariable563styleVariable 'blockSize' is assigned a value that is never used.
470duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
gate/net/cxx_sshclients.cpp
170knownConditionTrueFalse571styleCondition 'continueRead' is always true
gate/net/ftpclients.c
214variableScope398styleThe scope of the variable 'ptr_pass' can be reduced.
915redundantAssignment563styleVariable 'curlcode' is reassigned a value before the old one has been used.
916redundantAssignment563styleVariable 'curlcode' is reassigned a value before the old one has been used.
1031duplicateExpression398styleSame expression on both sides of '&&'.
gate/net/httpclients.c
998redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1557knownConditionTrueFalse570styleCondition 'form_post' is always false
1662variableScope398styleThe scope of the variable 'ptr_str' can be reduced.
gate/net/httpservers.c
233variableScope398styleThe scope of the variable 'ptr_server' can be reduced.
330variableScope398styleThe scope of the variable 'ptr_content' can be reduced.
903variableScope398styleThe scope of the variable 'ptrptr_conn' can be reduced.
1630shadowVar398styleLocal variable file_attribs shadows outer variable
gate/net/httptypes.c
376variableScope398styleThe scope of the variable 'm' can be reduced.
gate/net/mqttprotocols.c
158variableScope398styleThe scope of the variable 'buffer' can be reduced.
188variableScope398styleThe scope of the variable 'buffer' can be reduced.
322variableScope398styleThe scope of the variable 'data_stream' can be reduced.
393variableScope398styleThe scope of the variable 'data_stream' can be reduced.
394variableScope398styleThe scope of the variable 'subscr' can be reduced.
446variableScope398styleThe scope of the variable 'data_stream' can be reduced.
447variableScope398styleThe scope of the variable 'ret_codes' can be reduced.
496variableScope398styleThe scope of the variable 'data_stream' can be reduced.
497variableScope398styleThe scope of the variable 'subscr' can be reduced.
gate/net/nameresolvers.c
122variableScope398styleThe scope of the variable 'errcode' can be reduced.
gate/net/platform/openssl_api.c
158redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
348duplicateExpression398styleSame expression on both sides of '|'.
352redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
374redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
455redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/net/platform/socket_api.c
123autoVariables562errorAddress of local auto-variable assigned to a function parameter.
205variableScope398styleThe scope of the variable 'result' can be reduced.
494variableScope398styleThe scope of the variable 'result' can be reduced.
855variableScope398styleThe scope of the variable 'result' can be reduced.
888variableScope398styleThe scope of the variable 'ndx' can be reduced.
gate/net/sockets.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 22 configurations. Use --force to check all configurations.
274ConfigurationNotCheckedinformationSkipping 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.
343redundantAssignInSwitch563warningVariable 's' is reassigned a value before the old one has been used. 'break;' missing?
344ConfigurationNotCheckedinformationSkipping 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.
612unreadVariable563styleVariable 'error_code' is assigned a value that is never used.
801variableScope398styleThe scope of the variable 'sentbytes' can be reduced.
gate/net/sockettools.c
160variableScope398styleThe scope of the variable 'buf' can be reduced.
333variableScope398styleThe scope of the variable 'tasks' can be reduced.
372variableScope398styleThe scope of the variable 'task' can be reduced.
408variableScope398styleThe scope of the variable 'task' can be reduced.
437variableScope398styleThe scope of the variable 'task' can be reduced.
467variableScope398styleThe scope of the variable 'task' can be reduced.
500variableScope398styleThe scope of the variable 'task' can be reduced.
1316redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/net/sshclients.c
437variableScope398styleThe scope of the variable 'ssh2_result' can be reduced.
531variableScope398styleThe scope of the variable 'userauthlist' can be reduced.
563redundantAssignment563styleVariable 'client->handles[2]' is reassigned a value before the old one has been used.
659redundantAssignInSwitch563warningVariable 'ret' is reassigned a value before the old one has been used. 'break;' missing?
660redundantAssignInSwitch563warningVariable 'ret' is reassigned a value before the old one has been used. 'break;' missing?
661redundantAssignInSwitch563warningVariable 'ret' is reassigned a value before the old one has been used. 'break;' missing?
662redundantAssignInSwitch563warningVariable 'ret' is reassigned a value before the old one has been used. 'break;' missing?
663redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
773duplicateExpression398styleSame expression on both sides of '|'.
779redundantAssignInSwitch563warningVariable 'flags' is reassigned a value before the old one has been used. 'break;' missing?
781redundantAssignInSwitch563warningVariable 'flags' is reassigned a value before the old one has been used. 'break;' missing?
1569variableScope398styleThe scope of the variable 'result' can be reduced.
1616redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1616redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1616redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/net/sslsessions.c
1879redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1879redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1977variableScope398styleThe scope of the variable 'result_code' can be reduced.
2028variableScope398styleThe scope of the variable 'result_code' can be reduced.
2075unreadVariable563styleVariable 'impl' is assigned a value that is never used.
2078duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
2176redundantAssignInSwitch563warningVariable 'ret' is reassigned a value before the old one has been used. 'break;' missing?
2176redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
2251redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
2251redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
2368variableScope398styleThe scope of the variable 'ssl_bytes_written' can be reduced.
2418variableScope398styleThe scope of the variable 'ssl_bytes_encoded' can be reduced.
2486variableScope398styleThe scope of the variable 'ssl_bytes_decoded' can be reduced.
gate/platform/android/gate_android_native_app_glue.c
263variableScope398styleThe scope of the variable 'exit_code' can be reduced.
266unreadVariable563styleVariable 'exit_code' is assigned a value that is never used.
283variableScope398styleThe scope of the variable 'events_processed' can be reduced.
311unreadVariable563styleVariable 'events_processed' is assigned a value that is never used.
351variableScope398styleThe scope of the variable 'motion_action' can be reduced.
352variableScope398styleThe scope of the variable 'x' can be reduced.
352variableScope398styleThe scope of the variable 'y' can be reduced.
354variableScope398styleThe scope of the variable 'key_flags' can be reduced.
355variableScope398styleThe scope of the variable 'key_code' can be reduced.
356variableScope398styleThe scope of the variable 'scan_code' can be reduced.
749variableScope398styleThe scope of the variable 'ident' can be reduced.
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.
405variableScope398styleThe scope of the variable 'i' can be reduced.
406variableScope398styleThe scope of the variable 'Success' can be reduced.
416unreadVariable563styleVariable 'Success' is assigned a value that is never used.
426variableScope398styleThe scope of the variable 'Success' can be reduced.
440unreadVariable563styleVariable 'Success' is assigned a value that is never used.
gate/platform/efi/efi_gate.c
1367variableScope398styleThe scope of the variable 'ptr_entry' can be reduced.
1382redundantAssignment563styleVariable 'status' is reassigned a value before the old one has been used.
1754duplicateExpression398styleSame expression on both sides of '||'.
gate/platform/java/jni_gate.c
322variableScope398styleThe scope of the variable 'ptr_queue' can be reduced.
gate/platform/wasm/wasm_gate.c
200shadowVar398styleLocal variable new_worker shadows outer variable
423variableScope398styleThe scope of the variable 'args' can be reduced.
554variableScope398styleThe scope of the variable 'ndx' can be reduced.
632unusedVariable563styleUnused variable: value
940variableScope398styleThe scope of the variable 'ndx' can be reduced.
1150unusedVariable563styleUnused variable: value
1292knownConditionTrueFalse398styleThe expression 'ret != 0' is always false.
1306knownConditionTrueFalse398styleThe expression 'ret != 0' is always false.
1334knownConditionTrueFalse398styleThe expression 'ret != 0' is always false.
gate/platform/windows/win32com.c
1365redundantAssignment563styleVariable 'ptr_entry' is reassigned a value before the old one has been 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_beos.c
225nullPointerRedundantCheck476warningEither the condition '!ptr_sem' is redundant or there is possible null pointer dereference: ptr_sem.
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.
267unreadVariable563styleVariable 'result' is assigned a value that is never used.
751unusedVariable563styleUnused variable: value
gate/platform_efi.c
154unusedVariable563styleUnused variable: value
gate/platform_winapi.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 26 configurations. Use --force to check all configurations.
487variableScope398styleThe scope of the variable 'utf16used' can be reduced.
790redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
805redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
821unusedStructMember563stylestruct member 'PROCESS_BASIC_INFO::Reserved1' is never used.
822unusedStructMember563stylestruct member 'PROCESS_BASIC_INFO::PebBaseAddress' is never used.
823unusedStructMember563stylestruct member 'PROCESS_BASIC_INFO::Reserved2' is never used.
825unusedStructMember563stylestruct member 'PROCESS_BASIC_INFO::Reserved3' is never used.
909knownConditionTrueFalse570styleCondition 'hadvapi' is always false
1446unusedStructMember563stylestruct member '_GATE_THREAD_BASIC_INFORMATION::TebBaseAddress' is never used.
2117unreadVariable563styleVariable 'tmp' is assigned a value that is never used.
gate/processes_posix.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 15 configurations. Use --force to check all configurations.
180variableScope398styleThe scope of the variable 'result' can be reduced.
285shadowVar398styleLocal variable wait_result shadows outer variable
310variableScope398styleThe scope of the variable 'result' can be reduced.
768variableScope398styleThe scope of the variable 'result' can be reduced.
936variableScope398styleThe scope of the variable 'procs' can be reduced.
937variableScope398styleThe scope of the variable 'procs_count' can be reduced.
1030redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1269variableScope398styleThe scope of the variable 'cnf_open_max' can be reduced.
1329variableScope398styleThe scope of the variable 'result' can be reduced.
1577variableScope398styleThe scope of the variable 'readlen' can be reduced.
1578variableScope398styleThe scope of the variable 'writelen' can be reduced.
1785unusedVariable563styleUnused variable: status
gate/properties.c
315variableScope398styleThe scope of the variable 'buffer' can be reduced.
572variableScope398styleThe scope of the variable 'member_name' can be reduced.
575variableScope398styleThe scope of the variable 'member_ptr' can be reduced.
796variableScope398styleThe scope of the variable 'arr_ptr' can be reduced.
867unusedStructMember563styleunion member 'local_generic_item::buffer' is never used.
977variableScope398styleThe scope of the variable 'member_name' can be reduced.
979variableScope398styleThe scope of the variable 'ptr_member' can be reduced.
1057variableScope398styleThe scope of the variable 'item' can be reduced.
1282variableScope398styleThe scope of the variable 'ptr_cols' can be reduced.
1376redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1396variableScope398styleThe scope of the variable 'ptr_columns' can be reduced.
1420variableScope398styleThe scope of the variable 'ptr_name' can be reduced.
1453variableScope398styleThe scope of the variable 'ptr_name' can be reduced.
1524variableScope398styleThe scope of the variable 'ptr_row' can be reduced.
1539variableScope398styleThe scope of the variable 'ptr_row' can be reduced.
1582redundantAssignment563styleVariable 'ptr_cleanup' is reassigned a value before the old one has been used.
1624redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1669variableScope398styleThe scope of the variable 'ptr_row' can be reduced.
1670variableScope398styleThe scope of the variable 'ptr_prop' can be reduced.
gate/randomgen.c
290redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
328AssignmentAddressToInteger758portabilityAssigning a pointer to an integer is not portable.
331variableScope398styleThe scope of the variable 'readresult' can be reduced.
347AssignmentAddressToInteger758portabilityAssigning a pointer to an integer is not portable.
350variableScope398styleThe scope of the variable 'readresult' can be reduced.
365AssignmentAddressToInteger758portabilityAssigning a pointer to an integer is not portable.
549variableScope398styleThe scope of the variable 'ptr_impl' can be reduced.
gate/regexpressions.c
58redundantCondition398styleRedundant condition: If 'EXPR == '-'', the comparison 'EXPR != '\0'' is always true.
246variableScope398styleThe scope of the variable 'ptr_compiled' can be reduced.
435variableScope398styleThe scope of the variable 'index' can be reduced.
gate/runnables.c
44variableScope398styleThe scope of the variable 'ptr_param' can be reduced.
67variableScope398styleThe scope of the variable 'src_param_ptr' can be reduced.
68variableScope398styleThe scope of the variable 'src_param_size' can be reduced.
423variableScope398styleThe scope of the variable 'param_store_address' can be reduced.
gate/scripting/luascripts.c
193variableScope398styleThe scope of the variable 'result' can be reduced.
363variableScope398styleThe scope of the variable 'lstate' can be reduced.
364variableScope398styleThe scope of the variable 'result' can be reduced.
404variableScope398styleThe scope of the variable 'lstate' can be reduced.
420variableScope398styleThe scope of the variable 'lstate' can be reduced.
446variableScope398styleThe scope of the variable 'lstate' can be reduced.
1070variableScope398styleThe scope of the variable 'lstate' can be reduced.
1139unreadVariable563styleVariable 'ret' is assigned a value that is never used.
1431variableScope398styleThe scope of the variable 'lstate' can be reduced.
gate/scripting/pythonscripts.c
115redundantAssignment563styleVariable 'close_library' is reassigned a value before the old one has been used.
gate/serializers.c
285variableScope398styleThe scope of the variable 'fnorm' can be reduced.
286variableScope398styleThe scope of the variable 'shift' can be reduced.
287variableScope398styleThe scope of the variable 'sign' can be reduced.
287variableScope398styleThe scope of the variable 'exp' can be reduced.
287variableScope398styleThe scope of the variable 'significand' can be reduced.
288variableScope398styleThe scope of the variable 'significandbits' can be reduced.
320variableScope398styleThe scope of the variable 'fnorm' can be reduced.
402variableScope398styleThe scope of the variable 'result' can be reduced.
403variableScope398styleThe scope of the variable 'shift' can be reduced.
429variableScope398styleThe scope of the variable 'result' can be reduced.
gate/streams.c
463variableScope398styleThe scope of the variable 'ptr' can be reduced.
820knownConditionTrueFalse570styleCondition 'position<0' is always false
1219knownConditionTrueFalse570styleCondition 'position<0' is always false
1909variableScope398styleThe scope of the variable 'print_type' can be reduced.
gate/strings.c
1187variableScope398styleThe scope of the variable 'ptr' can be reduced.
1718variableScope398styleThe scope of the variable 'ptr' can be reduced.
1738variableScope398styleThe scope of the variable 'ptr' can be reduced.
1758variableScope398styleThe scope of the variable 'ptr' can be reduced.
1780variableScope398styleThe scope of the variable 'ptr' can be reduced.
1800variableScope398styleThe scope of the variable 'ptr' can be reduced.
1820variableScope398styleThe scope of the variable 'ptr' can be reduced.
1842variableScope398styleThe scope of the variable 'ptr' can be reduced.
1862variableScope398styleThe scope of the variable 'ptr' can be reduced.
1882variableScope398styleThe scope of the variable 'ptr' can be reduced.
2251variableScope398styleThe scope of the variable 'print_type' can be reduced.
gate/structs.c
364variableScope398styleThe scope of the variable 'data_ptr' can be reduced.
gate/synchronization.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 15 configurations. Use --force to check all configurations.
374nullPointerRedundantCheck476warningEither the condition 'future?((struct gate_future_impl_t*)*future):NULL' is redundant or there is possible null pointer dereference: future.
1205variableScope398styleThe scope of the variable 'status' can be reduced.
1235variableScope398styleThe scope of the variable 'status' can be reduced.
1607redundantAssignment563styleVariable 'is_last_wakeup' is reassigned a value before the old one has been used.
1964variableScope398styleThe scope of the variable 'result' can be reduced.
2060variableScope398styleThe scope of the variable 'result' can be reduced.
2254variableScope398styleThe scope of the variable 'failed' can be reduced.
2301variableScope398styleThe scope of the variable 'failed' can be reduced.
2319variableScope398styleThe scope of the variable 'failed' can be reduced.
gate/system/netconfigs.c
1087variableScope398styleThe scope of the variable 'entry' can be reduced.
1523unusedVariable563styleUnused variable: ptr_mac_bytes
1648variableScope398styleThe scope of the variable 'ptr_ifr_end' can be reduced.
1653variableScope398styleThe scope of the variable 'result' can be reduced.
1809variableScope398styleThe scope of the variable 'result' can be reduced.
1826redundantAssignment563styleVariable 'ptr_ifa' is reassigned a value before the old one has been used.
1852duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
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/services.c
1012variableScope398styleThe scope of the variable 'pid_buffer' can be reduced.
2027variableScope398styleThe scope of the variable 'script_var' can be reduced.
2028variableScope398styleThe scope of the variable 'script_value' can be reduced.
2057variableScope398styleThe scope of the variable 'item' can be reduced.
gate/system/storagedrives.c
1390variableScope398styleThe scope of the variable 'type' can be reduced.
1391variableScope398styleThe scope of the variable 'blocks' can be reduced.
1392variableScope398styleThe scope of the variable 'removable' can be reduced.
1393variableScope398styleThe scope of the variable 'read_only' can be reduced.
1437redundantAssignment563styleVariable 'name_len' is reassigned a value before the old one has been used.
1437redundantAssignment563styleVariable 'name_len' is reassigned a value before the old one has been used.
1961unreadVariable563styleVariable 'result' is assigned a value that is never used.
2202redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/system/terminals.c
593variableScope398styleThe scope of the variable 'ptr_cell' can be reduced.
686variableScope398styleThe scope of the variable 'first_cell_ptr' can be reduced.
gate/system/tests/gatesystem_cpp_test/test_terminals.cpp
13redundantAssignment563styleVariable 'bgcol' is reassigned a value before the old one has been used.
14redundantAssignment563styleVariable 'txtcol' is reassigned a value before the old one has been used.
gate/tech/barcodes.c
67variableScope398styleThe scope of the variable 'width' can be reduced.
68variableScope398styleThe scope of the variable 'height' can be reduced.
181variableScope398styleThe scope of the variable 'result' can be reduced.
182variableScope398styleThe scope of the variable 'width' can be reduced.
182variableScope398styleThe scope of the variable 'height' can be reduced.
258variableScope398styleThe scope of the variable 'result' can be reduced.
262variableScope398styleThe scope of the variable 'dst_pixel' can be reduced.
266variableScope398styleThe scope of the variable 'num_codes' can be reduced.
412redundantAssignInSwitch563warningVariable 'ret' is reassigned a value before the old one has been used. 'break;' missing?
482variableScope398styleThe scope of the variable 'status' can be reduced.
668variableScope398styleThe scope of the variable 'bit_length' can be reduced.
844variableScope398styleThe scope of the variable 'width' can be reduced.
845variableScope398styleThe scope of the variable 'height' can be reduced.
929variableScope398styleThe scope of the variable 'pattern_table' can be reduced.
gate/tech/copymachines.c
200redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/tech/cxx_sessionhub.cpp
63noExplicitConstructor398styleClass 'LockFileMutex' has a constructor with 1 argument that is not explicit.
gate/tech/cxx_tasks.cpp
194noExplicitConstructor398styleClass 'RunnableManagedTask' has a constructor with 1 argument that is not explicit.
gate/tech/filesystems.c
134variableScope398styleThe scope of the variable 'ndx' can be reduced.
134variableScope398styleThe scope of the variable 'pos' can be reduced.
206variableScope398styleThe scope of the variable 'cluster_pos' can be reduced.
207variableScope398styleThe scope of the variable 'fat_offset' can be reduced.
208variableScope398styleThe scope of the variable 'sector_num' can be reduced.
209variableScope398styleThe scope of the variable 'sector_offset' can be reduced.
213variableScope398styleThe scope of the variable 'next_cluster' can be reduced.
290variableScope398styleThe scope of the variable 'total_clusters' can be reduced.
291variableScope398styleThe scope of the variable 'sector_num' can be reduced.
292variableScope398styleThe scope of the variable 'byte_count' can be reduced.
338variableScope398styleThe scope of the variable 'ptr_direntry' can be reduced.
gate/tech/gateservices.c
1154variableScope398styleThe scope of the variable 'ptr_map' can be reduced.
1155variableScope398styleThe scope of the variable 'ptr_value' can be reduced.
1607multiCondition398styleExpression is always false because 'else if' condition matches previous condition at line 1597.
gate/tech/microservices.c
332variableScope398styleThe scope of the variable 'prop' can be reduced.
357variableScope398styleThe scope of the variable 'prop' can be reduced.
386variableScope398styleThe scope of the variable 'prop' can be reduced.
gate/tech/microservices/webcontent_service.cpp
87noExplicitConstructor398styleClass 'WebServiceResponse' has a constructor with 1 argument that is not explicit.
gate/tech/microservices/webserver_service.c
606redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/tech/portmapping.c
59variableScope398styleThe scope of the variable 'service' can be reduced.
gate/tech/tests/gatetech_cpp_test/test_portmapping.cpp
17unreadVariable563styleVariable 'mappingId' is assigned a value that is never used.
gate/tech/texteditors.c
227variableScope398styleThe scope of the variable 'nextline' can be reduced.
385variableScope398styleThe scope of the variable 'next_line' can be reduced.
gate/tech/webapis_newsfeed.c
266variableScope398styleThe scope of the variable 'ptr_attrvalue' can be reduced.
281variableScope398styleThe scope of the variable 'ptr_attrvalue' can be reduced.
330variableScope398styleThe scope of the variable 'subentry' can be reduced.
gate/tests.c
120variableScope398styleThe scope of the variable 'con' can be reduced.
261variableScope398styleThe scope of the variable 'ptr' can be reduced.
335variableScope398styleThe scope of the variable 'ptr' can be reduced.
359unreadVariable563styleVariable 'ptr_case' is assigned a value that is never used.
gate/tests/gatecore_cpp_test/test_applications.cpp
10redundantAssignment563styleVariable 'testDefAssigned' is reassigned a value before the old one has been used.
gate/tests/gatecore_cpp_test/test_arrays.cpp
124postfixOperator398performancePrefer prefix ++/-- operators for non-primitive types.
126postfixOperator398performancePrefer prefix ++/-- operators for non-primitive types.
128postfixOperator398performancePrefer prefix ++/-- operators for non-primitive types.
130postfixOperator398performancePrefer prefix ++/-- operators for non-primitive types.
136postfixOperator398performancePrefer prefix ++/-- operators for non-primitive types.
138postfixOperator398performancePrefer prefix ++/-- operators for non-primitive types.
338postfixOperator398performancePrefer prefix ++/-- operators for non-primitive types.
381postfixOperator398performancePrefer prefix ++/-- operators for non-primitive types.
gate/tests/gatecore_cpp_test/test_console.cpp
30variableScope398styleThe scope of the variable 'buffer' can be reduced.
38shadowVar398styleLocal variable buffer shadows outer variable
gate/tests/gatecore_cpp_test/test_coroutines.cpp
118noExplicitConstructor398styleClass 'Yielder' has a constructor with 1 argument that is not explicit.
gate/tests/gatecore_cpp_test/test_files.cpp
14noExplicitConstructor398styleClass 'AutoRemoveDir' has a constructor with 1 argument that is not explicit.
gate/tests/gatecore_cpp_test/test_functions.cpp
146noExplicitConstructor398styleClass 'GuardedCodeTarget' has a constructor with 1 argument that is not explicit.
gate/tests/gatecore_cpp_test/test_map.cpp
34variableScope398styleThe scope of the variable 'entry' can be reduced.
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_test/test_threadpools.cpp
42shadowVar398styleLocal variable th shadows outer variable
53shadowVar398styleLocal variable th shadows outer variable
54shadowVar398styleLocal variable thid shadows outer variable
gate/tests/gatecore_cpp_test/test_wrappers.cpp
141noExplicitConstructor398styleStruct 'Good' has a constructor with 1 argument that is not explicit.
146noExplicitConstructor398styleStruct 'Bad' has a constructor with 1 argument that is not explicit.
gate/tests/gatecore_test/test_functions.c
172zerodiv369errorDivision by zero.
172unreadVariable563styleVariable 'result' is assigned a value that is never used.
182unreadVariable563styleVariable 'result' is assigned a value that is never used.
188unassignedVariable665styleVariable 'ptr' is not assigned a value.
188uninitvar908errorUninitialized variable: ptr
190uninitvar908errorUninitialized 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/threading.c
485variableScope398styleThe scope of the variable 'handle' can be reduced.
581variableScope398styleThe scope of the variable 'thread' can be reduced.
840variableScope398styleThe scope of the variable 'handle' can be reduced.
1269variableScope398styleThe scope of the variable 'ptr_co_id' can be reduced.
1291variableScope398styleThe scope of the variable 'ptr_co_id' can be reduced.
gate/threadpools.c
65variableScope398styleThe scope of the variable 'task' can be reduced.
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.
877variableScope398styleThe scope of the variable 'loctime' can be reduced.
881variableScope398styleThe scope of the variable 'tmp' can be reduced.
1045redundantAssignment563styleVariable 'now->timestamp' is reassigned a value before the old one has been used.
gate/ui/buttons.c
41variableScope398styleThe scope of the variable 'button' can be reduced.
93variableScope398styleThe scope of the variable 'host' can be reduced.
gate/ui/checkboxes.c
40variableScope398styleThe scope of the variable 'checkbox' can be reduced.
189variableScope398styleThe scope of the variable 'host' can be reduced.
gate/ui/comboboxes.c
43variableScope398styleThe scope of the variable 'host' can be reduced.
135variableScope398styleThe scope of the variable 'host' can be reduced.
463unreadVariable563styleVariable 'store' is assigned a value that is never used.
487variableScope398styleThe scope of the variable 'text_buffer' can be reduced.
575unreadVariable563styleVariable 'store' is assigned a value that is never used.
578variableScope398styleThe scope of the variable 'ptr_text' can be reduced.
606unreadVariable563styleVariable 'store' is assigned a value that is never used.
gate/ui/cxx_graphics.cpp
139unreadVariable563styleVariable 'index' is assigned a value that is never used.
153unreadVariable563styleVariable 'index' is assigned a value that is never used.
gate/ui/cxx_listviews.cpp
651variableScope398styleThe scope of the variable 'ret' can be reduced.
651shadowVar398styleLocal variable ret shadows outer variable
655unreadVariable563styleVariable 'ret' is assigned a value that is never used.
gate/ui/cxx_panels.cpp
74unreadVariable563styleVariable 'funcName' is assigned a value that is never used.
123unreadVariable563styleVariable 'funcName' is assigned a value that is never used.
gate/ui/dialogs.c
129redundantAssignment563styleVariable 'ptr_frm_position' is reassigned a value before the old one has been used.
130redundantAssignment563styleVariable 'owner_form' is reassigned a value before the old one has been used.
1160variableScope398styleThe scope of the variable 'chooser' can be reduced.
1163variableScope398styleThe scope of the variable 'ptr_filepath' can be reduced.
1202variableScope398styleThe scope of the variable 'chooser' can be reduced.
1205variableScope398styleThe scope of the variable 'ptr_filepath' can be reduced.
1260variableScope398styleThe scope of the variable 'host' can be reduced.
gate/ui/forms.c
139variableScope398styleThe scope of the variable 'ptr_child' can be reduced.
217variableScope398styleThe scope of the variable 'host' can be reduced.
236variableScope398styleThe scope of the variable 'menu_result' can be reduced.
239variableScope398styleThe scope of the variable 'menuentry' can be reduced.
252variableScope398styleThe scope of the variable 'uah_menu' can be reduced.
375duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
428duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
604duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
633duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
750ConfigurationNotCheckedinformationSkipping 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.
840ConfigurationNotCheckedinformationSkipping 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.
957variableScope398styleThe scope of the variable 'host' can be reduced.
1080variableScope398styleThe scope of the variable 'host' can be reduced.
1081variableScope398styleThe scope of the variable 'widget' can be reduced.
1083variableScope398styleThe scope of the variable 'container' can be reduced.
1090unreadVariable563styleVariable 'widget' is assigned a value that is never used.
1152variableScope398styleThe scope of the variable 'window' can be reduced.
1258variableScope398styleThe scope of the variable 'entry' can be reduced.
1322variableScope398styleThe scope of the variable 'entry' can be reduced.
1393variableScope398styleThe scope of the variable 'host' can be reduced.
1422redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1435redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1532unreadVariable563styleVariable 'host' is assigned a value that is never used.
1778variableScope398styleThe scope of the variable 'entry' can be reduced.
1818variableScope398styleThe scope of the variable 'entry' can be reduced.
1924knownConditionTrueFalse570styleCondition 'w_owner' is always false
1954knownConditionTrueFalse570styleCondition 'w_owner' is always false
gate/ui/gateui.c
74variableScope398styleThe scope of the variable 'collist' can be reduced.
214variableScope398styleThe scope of the variable 'currentcollist' can be reduced.
466variableScope398styleThe scope of the variable 'host' can be reduced.
863variableScope398styleThe scope of the variable 'tmp' can be reduced.
1254redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1690unreadVariable563styleVariable 'widget' is assigned a value that is never used.
2092variableScope398styleThe scope of the variable 'host' can be reduced.
gate/ui/gateui_gtk.c
46unreadVariable563styleVariable 'program_path' is assigned a value that is never used.
398variableScope398styleThe scope of the variable 'host' can be reduced.
399variableScope398styleThe scope of the variable 'widget' can be reduced.
460variableScope398styleThe scope of the variable 'parentContainer' can be reduced.
600variableScope398styleThe scope of the variable 'cont' can be reduced.
601variableScope398styleThe scope of the variable 'child_widget' can be reduced.
604variableScope398styleThe scope of the variable 'entry' can be reduced.
gate/ui/gateui_wasmhtml.c
172redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
gate/ui/gateui_winapi.c
0toomanyconfigs398informationToo many #ifdef configurations - cppcheck only checks 12 of 16 configurations. Use --force to check all configurations.
828redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
960variableScope398styleThe scope of the variable 'host' can be reduced.
1066variableScope398styleThe scope of the variable 'curvalue' can be reduced.
1125variableScope398styleThe scope of the variable 'evt' can be reduced.
1284redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
1408variableScope398styleThe scope of the variable 'txtlength' can be reduced.
1429variableScope398styleThe scope of the variable 'length' can be reduced.
1696variableScope398styleThe scope of the variable 'x' can be reduced.
1696variableScope398styleThe scope of the variable 'y' can be reduced.
1696variableScope398styleThe scope of the variable 'width' can be reduced.
1696variableScope398styleThe scope of the variable 'height' can be reduced.
2376ConfigurationNotCheckedinformationSkipping 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.
2419ConfigurationNotCheckedinformationSkipping 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.
2551unreadVariable563styleVariable 'old_mode' is assigned a value that is never used.
gate/ui/graphics.c
244variableScope398styleThe scope of the variable 'ptrpixels' can be reduced.
245variableScope398styleThe scope of the variable 'ptrbytes' can be reduced.
249variableScope398styleThe scope of the variable 'line_patch' can be reduced.
878redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
907variableScope398styleThe scope of the variable 'ptrpixels' can be reduced.
1079ConfigurationNotCheckedinformationSkipping 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.
1398variableScope398styleThe scope of the variable 'width' can be reduced.
1398variableScope398styleThe scope of the variable 'height' can be reduced.
1535variableScope398styleThe scope of the variable 'dst_pixels' can be reduced.
2141variableScope398styleThe scope of the variable 'display' can be reduced.
2142variableScope398styleThe scope of the variable 'screen' can be reduced.
2143variableScope398styleThe scope of the variable 'xdepth' can be reduced.
gate/ui/labels.c
41variableScope398styleThe scope of the variable 'label' can be reduced.
45variableScope398styleThe scope of the variable 'txtbufferused' can be reduced.
65duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
153variableScope398styleThe scope of the variable 'host' can be reduced.
gate/ui/listviews_gtk.c
79unusedVariable563styleUnused variable: bin
80variableScope398styleThe scope of the variable 'scroll_widget' can be reduced.
81variableScope398styleThe scope of the variable 'view_port' can be reduced.
243variableScope398styleThe scope of the variable 'text_buffer' can be reduced.
414variableScope398styleThe scope of the variable 'item_data' can be reduced.
439variableScope398styleThe scope of the variable 'widget' can be reduced.
440variableScope398styleThe scope of the variable 'scroll_widget' can be reduced.
607variableScope398styleThe scope of the variable 'entry' can be reduced.
620variableScope398styleThe scope of the variable 'entry' can be reduced.
722variableScope398styleThe scope of the variable 'text_buffer' can be reduced.
828variableScope398styleThe scope of the variable 'str_buffer' can be reduced.
1164variableScope398styleThe scope of the variable 'item_param' can be reduced.
1184variableScope398styleThe scope of the variable 'widget' can be reduced.
1185variableScope398styleThe scope of the variable 'scroll_widget' can be reduced.
1251variableScope398styleThe scope of the variable 'ptr_pixbuf' can be reduced.
gate/ui/listviews_motif.c
120variableScope398styleThe scope of the variable 'insert_pos' can be reduced.
207unusedVariable563styleUnused variable: ptr_data
284variableScope398styleThe scope of the variable 'ptr_pixmap' can be reduced.
316variableScope398styleThe scope of the variable 'ndx' can be reduced.
578unusedVariable563styleUnused variable: ndx
gate/ui/listviews_winapi.c
59variableScope398styleThe scope of the variable 'lstbox' can be reduced.
129variableScope398styleThe scope of the variable 'host' can be reduced.
1171variableScope398styleThe scope of the variable 'index' can be reduced.
1173variableScope398styleThe scope of the variable 'hmhdr' can be reduced.
1174variableScope398styleThe scope of the variable 'nmlv' can be reduced.
1179variableScope398styleThe scope of the variable 'item_data' can be reduced.
1212duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
1264duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
1343variableScope398styleThe scope of the variable 'host' can be reduced.
2207variableScope398styleThe scope of the variable 'itemview' can be reduced.
2294variableScope398styleThe scope of the variable 'host' can be reduced.
gate/ui/paintsurfaces.c
56variableScope398styleThe scope of the variable 'host' can be reduced.
458variableScope398styleThe scope of the variable 'width' can be reduced.
458variableScope398styleThe scope of the variable 'height' can be reduced.
gate/ui/panels.c
45variableScope398styleThe scope of the variable 'host' can be reduced.
71duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
116duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
136redundantAssignment563styleVariable 'host' is reassigned a value before the old one has been used.
187variableScope398styleThe scope of the variable 'host' can be reduced.
223variableScope398styleThe scope of the variable 'host' can be reduced.
266duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
312duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
320duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
346duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
413duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
436redundantAssignment563styleVariable 'host' is reassigned a value before the old one has been used.
498variableScope398styleThe scope of the variable 'host' can be reduced.
575unreadVariable563styleVariable 'panel' is assigned a value that is never used.
599variableScope398styleThe scope of the variable 'widget' can be reduced.
631variableScope398styleThe scope of the variable 'host' can be reduced.
653variableScope398styleThe scope of the variable 'host' can be reduced.
654variableScope398styleThe scope of the variable 'widget' can be reduced.
771variableScope398styleThe scope of the variable 'widget' can be reduced.
826unusedVariable563styleUnused variable: margin_w
826unusedVariable563styleUnused variable: margin_h
925unusedVariable563styleUnused variable: margin_w
925unusedVariable563styleUnused variable: margin_h
965variableScope398styleThe scope of the variable 'args_count' can be reduced.
gate/ui/spinners.c
153variableScope398styleThe scope of the variable 'spinbox' can be reduced.
154variableScope398styleThe scope of the variable 'updown_width' can be reduced.
176duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
375redundantAssignment563styleVariable 'result' is reassigned a value before the old one has been used.
gate/ui/splitters.c
182duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
286variableScope398styleThe scope of the variable 'host' can be reduced.
418redundantAssignment563styleVariable 'ret' is reassigned a value before the old one has been used.
519unreadVariable563styleVariable 'container' is assigned a value that is never used.
529unreadVariable563styleVariable 'container' is assigned a value that is never used.
544unreadVariable563styleVariable 'container' is assigned a value that is never used.
602variableScope398styleThe scope of the variable 'ndx' can be reduced.
gate/ui/statusbars.c
115variableScope398styleThe scope of the variable 'host' can be reduced.
142variableScope398styleThe scope of the variable 'statusbar' can be reduced.
234variableScope398styleThe scope of the variable 'txtlength' can be reduced.
255variableScope398styleThe scope of the variable 'length' can be reduced.
345variableScope398styleThe scope of the variable 'host' can be reduced.
369ConfigurationNotCheckedinformationSkipping 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.
421variableScope398styleThe scope of the variable 'host' can be reduced.
479variableScope398styleThe scope of the variable 'host' can be reduced.
681unreadVariable563styleVariable 'parentContainer' is assigned a value that is never used.
gate/ui/tabs.c
223variableScope398styleThe scope of the variable 'hdr' can be reduced.
224variableScope398styleThe scope of the variable 'index' can be reduced.
231variableScope398styleThe scope of the variable 'host' can be reduced.
286duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
340variableScope398styleThe scope of the variable 'host' can be reduced.
371duplicateExpression398styleSame expression on both sides of '|'.
410variableScope398styleThe scope of the variable 'ptr_ptr_panel' can be reduced.
747unreadVariable563styleVariable 'widget' is assigned a value that is never used.
772variableScope398styleThe scope of the variable 'widget' can be reduced.
891variableScope398styleThe scope of the variable 'ptr' can be reduced.
932variableScope398styleThe scope of the variable 'ptr_panel' can be reduced.
1014variableScope398styleThe scope of the variable 'text_buffer' can be reduced.
1086nullPointerRedundantCheck476warningEither the condition 'ctrl!=NULL' is redundant or there is possible null pointer dereference: tc.
1162variableScope398styleThe scope of the variable 'page_num' can be reduced.
1335variableScope398styleThe scope of the variable 'ptr_w' can be reduced.
1341nullPointerRedundantCheck476warningEither the condition 'ctrl!=NULL' is redundant or there is possible null pointer dereference: tabctrl.
1351nullPointerRedundantCheck476warningEither the condition 'ctrl!=NULL' is redundant or there is possible null pointer dereference: tabctrl.
gate/ui/textboxes.c
41variableScope398styleThe scope of the variable 'txtbx' can be reduced.
118knownConditionTrueFalse570styleCondition 'wParam==VK_TAB' is always false
146variableScope398styleThe scope of the variable 'host' can be reduced.
427variableScope398styleThe scope of the variable 'entry' can be reduced.
428variableScope398styleThe scope of the variable 'scroll_window' can be reduced.
429variableScope398styleThe scope of the variable 'text_view' can be reduced.
430variableScope398styleThe scope of the variable 'buffer' can be reduced.
464variableScope398styleThe scope of the variable 'entry' can be reduced.
465variableScope398styleThe scope of the variable 'scroll_window' can be reduced.
466variableScope398styleThe scope of the variable 'text_view' can be reduced.
467variableScope398styleThe scope of the variable 'buffer' can be reduced.
538variableScope398styleThe scope of the variable 'entry' can be reduced.
539variableScope398styleThe scope of the variable 'scroll_window' can be reduced.
540variableScope398styleThe scope of the variable 'text_view' can be reduced.
541variableScope398styleThe scope of the variable 'buffer' can be reduced.
542variableScope398styleThe scope of the variable 'text_buffer' can be reduced.
594variableScope398styleThe scope of the variable 'scroll_widget' can be reduced.
596variableScope398styleThe scope of the variable 'textbuffer' can be reduced.
597variableScope398styleThe scope of the variable 'entrybuffer' can be reduced.
666variableScope398styleThe scope of the variable 'entry' can be reduced.
667variableScope398styleThe scope of the variable 'scroll_window' can be reduced.
668variableScope398styleThe scope of the variable 'text_view' can be reduced.
669variableScope398styleThe scope of the variable 'buffer' can be reduced.
671variableScope398styleThe scope of the variable 'mark' can be reduced.
726variableScope398styleThe scope of the variable 'scroll_window' can be reduced.
727variableScope398styleThe scope of the variable 'text_view' can be reduced.
728variableScope398styleThe scope of the variable 'buffer' can be reduced.
730variableScope398styleThe scope of the variable 'mark' can be reduced.
731variableScope398styleThe scope of the variable 'entry' can be reduced.
773variableScope398styleThe scope of the variable 'scroll_window' can be reduced.
774variableScope398styleThe scope of the variable 'text_view' can be reduced.
775variableScope398styleThe scope of the variable 'buffer' can be reduced.
778variableScope398styleThe scope of the variable 'entry' can be reduced.
gate/ui/timers.c
41variableScope398styleThe scope of the variable 'timer' can be reduced.
59duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
391variableScope398styleThe scope of the variable 'ptr_host' can be reduced.
gate/ui/toolbars.c
79unusedStructMember563stylestruct member 'TBBUTTONINFO::iImage' is never used.
85unusedStructMember563stylestruct member 'TBBUTTONINFO::cchText' is never used.
162variableScope398styleThe scope of the variable 'nmhdr' can be reduced.
165variableScope398styleThe scope of the variable 'buttonindex' can be reduced.
331variableScope398styleThe scope of the variable 'host' can be reduced.
386ConfigurationNotCheckedinformationSkipping 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.
510variableScope398styleThe scope of the variable 'bitmap_id' can be reduced.
510unreadVariable563styleVariable 'bitmap_id' is assigned a value that is never used.
608variableScope398styleThe scope of the variable 'widget' can be reduced.
657variableScope398styleThe scope of the variable 'widget' can be reduced.
658variableScope398styleThe scope of the variable 'item' can be reduced.
659variableScope398styleThe scope of the variable 'icon_widget' can be reduced.
686variableScope398styleThe scope of the variable 'widget' can be reduced.
687variableScope398styleThe scope of the variable 'host' can be reduced.
688variableScope398styleThe scope of the variable 'item' can be reduced.
690variableScope398styleThe scope of the variable 'icon_widget' can be reduced.
730variableScope398styleThe scope of the variable 'widget' can be reduced.
731variableScope398styleThe scope of the variable 'item' can be reduced.
gate/ui/treeviews.c
289variableScope398styleThe scope of the variable 'hItem' can be reduced.
290variableScope398styleThe scope of the variable 'nmhdr' can be reduced.
291variableScope398styleThe scope of the variable 'nmtv' can be reduced.
326duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
401variableScope398styleThe scope of the variable 'host' can be reduced.
749variableScope398styleThe scope of the variable 'widget' can be reduced.
750variableScope398styleThe scope of the variable 'col' can be reduced.
751variableScope398styleThe scope of the variable 'renderer' can be reduced.
752variableScope398styleThe scope of the variable 'model' can be reduced.
754variableScope398styleThe scope of the variable 'scroll_widget' can be reduced.
1113variableScope398styleThe scope of the variable 'path' can be reduced.
1131variableScope398styleThe scope of the variable 'path' can be reduced.
1182variableScope398styleThe scope of the variable 'path' can be reduced.
1277variableScope398styleThe scope of the variable 'ptr_node' can be reduced.
1410duplicateBreak561styleConsecutive return, break, continue, goto or throw statements are unnecessary.
gate/utilities.c
262variableScope398styleThe scope of the variable 'key' can be reduced.
291variableScope398styleThe scope of the variable 'value' can be reduced.
530uselessAssignmentPtrArg398warningAssignment of function parameter has no effect outside the function. Did you forget dereferencing it?
632redundantAssignInSwitch563warningVariable 'ret' is reassigned a value before the old one has been used. 'break;' missing?
685variableScope398styleThe scope of the variable 'name' can be reduced.
686variableScope398styleThe scope of the variable 'value' can be reduced.
gate/values.c
186clarifyCalculation783styleClarify calculation precedence for '*' and '?'.
730variableScope398styleThe scope of the variable 'strbuffer' can be reduced.