| Line | Id | CWE | Severity | Message |
| apps/contools/gatecli/unit_accounts.c |
| 513 | unreadVariable | 563 | style | Variable 'strm' is assigned a value that is never used. |
| 548 | unreadVariable | 563 | style | Variable 'strm' is assigned a value that is never used. |
| 587 | unreadVariable | 563 | style | Variable 'strm' is assigned a value that is never used. |
| 621 | unreadVariable | 563 | style | Variable 'strm' is assigned a value that is never used. |
| 661 | unreadVariable | 563 | style | Variable 'strm' is assigned a value that is never used. |
| 703 | unreadVariable | 563 | style | Variable 'strm' is assigned a value that is never used. |
| apps/contools/gatecli/unit_device.c |
| 152 | variableScope | 398 | style | The scope of the variable 'hexbuffer' can be reduced. |
| 215 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 353 | redundantAssignment | 563 | style | Variable 'buffer_len' is reassigned a value before the old one has been used. |
| apps/contools/gatecli/unit_file.c |
| 260 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 617 | variableScope | 398 | style | The scope of the variable 'path' can be reduced. |
| 757 | variableScope | 398 | style | The scope of the variable 'ptr_pattern' can be reduced. |
| 787 | variableScope | 398 | style | The scope of the variable 'ptr_name' can be reduced. |
| apps/contools/gatecli/unit_netclient.c |
| 70 | knownConditionTrueFalse | 571 | style | Condition 'running' is always true |
| 208 | knownConditionTrueFalse | 571 | style | Condition 'running' is always true |
| 369 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 481 | unreadVariable | 563 | style | Variable 'con_stream' is assigned a value that is never used. |
| apps/contools/gatecli/unit_os.c |
| 85 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 121 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 146 | unreadVariable | 563 | style | Variable 'stream' is assigned a value that is never used. |
| 157 | unreadVariable | 563 | style | Variable 'stream' is assigned a value that is never used. |
| 307 | variableScope | 398 | style | The scope of the variable 'str_total' can be reduced. |
| 308 | variableScope | 398 | style | The scope of the variable 'str_avail' can be reduced. |
| 309 | variableScope | 398 | style | The scope of the variable 'str_virt_total' can be reduced. |
| 310 | variableScope | 398 | style | The scope of the variable 'str_virt_avail' can be reduced. |
| apps/contools/gatecli/unit_sysmgmt.c |
| 27 | redundantAssignment | 563 | style | Variable 'iter' is reassigned a value before the old one has been used. |
| apps/contools/gatecli/unit_video.c |
| 25 | variableScope | 398 | style | The scope of the variable 'ptr_format' can be reduced. |
| apps/contools/gatesvc/gatesvc.cpp |
| 221 | unreadVariable | 563 | style | Variable 'flags' is assigned a value that is never used. |
| apps/contools/hash/hash.cpp |
| 81 | redundantAssignment | 563 | style | Variable 'strm' is reassigned a value before the old one has been used. |
| apps/contools/hostinfo/hostinfo.c |
| 184 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| apps/contools/pix/pix.cpp |
| 50 | redundantAssignment | 563 | style | Variable 'format' is reassigned a value before the old one has been used. |
| 76 | redundantAssignment | 563 | style | Variable 'format' is reassigned a value before the old one has been used. |
| apps/contools/process/process.c |
| 138 | variableScope | 398 | style | The scope of the variable 'pidbuffer' can be reduced. |
| 139 | variableScope | 398 | style | The scope of the variable 'ppidbuffer' can be reduced. |
| 186 | variableScope | 398 | style | The scope of the variable 'pidbuffer' can be reduced. |
| apps/contools/sftpcli/sftpcli.cpp |
| 51 | shadowVar | 398 | style | Local variable options shadows outer variable |
| apps/contools/socopcli/master.hpp |
| 58 | noExplicitConstructor | 398 | style | Struct 'Resource' has a constructor with 1 argument that is not explicit. |
| apps/contools/socopcli/socopcli.cpp |
| 403 | redundantAssignment | 563 | style | Variable 'strm' is reassigned a value before the old one has been used. |
| apps/contools/sqldb/sqldb.cpp |
| 200 | shadowVar | 398 | style | Local variable outfile shadows outer variable |
| apps/contools/storedrv/storedrv.c |
| 317 | variableScope | 398 | style | The scope of the variable 'try_blocks' can be reduced. |
| apps/contools/tcpcli/tcpcli.cpp |
| 101 | variableScope | 398 | style | The scope of the variable 'timeout' can be reduced. |
| 102 | variableScope | 398 | style | The scope of the variable 'port' can be reduced. |
| 167 | variableScope | 398 | style | The scope of the variable 'port' can be reduced. |
| 211 | shadowVar | 398 | style | Local variable result shadows outer variable |
| apps/contools/txeditor/txtedit.c |
| 216 | variableScope | 398 | style | The scope of the variable 'ptr_entry' can be reduced. |
| 267 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 372 | variableScope | 398 | style | The scope of the variable 'ptr_menu_entry' can be reduced. |
| 486 | variableScope | 398 | style | The scope of the variable 'state' can be reduced. |
| apps/graphic/aniplay/aniplay.c |
| 174 | redundantAssignment | 563 | style | Variable 'result' is reassigned a value before the old one has been used. |
| 210 | redundantAssignment | 563 | style | Variable 'result' is reassigned a value before the old one has been used. |
| apps/graphic/gateframes/mandelbrot_plugin.c |
| 162 | variableScope | 398 | style | The scope of the variable 'x' can be reduced. |
| 162 | variableScope | 398 | style | The scope of the variable 'y' can be reduced. |
| apps/graphic/gateframes/snake_plugin.c |
| 303 | variableScope | 398 | style | The scope of the variable 'p1' can be reduced. |
| 340 | variableScope | 398 | style | The scope of the variable 'ptr_apple' can be reduced. |
| 401 | variableScope | 398 | style | The scope of the variable 'ptr_patch' can be reduced. |
| apps/graphic/gateframes/starfield_plugin.c |
| 128 | variableScope | 398 | style | The scope of the variable 'ptr_star' can be reduced. |
| 131 | variableScope | 398 | style | The scope of the variable 'vx' can be reduced. |
| 131 | variableScope | 398 | style | The scope of the variable 'vy' can be reduced. |
| 131 | variableScope | 398 | style | The scope of the variable 'vx2' can be reduced. |
| 131 | variableScope | 398 | style | The scope of the variable 'vy2' can be reduced. |
| 131 | variableScope | 398 | style | The scope of the variable 'vz' can be reduced. |
| 132 | variableScope | 398 | style | The scope of the variable 'l' can be reduced. |
| 133 | variableScope | 398 | style | The scope of the variable 'sx' can be reduced. |
| 133 | variableScope | 398 | style | The scope of the variable 'sy' can be reduced. |
| apps/graphic/gategames/blocklevels.cpp |
| 1153 | knownConditionTrueFalse | 570 | style | Condition 'translucent' is always false |
| 1171 | knownConditionTrueFalse | 570 | style | Condition 'translucent' is always false |
| apps/graphic/gategames/blocklevels.hpp |
| 98 | missingOverride | | style | The function 'loadModule' overrides a function in a base class but is not marked with a 'override' specifier. |
| 99 | missingOverride | | style | The function 'unloadModule' overrides a function in a base class but is not marked with a 'override' specifier. |
| 100 | missingOverride | | style | The function 'render' overrides a function in a base class but is not marked with a 'override' specifier. |
| 101 | missingOverride | | style | The function 'processKeyDown' overrides a function in a base class but is not marked with a 'override' specifier. |
| 102 | missingOverride | | style | The function 'processKeyUp' overrides a function in a base class but is not marked with a 'override' specifier. |
| 103 | missingOverride | | style | The function 'processPointerDown' overrides a function in a base class but is not marked with a 'override' specifier. |
| 104 | missingOverride | | style | The function 'processPointerMove' overrides a function in a base class but is not marked with a 'override' specifier. |
| 105 | missingOverride | | style | The function 'processPointerUp' overrides a function in a base class but is not marked with a 'override' specifier. |
| apps/vast/vbincopy/vbincopy.cpp |
| 854 | unreadVariable | 563 | style | Variable 'autoCompress' is assigned a value that is never used. |
| 947 | unreadVariable | 563 | style | Variable 'completed' is assigned a value that is never used. |
| 999 | unreadVariable | 563 | style | Variable 'bytesCopied' is assigned a value that is never used. |
| 1103 | unreadVariable | 563 | style | Variable 'row5' is assigned a value that is never used. |
| 1143 | unreadVariable | 563 | style | Variable 'row5' is assigned a value that is never used. |
| 1237 | unreadVariable | 563 | style | Variable 'separatorLength' is assigned a value that is never used. |
| apps/vast/vdb/vdb.cpp |
| 219 | uninitMemberVar | 398 | warning | Member variable 'DataConnectionPage::datamanager' is not initialized in the constructor. |
| 312 | uninitMemberVar | 398 | warning | Member variable 'ResultPage::datamanager' is not initialized in the constructor. |
| 524 | class_X_Y | | information | The 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 |
| 229 | noExplicitConstructor | 398 | style | Class 'FileProperties' has a constructor with 1 argument that is not explicit. |
| 279 | unreadVariable | 563 | style | Variable 'rowSep1' is assigned a value that is never used. |
| 281 | unreadVariable | 563 | style | Variable 'rowSep2' is assigned a value that is never used. |
| 674 | shadowVar | 398 | style | Local variable parent shadows outer variable |
| 899 | redundantAssignment | 563 | style | Variable 'lvwIcon' is reassigned a value before the old one has been used. |
| 972 | variableScope | 398 | style | The scope of the variable 'lv' can be reduced. |
| apps/vast/vpix/vpix.cpp |
| 445 | unreadVariable | 563 | style | Variable 'rowBottom' is assigned a value that is never used. |
| 465 | unreadVariable | 563 | style | Variable 'host' is assigned a value that is never used. |
| 629 | shadowVar | 398 | style | Local variable selectedFormat shadows outer variable |
| 711 | variableScope | 398 | style | The scope of the variable 'toolbarId' can be reduced. |
| 748 | unreadVariable | 563 | style | Variable 'host' is assigned a value that is never used. |
| 1083 | unreadVariable | 563 | style | Variable 'rowStatusbar' is assigned a value that is never used. |
| apps/vast/vtest/vtest.cpp |
| 188 | unreadVariable | 563 | style | Variable 'lineHeight' is assigned a value that is never used. |
| apps/vast/vtxtedit/vtxtedit.cpp |
| 183 | shadowVar | 398 | style | Local variable txt shadows outer variable |
| 605 | unreadVariable | 563 | style | Variable 'row4' is assigned a value that is never used. |
| 889 | unreadVariable | 563 | style | Variable 'lineCount' is assigned a value that is never used. |
| 890 | unreadVariable | 563 | style | Variable 'col' is assigned a value that is never used. |
| 891 | unreadVariable | 563 | style | Variable 'line' is assigned a value that is never used. |
| 1102 | unreadVariable | 563 | style | Variable 'lineheight' is assigned a value that is never used. |
| 1103 | unreadVariable | 563 | style | Variable 'controlHeight' is assigned a value that is never used. |
| apps/vast/vweb/vweb.cpp |
| 251 | unreadVariable | 563 | style | Variable 'uiHost' is assigned a value that is never used. |
| 278 | unreadVariable | 563 | style | Variable 'lineheight' is assigned a value that is never used. |
| 279 | unreadVariable | 563 | style | Variable 'controlHeight' is assigned a value that is never used. |
| 285 | unreadVariable | 563 | style | Variable 'right' is assigned a value that is never used. |
| 332 | noExplicitConstructor | 398 | style | Class 'Browser' has a constructor with 1 argument that is not explicit. |
| gate/applications.c |
| 52 | variableScope | 398 | style | The scope of the variable 'chr' can be reduced. |
| 130 | variableScope | 398 | style | The scope of the variable 'chr' can be reduced. |
| 227 | uselessAssignmentPtrArg | 398 | warning | Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? |
| 228 | uselessAssignmentArg | 398 | style | Assignment of function parameter has no effect outside the function. |
| 230 | uselessAssignmentPtrArg | 398 | warning | Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? |
| 366 | variableScope | 398 | style | The scope of the variable 'current_arg' can be reduced. |
| gate/arrays.c |
| 224 | nullPointerRedundantCheck | 476 | warning | Either the condition 'dst!=NULL' is redundant or there is possible null pointer dereference: arr. |
| 228 | nullPointerRedundantCheck | 476 | warning | Either the condition 'dst!=NULL' is redundant or there is possible null pointer dereference: arr. |
| 229 | nullPointerRedundantCheck | 476 | warning | Either the condition 'dst!=NULL' is redundant or there is possible null pointer dereference: arr. |
| 230 | nullPointerRedundantCheck | 476 | warning | Either the condition 'dst!=NULL' is redundant or there is possible null pointer dereference: arr. |
| 231 | nullPointerRedundantCheck | 476 | warning | Either the condition 'dst!=NULL' is redundant or there is possible null pointer dereference: arr. |
| 249 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 465 | variableScope | 398 | style | The scope of the variable 'dst' can be reduced. |
| 466 | variableScope | 398 | style | The scope of the variable 'src' can be reduced. |
| 509 | variableScope | 398 | style | The scope of the variable 'srcptr' can be reduced. |
| 510 | variableScope | 398 | style | The scope of the variable 'dstptr' can be reduced. |
| 633 | variableScope | 398 | style | The scope of the variable 'dstptr' can be reduced. |
| 678 | variableScope | 398 | style | The scope of the variable 'dstptr' can be reduced. |
| 868 | variableScope | 398 | style | The scope of the variable 'dstptr' can be reduced. |
| 1186 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1211 | variableScope | 398 | style | The scope of the variable 'ptrend' can be reduced. |
| 1273 | variableScope | 398 | style | The scope of the variable 'ptrend' can be reduced. |
| 1295 | variableScope | 398 | style | The scope of the variable 'ptrend' can be reduced. |
| gate/atomics.c |
| 679 | CastIntegerToAddressAtReturn | 758 | portability | Returning an integer in a function with pointer return type is not portable. |
| 815 | CastIntegerToAddressAtReturn | 758 | portability | Returning an integer in a function with pointer return type is not portable. |
| 871 | variableScope | 398 | style | The scope of the variable 'tmpValue' can be reduced. |
| 896 | variableScope | 398 | style | The scope of the variable 'tmpValue' can be reduced. |
| gate/blobs.c |
| 209 | variableScope | 398 | style | The scope of the variable 'data' can be reduced. |
| gate/callstacks.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. |
| 859 | uselessAssignmentPtrArg | 398 | warning | Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? |
| 864 | unreadVariable | 563 | style | Variable 'stack_top' is assigned a value that is never used. |
| gate/console.c |
| 1238 | unreadVariable | 563 | style | Variable 'impl' is assigned a value that is never used. |
| 1281 | unreadVariable | 563 | style | Variable 'impl' is assigned a value that is never used. |
| 1491 | unreadVariable | 563 | style | Variable 'ptr' is assigned a value that is never used. |
| gate/coroutines.c |
| 659 | redundantAssignment | 563 | style | Variable 'result' is reassigned a value before the old one has been used. |
| 676 | unreadVariable | 563 | style | Variable 'old_session' is assigned a value that is never used. |
| 689 | variableScope | 398 | style | The scope of the variable 'ptr_ctx' can be reduced. |
| 921 | variableScope | 398 | style | The scope of the variable 'new_context' can be reduced. |
| 930 | nullPointerRedundantCheck | 476 | warning | Either the condition 'current_context==NULL' is redundant or there is possible null pointer dereference: current_context. |
| 946 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 957 | variableScope | 398 | style | The scope of the variable 'session' can be reduced. |
| 1354 | variableScope | 398 | style | The scope of the variable 'current_ctx' can be reduced. |
| 1356 | variableScope | 398 | style | The scope of the variable 'new_ctx' can be reduced. |
| 1427 | variableScope | 398 | style | The scope of the variable 'ptr_current_ctx' can be reduced. |
| 1855 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/cxx_coroutines.cpp |
| 51 | noExplicitConstructor | 398 | style | Struct 'CoroutineDispatcher' has a constructor with 1 argument that is not explicit. |
| 55 | noExplicitConstructor | 398 | style | Struct 'CoroutineDispatcher' has a constructor with 1 argument that is not explicit. |
| gate/cxx_processes.cpp |
| 385 | knownConditionTrueFalse | 570 | style | Condition 'ptr_stream' is always false |
| gate/cxx_strings.cpp |
| 674 | shadowVar | 398 | style | Local variable empty_dummy shadows outer variable |
| 918 | nullPointerRedundantCheck | 476 | warning | Either the condition 'ptr' is redundant or there is possible null pointer dereference: ptr. |
| gate/cxx_utilities.cpp |
| 150 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 166 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| gate/data/mysql_adapter.c |
| 113 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::length' is never used. |
| 114 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::is_null' is never used. |
| 115 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::buffer' is never used. |
| 116 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::error' is never used. |
| 117 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::row_ptr' is never used. |
| 118 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::store_param_func' is never used. |
| 119 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::fetch_result' is never used. |
| 120 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::skip_result' is never used. |
| 121 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::buffer_length' is never used. |
| 122 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::offset' is never used. |
| 123 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::length_value' is never used. |
| 124 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::param_number' is never used. |
| 125 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::pack_length' is never used. |
| 127 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::error_value' is never used. |
| 128 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::is_unsigned' is never used. |
| 129 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::long_data_used' is never used. |
| 130 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::is_null_value' is never used. |
| 131 | unusedStructMember | 563 | style | struct member 'MYSQL_BIND::extension' is never used. |
| 238 | redundantAssignment | 563 | style | Variable 'state' is reassigned a value before the old one has been used. |
| 332 | unreadVariable | 563 | style | Variable 'ptr_mysql' is assigned a value that is never used. |
| 334 | unreadVariable | 563 | style | Variable 'ptr_meta' is assigned a value that is never used. |
| 336 | unreadVariable | 563 | style | Variable 'fields' is assigned a value that is never used. |
| 337 | unusedVariable | 563 | style | Unused variable: fields_count |
| 522 | variableScope | 398 | style | The scope of the variable 'my_result' can be reduced. |
| 579 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| gate/data/odbc_adapter.c |
| 132 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/data/sqlite3_adapter.c |
| 359 | unreadVariable | 563 | style | Variable 'stmt' is assigned a value that is never used. |
| 373 | variableScope | 398 | style | The scope of the variable 'sql3_result' can be reduced. |
| 461 | variableScope | 398 | style | The scope of the variable 'ptr_name' can be reduced. |
| 553 | unreadVariable | 563 | style | Variable 'db' is assigned a value that is never used. |
| 555 | variableScope | 398 | style | The scope of the variable 'cnt' can be reduced. |
| 651 | variableScope | 398 | style | The scope of the variable 'sql3_result' can be reduced. |
| 743 | variableScope | 398 | style | The scope of the variable 'param_name' can be reduced. |
| 801 | variableScope | 398 | style | The scope of the variable 'sql3_result' can be reduced. |
| 899 | variableScope | 398 | style | The scope of the variable 'sql3_result' can be reduced. |
| gate/debugging.c |
| 313 | variableScope | 398 | style | The scope of the variable 'msgbuffer' can be reduced. |
| gate/encode/base64.c |
| 155 | variableScope | 398 | style | The scope of the variable 'ptrsrc' can be reduced. |
| 156 | variableScope | 398 | style | The scope of the variable 'ptrdst' can be reduced. |
| 282 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| gate/encode/crchash.c |
| 44 | variableScope | 398 | style | The scope of the variable 'chr' can be reduced. |
| gate/encode/inifiles.c |
| 134 | variableScope | 398 | style | The scope of the variable 'entry_map' can be reduced. |
| 175 | variableScope | 398 | style | The scope of the variable 'entry_map' can be reduced. |
| 221 | variableScope | 398 | style | The scope of the variable 'entry_map' can be reduced. |
| gate/encode/json.c |
| 55 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 152 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| gate/encode/md5hash.c |
| 83 | variableScope | 398 | style | The scope of the variable 'dtemp' can be reduced. |
| gate/encode/sha1hash.c |
| 65 | variableScope | 398 | style | The scope of the variable 't' can be reduced. |
| gate/encode/sha256hash.c |
| 80 | variableScope | 398 | style | The scope of the variable 'ch' can be reduced. |
| 81 | variableScope | 398 | style | The scope of the variable 'temp1' can be reduced. |
| 82 | variableScope | 398 | style | The scope of the variable 'temp2' can be reduced. |
| 83 | variableScope | 398 | style | The scope of the variable 'maj' can be reduced. |
| gate/encode/tarstreams.c |
| 48 | unusedStructMember | 563 | style | struct member 'gate_tarheader::linkname' is never used. |
| 53 | unusedStructMember | 563 | style | struct member 'gate_tarheader::device_major' is never used. |
| 54 | unusedStructMember | 563 | style | struct member 'gate_tarheader::device_minor' is never used. |
| 55 | unusedStructMember | 563 | style | struct member 'gate_tarheader::prefix' is never used. |
| 102 | variableScope | 398 | style | The scope of the variable 'chr' can be reduced. |
| gate/encode/texts.c |
| 208 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 271 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 331 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 380 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1346 | redundantAssignment | 563 | style | Variable 'ptr_text' is reassigned a value before the old one has been used. |
| gate/encode/xml.c |
| 94 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 188 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 561 | variableScope | 398 | style | The scope of the variable 'ptr_text' can be reduced. |
| 761 | variableScope | 398 | style | The scope of the variable 'quot_char' can be reduced. |
| gate/encode/yaml.c |
| 104 | variableScope | 398 | style | The scope of the variable 'quote_char' can be reduced. |
| 211 | variableScope | 398 | style | The scope of the variable 'chr' can be reduced. |
| 918 | variableScope | 398 | style | The scope of the variable 'ptr_name' can be reduced. |
| 1067 | variableScope | 398 | style | The scope of the variable 'ptr_prop' can be reduced. |
| 1384 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1425 | redundantAssignInSwitch | 563 | warning | Variable 'ret' is reassigned a value before the old one has been used. 'break;' missing? |
| 1425 | redundantAssignInSwitch | 563 | warning | Variable 'ret' is reassigned a value before the old one has been used. 'break;' missing? |
| 1425 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/encode/zipstreams.c |
| 300 | knownConditionTrueFalse | 570 | style | Condition 'offset==0' is always false |
| 320 | variableScope | 398 | style | The scope of the variable 'file_functions' can be reduced. |
| 373 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 478 | variableScope | 398 | style | The scope of the variable 'file_functions' can be reduced. |
| 635 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| gate/encode/zlibstreams.c |
| 120 | variableScope | 398 | style | The scope of the variable 'zresult' can be reduced. |
| 298 | variableScope | 398 | style | The scope of the variable 'zresult' can be reduced. |
| 461 | redundantAssignment | 563 | style | Variable 'result' is reassigned a value before the old one has been used. |
| 481 | variableScope | 398 | style | The scope of the variable 'zresult' can be reduced. |
| 563 | variableScope | 398 | style | The scope of the variable 'zresult' can be reduced. |
| 681 | variableScope | 398 | style | The scope of the variable 'ctrl' can be reduced. |
| 694 | variableScope | 398 | style | The scope of the variable 'ctrl' can be reduced. |
| 717 | variableScope | 398 | style | The scope of the variable 'ctrl' can be reduced. |
| 734 | variableScope | 398 | style | The scope of the variable 'ctrl' can be reduced. |
| 782 | variableScope | 398 | style | The scope of the variable 'ctrl' can be reduced. |
| gate/environments.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. |
| 907 | variableScope | 398 | style | The scope of the variable 'varname' can be reduced. |
| 908 | variableScope | 398 | style | The scope of the variable 'varvalue' can be reduced. |
| 1254 | variableScope | 398 | style | The scope of the variable 'len_used' can be reduced. |
| gate/files.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. |
| 143 | variableScope | 398 | style | The scope of the variable 'ptr_str' can be reduced. |
| 490 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 3560 | variableScope | 398 | style | The scope of the variable 'rlresult' can be reduced. |
| 3620 | variableScope | 398 | style | The scope of the variable 'parent' can be reduced. |
| 3646 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 3755 | redundantAssignment | 563 | style | Variable 'result' is reassigned a value before the old one has been used. |
| 4249 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 4293 | redundantAssignment | 563 | style | Variable 'result' is reassigned a value before the old one has been used. |
| 4533 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 4570 | unreadVariable | 563 | style | Variable 'result' is assigned a value that is never used. |
| 4615 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 4666 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 4735 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 4777 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 4941 | redundantAssignment | 563 | style | Variable 'entry.path[2]' is reassigned a value before the old one has been used. |
| 5184 | variableScope | 398 | style | The scope of the variable 'ptr_dirent' can be reduced. |
| 5218 | variableScope | 398 | style | The scope of the variable 'ptr_dir' can be reduced. |
| 5796 | knownConditionTrueFalse | 571 | style | Condition 'is_executable' is always true |
| gate/functions.c |
| 202 | variableScope | 398 | style | The scope of the variable 'used' can be reduced. |
| 220 | variableScope | 398 | style | The scope of the variable 'padd' can be reduced. |
| 275 | unusedStructMember | 563 | style | struct member 'gate_function_context::function_ptr' is never used. |
| 276 | unusedStructMember | 563 | style | struct member 'gate_function_context::eax' is never used. |
| 277 | unusedStructMember | 563 | style | struct member 'gate_function_context::ebx' is never used. |
| 278 | unusedStructMember | 563 | style | struct member 'gate_function_context::ecx' is never used. |
| 279 | unusedStructMember | 563 | style | struct member 'gate_function_context::edx' is never used. |
| 280 | unusedStructMember | 563 | style | struct member 'gate_function_context::esi' is never used. |
| 281 | unusedStructMember | 563 | style | struct member 'gate_function_context::edi' is never used. |
| 290 | unusedStructMember | 563 | style | union member 'x86_arguments::function_ptr' is never used. |
| 327 | unusedStructMember | 563 | style | union member 'x64_arguments::function_ptr' is never used. |
| 328 | unusedStructMember | 563 | style | union member 'x64_arguments::buffer' is never used. |
| 346 | unreadVariable | 563 | style | Variable 'x64_args' is assigned a value that is never used. |
| 519 | ConfigurationNotChecked | | information | Skipping 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. |
| 525 | ConfigurationNotChecked | | information | Skipping 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. |
| 528 | ConfigurationNotChecked | | information | Skipping 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. |
| 539 | ConfigurationNotChecked | | information | Skipping 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. |
| 547 | ConfigurationNotChecked | | information | Skipping 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. |
| 550 | ConfigurationNotChecked | | information | Skipping 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. |
| 560 | variableScope | 398 | style | The scope of the variable 'fault_code' can be reduced. |
| gate/graphics/bitmapimages.c |
| 605 | variableScope | 398 | style | The scope of the variable 'ptrline' can be reduced. |
| gate/graphics/colors.c |
| 140 | unreadVariable | 563 | style | Variable 'ptr' is modified but its new value is never used. |
| 260 | variableScope | 398 | style | The scope of the variable 'tmp' can be reduced. |
| gate/graphics/fonts.c |
| 38 | unusedStructMember | 563 | style | struct member 'gate_font_char_mapping::character' is never used. |
| 39 | unusedStructMember | 563 | style | struct member 'gate_font_char_mapping::bits' is never used. |
| gate/graphics/framebuffers.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. |
| gate/graphics/gifimages.c |
| 97 | variableScope | 398 | style | The scope of the variable 'ptr_pixel8_index' can be reduced. |
| 322 | variableScope | 398 | style | The scope of the variable 'gif_result' can be reduced. |
| 454 | variableScope | 398 | style | The scope of the variable 'ptr_line' can be reduced. |
| 514 | redundantAssignment | 563 | style | Variable 'index' is reassigned a value before the old one has been used. |
| 560 | variableScope | 398 | style | The scope of the variable 'gif_result' can be reduced. |
| 565 | variableScope | 398 | style | The scope of the variable 'width' can be reduced. |
| 566 | variableScope | 398 | style | The scope of the variable 'height' can be reduced. |
| 904 | variableScope | 398 | style | The scope of the variable 'gif_result' can be reduced. |
| 990 | variableScope | 398 | style | The scope of the variable 'image_width' can be reduced. |
| 990 | variableScope | 398 | style | The scope of the variable 'image_height' can be reduced. |
| 991 | variableScope | 398 | style | The scope of the variable 'gif_result' can be reduced. |
| 995 | variableScope | 398 | style | The scope of the variable 'gif_ext_used' can be reduced. |
| 1117 | variableScope | 398 | style | The scope of the variable 'gif_result' can be reduced. |
| 1120 | unreadVariable | 563 | style | Variable 'gif_result' is assigned a value that is never used. |
| gate/graphics/gl_apis.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 47 configurations. Use --force to check all configurations. |
| gate/graphics/imageformats.c |
| 59 | variableScope | 398 | style | The scope of the variable 'ext' can be reduced. |
| gate/graphics/images.c |
| 37 | variableScope | 398 | style | The scope of the variable 'diff' can be reduced. |
| 38 | variableScope | 398 | style | The scope of the variable 'bytes_per_line' can be reduced. |
| 297 | variableScope | 398 | style | The scope of the variable 'bytes_per_line' can be reduced. |
| 484 | variableScope | 398 | style | The scope of the variable 'ptr_dest' can be reduced. |
| 485 | variableScope | 398 | style | The scope of the variable 'ptr_src' can be reduced. |
| 503 | variableScope | 398 | style | The scope of the variable 'x' can be reduced. |
| 503 | variableScope | 398 | style | The scope of the variable 'y' can be reduced. |
| 505 | variableScope | 398 | style | The scope of the variable 'ptr_src' can be reduced. |
| 506 | variableScope | 398 | style | The scope of the variable 'ptr_dest' can be reduced. |
| 507 | variableScope | 398 | style | The scope of the variable 'src_pixel_len' can be reduced. |
| 508 | variableScope | 398 | style | The scope of the variable 'dest_pixel_len' can be reduced. |
| 535 | variableScope | 398 | style | The scope of the variable 'len' can be reduced. |
| 536 | variableScope | 398 | style | The scope of the variable 'ptr_src' can be reduced. |
| 537 | variableScope | 398 | style | The scope of the variable 'ptr_dst' can be reduced. |
| 538 | variableScope | 398 | style | The scope of the variable 'end_line' can be reduced. |
| 539 | variableScope | 398 | style | The scope of the variable 'next_line' can be reduced. |
| 688 | variableScope | 398 | style | The scope of the variable 'x_len' can be reduced. |
| 689 | variableScope | 398 | style | The scope of the variable 'y_len' can be reduced. |
| 693 | variableScope | 398 | style | The scope of the variable 'src_pixel_length' can be reduced. |
| 694 | variableScope | 398 | style | The scope of the variable 'dst_pixel_length' can be reduced. |
| 795 | variableScope | 398 | style | The scope of the variable 'ptrpixel' can be reduced. |
| 867 | redundantAssignment | 563 | style | Variable 'ptrpixel' is reassigned a value before the old one has been used. |
| 946 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 993 | variableScope | 398 | style | The scope of the variable 'ptr_dst' can be reduced. |
| 994 | variableScope | 398 | style | The scope of the variable 'ptr_src' can be reduced. |
| 1027 | variableScope | 398 | style | The scope of the variable 'ptr_dst' can be reduced. |
| 1028 | variableScope | 398 | style | The scope of the variable 'ptr_src' can be reduced. |
| 1057 | variableScope | 398 | style | The scope of the variable 'ptr_dst' can be reduced. |
| 1058 | variableScope | 398 | style | The scope of the variable 'ptr_src' can be reduced. |
| 1084 | variableScope | 398 | style | The scope of the variable 'len' can be reduced. |
| 1134 | variableScope | 398 | style | The scope of the variable 'x' can be reduced. |
| 1138 | variableScope | 398 | style | The scope of the variable 'count' can be reduced. |
| 1185 | variableScope | 398 | style | The scope of the variable 'miny' can be reduced. |
| 1185 | variableScope | 398 | style | The scope of the variable 'maxy' can be reduced. |
| 1189 | variableScope | 398 | style | The scope of the variable 'ptr_out' can be reduced. |
| gate/graphics/jpegimages.c |
| 97 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 129 | variableScope | 398 | style | The scope of the variable 'nbytes' can be reduced. |
| 171 | variableScope | 398 | style | The scope of the variable 'jpeg_result' can be reduced. |
| 174 | variableScope | 398 | style | The scope of the variable 'ptrpixels' can be reduced. |
| gate/graphics/pixmapimages.c |
| 42 | variableScope | 398 | style | The scope of the variable 'lineptr' can be reduced. |
| gate/graphics/pngimages.c |
| 139 | variableScope | 398 | style | The scope of the variable 'png_interlace_type' can be reduced. |
| 140 | variableScope | 398 | style | The scope of the variable 'png_color_type' can be reduced. |
| 141 | variableScope | 398 | style | The scope of the variable 'png_bit_depth' can be reduced. |
| gate/guids.c |
| 69 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 110 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/hashes.c |
| 176 | variableScope | 398 | style | The scope of the variable 'ptr_member' can be reduced. |
| 219 | variableScope | 398 | style | The scope of the variable 'ptr_name' can be reduced. |
| gate/inputs.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 28 configurations. Use --force to check all configurations. |
| gate/interfaces/socop.hpp |
| 110 | noExplicitConstructor | 398 | style | Class 'SocopClient' has a constructor with 1 argument that is not explicit. |
| 151 | noExplicitConstructor | 398 | style | Class 'SocopServer' has a constructor with 1 argument that is not explicit. |
| gate/interfaces/socop_impl.c |
| 65 | nullPointer | 476 | warning | Possible null pointer dereference: ptr_data |
| 78 | variableScope | 398 | style | The scope of the variable 'more' can be reduced. |
| 79 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| gate/interfaces/socop_impl.hpp |
| 286 | unreadVariable | 563 | style | Variable 'result' is assigned a value that is never used. |
| gate/io/audiosources.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 14 configurations. Use --force to check all configurations. |
| 526 | variableScope | 398 | style | The scope of the variable 'hdr_buffer' can be reduced. |
| 682 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 770 | variableScope | 398 | style | The scope of the variable 'memdata' can be reduced. |
| 1363 | unreadVariable | 563 | style | Variable 'impl' is assigned a value that is never used. |
| gate/io/ipcsharedmem.c |
| 50 | unusedStructMember | 563 | style | struct member 'gate_ipcsharedmem_data_class::data' is never used. |
| 177 | variableScope | 398 | style | The scope of the variable 'ptr_mem' can be reduced. |
| 241 | autoVariables | 562 | error | Address of local auto-variable assigned to a function parameter. |
| 253 | nullPointerArithmeticRedundantCheck | 682 | warning | Either the condition '!dataptr' is redundant or there is overflow in pointer subtraction. |
| 284 | variableScope | 398 | style | The scope of the variable 'id' can be reduced. |
| 285 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 286 | variableScope | 398 | style | The scope of the variable 'err_code' can be reduced. |
| 333 | variableScope | 398 | style | The scope of the variable 'id' can be reduced. |
| 334 | variableScope | 398 | style | The scope of the variable 'err_code' can be reduced. |
| 405 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| gate/io/logging.c |
| 114 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| gate/io/pipes.c |
| 767 | variableScope | 398 | style | The scope of the variable 'bytes' can be reduced. |
| 796 | variableScope | 398 | style | The scope of the variable 'bytes' can be reduced. |
| gate/io/serialports.c |
| 845 | unreadVariable | 563 | style | Variable 'param' is assigned a value that is never used. |
| 846 | variableScope | 398 | style | The scope of the variable 'path' can be reduced. |
| 881 | variableScope | 398 | style | The scope of the variable 'fd' can be reduced. |
| 1225 | variableScope | 398 | style | The scope of the variable 'status' can be reduced. |
| 1282 | variableScope | 398 | style | The scope of the variable 'status' can be reduced. |
| 1283 | variableScope | 398 | style | The scope of the variable 'chr' can be reduced. |
| 1288 | unreadVariable | 563 | style | Variable 'status' is assigned a value that is never used. |
| gate/io/videosources.c |
| 970 | redundantAssignment | 563 | style | Variable 'result' is reassigned a value before the old one has been used. |
| 1042 | variableScope | 398 | style | The scope of the variable 'width' can be reduced. |
| 1042 | variableScope | 398 | style | The scope of the variable 'height' can be reduced. |
| 1043 | variableScope | 398 | style | The scope of the variable 'dst_pixel' can be reduced. |
| 3247 | unusedStructMember | 563 | style | struct member 'gate_v4l_convert_code::get_default_dev_ops' is never used. |
| 3249 | unusedStructMember | 563 | style | struct member 'gate_v4l_convert_code::create_with_dev_ops' is never used. |
| 3999 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 4000 | variableScope | 398 | style | The scope of the variable 'ptr_frame_pixels' can be reduced. |
| 4111 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| gate/io/videosources_screen.c |
| 421 | unreadVariable | 563 | style | Variable 'self' is assigned a value that is never used. |
| 1000 | variableScope | 398 | style | The scope of the variable 'ptr_dst_pixel' can be reduced. |
| 1027 | variableScope | 398 | style | The scope of the variable 'ptr_dst_pixel' can be reduced. |
| 1054 | variableScope | 398 | style | The scope of the variable 'ptr_dst_pixel' can be reduced. |
| gate/libraries.c |
| 220 | variableScope | 398 | style | The scope of the variable 'handle' can be reduced. |
| gate/maps.c |
| 1278 | variableScope | 398 | style | The scope of the variable 'slot' can be reduced. |
| 1366 | variableScope | 398 | style | The scope of the variable 'current_key' can be reduced. |
| 1367 | variableScope | 398 | style | The scope of the variable 'current_value' can be reduced. |
| 1390 | variableScope | 398 | style | The scope of the variable 'current_key' can be reduced. |
| 1410 | variableScope | 398 | style | The scope of the variable 'ptr_key' can be reduced. |
| 1634 | variableScope | 398 | style | The scope of the variable 'ptr_entry' can be reduced. |
| 1675 | variableScope | 398 | style | The scope of the variable 'ptr_entry' can be reduced. |
| 1777 | variableScope | 398 | style | The scope of the variable 'ptr_key' can be reduced. |
| 1778 | variableScope | 398 | style | The scope of the variable 'ptr_value' can be reduced. |
| 1826 | variableScope | 398 | style | The scope of the variable 'ptr_bucket' can be reduced. |
| 1850 | variableScope | 398 | style | The scope of the variable 'ptr_entry' can be reduced. |
| 2004 | variableScope | 398 | style | The scope of the variable 'ptr_key' can be reduced. |
| 2005 | variableScope | 398 | style | The scope of the variable 'ptr_value' can be reduced. |
| 2022 | variableScope | 398 | style | The scope of the variable 'ptr_key' can be reduced. |
| gate/mathematics.c |
| 196 | ConfigurationNotChecked | | information | Skipping 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. |
| 200 | ConfigurationNotChecked | | information | Skipping 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. |
| 207 | internalAstError | | error | Syntax Error: AST broken, binary operator '=' doesn't have two operands. |
| 222 | ConfigurationNotChecked | | information | Skipping 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. |
| 226 | ConfigurationNotChecked | | information | Skipping 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. |
| 617 | variableScope | 398 | style | The scope of the variable 'factor' can be reduced. |
| 618 | variableScope | 398 | style | The scope of the variable 'n' can be reduced. |
| 622 | variableScope | 398 | style | The scope of the variable 'a' can be reduced. |
| 623 | variableScope | 398 | style | The scope of the variable 'b' can be reduced. |
| gate/memalloc.c |
| 213 | variableScope | 398 | style | The scope of the variable 'tmp' can be reduced. |
| gate/net/cxx_mqttprotocols.cpp |
| 158 | unreadVariable | 563 | style | Variable 'blockSize' is assigned a value that is never used. |
| 198 | unreadVariable | 563 | style | Variable 'blockSize' is assigned a value that is never used. |
| 470 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| gate/net/cxx_sshclients.cpp |
| 170 | knownConditionTrueFalse | 571 | style | Condition 'continueRead' is always true |
| gate/net/ftpclients.c |
| 214 | variableScope | 398 | style | The scope of the variable 'ptr_pass' can be reduced. |
| 915 | redundantAssignment | 563 | style | Variable 'curlcode' is reassigned a value before the old one has been used. |
| 916 | redundantAssignment | 563 | style | Variable 'curlcode' is reassigned a value before the old one has been used. |
| 1031 | duplicateExpression | 398 | style | Same expression on both sides of '&&'. |
| gate/net/httpclients.c |
| 998 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1620 | knownConditionTrueFalse | 570 | style | Condition 'form_post' is always false |
| 1725 | variableScope | 398 | style | The scope of the variable 'ptr_str' can be reduced. |
| gate/net/httpservers.c |
| 264 | variableScope | 398 | style | The scope of the variable 'ptr_server' can be reduced. |
| 361 | variableScope | 398 | style | The scope of the variable 'ptr_content' can be reduced. |
| 907 | variableScope | 398 | style | The scope of the variable 'ptrptr_conn' can be reduced. |
| 1634 | shadowVar | 398 | style | Local variable file_attribs shadows outer variable |
| gate/net/httptypes.c |
| 376 | variableScope | 398 | style | The scope of the variable 'm' can be reduced. |
| gate/net/mqttprotocols.c |
| 157 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 187 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 321 | variableScope | 398 | style | The scope of the variable 'data_stream' can be reduced. |
| 391 | variableScope | 398 | style | The scope of the variable 'data_stream' can be reduced. |
| 392 | variableScope | 398 | style | The scope of the variable 'subscr' can be reduced. |
| 443 | variableScope | 398 | style | The scope of the variable 'data_stream' can be reduced. |
| 444 | variableScope | 398 | style | The scope of the variable 'ret_codes' can be reduced. |
| 492 | variableScope | 398 | style | The scope of the variable 'data_stream' can be reduced. |
| 493 | variableScope | 398 | style | The scope of the variable 'subscr' can be reduced. |
| gate/net/nameresolvers.c |
| 122 | variableScope | 398 | style | The scope of the variable 'errcode' can be reduced. |
| gate/net/platform/openssl_api.c |
| 158 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 348 | duplicateExpression | 398 | style | Same expression on both sides of '|'. |
| 352 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 374 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 455 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/net/platform/socket_api.c |
| 123 | autoVariables | 562 | error | Address of local auto-variable assigned to a function parameter. |
| 205 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 498 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 861 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 894 | variableScope | 398 | style | The scope of the variable 'ndx' can be reduced. |
| gate/net/sockets.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 22 configurations. Use --force to check all configurations. |
| 274 | ConfigurationNotChecked | | information | Skipping 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. |
| 343 | redundantAssignInSwitch | 563 | warning | Variable 's' is reassigned a value before the old one has been used. 'break;' missing? |
| 344 | ConfigurationNotChecked | | information | Skipping 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. |
| 612 | unreadVariable | 563 | style | Variable 'error_code' is assigned a value that is never used. |
| 801 | variableScope | 398 | style | The scope of the variable 'sentbytes' can be reduced. |
| gate/net/sockettools.c |
| 160 | variableScope | 398 | style | The scope of the variable 'buf' can be reduced. |
| 333 | variableScope | 398 | style | The scope of the variable 'tasks' can be reduced. |
| 372 | variableScope | 398 | style | The scope of the variable 'task' can be reduced. |
| 408 | variableScope | 398 | style | The scope of the variable 'task' can be reduced. |
| 437 | variableScope | 398 | style | The scope of the variable 'task' can be reduced. |
| 467 | variableScope | 398 | style | The scope of the variable 'task' can be reduced. |
| 500 | variableScope | 398 | style | The scope of the variable 'task' can be reduced. |
| 1316 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/net/sshclients.c |
| 437 | variableScope | 398 | style | The scope of the variable 'ssh2_result' can be reduced. |
| 531 | variableScope | 398 | style | The scope of the variable 'userauthlist' can be reduced. |
| 563 | redundantAssignment | 563 | style | Variable 'client->handles[2]' is reassigned a value before the old one has been used. |
| 659 | redundantAssignInSwitch | 563 | warning | Variable 'ret' is reassigned a value before the old one has been used. 'break;' missing? |
| 660 | redundantAssignInSwitch | 563 | warning | Variable 'ret' is reassigned a value before the old one has been used. 'break;' missing? |
| 661 | redundantAssignInSwitch | 563 | warning | Variable 'ret' is reassigned a value before the old one has been used. 'break;' missing? |
| 662 | redundantAssignInSwitch | 563 | warning | Variable 'ret' is reassigned a value before the old one has been used. 'break;' missing? |
| 663 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 773 | duplicateExpression | 398 | style | Same expression on both sides of '|'. |
| 779 | redundantAssignInSwitch | 563 | warning | Variable 'flags' is reassigned a value before the old one has been used. 'break;' missing? |
| 781 | redundantAssignInSwitch | 563 | warning | Variable 'flags' is reassigned a value before the old one has been used. 'break;' missing? |
| 1569 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 1616 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1616 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1616 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/net/sslsessions.c |
| 1877 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1877 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1975 | variableScope | 398 | style | The scope of the variable 'result_code' can be reduced. |
| 2026 | variableScope | 398 | style | The scope of the variable 'result_code' can be reduced. |
| 2073 | unreadVariable | 563 | style | Variable 'impl' is assigned a value that is never used. |
| 2076 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 2174 | redundantAssignInSwitch | 563 | warning | Variable 'ret' is reassigned a value before the old one has been used. 'break;' missing? |
| 2174 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 2249 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 2249 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 2366 | variableScope | 398 | style | The scope of the variable 'ssl_bytes_written' can be reduced. |
| 2416 | variableScope | 398 | style | The scope of the variable 'ssl_bytes_encoded' can be reduced. |
| 2484 | variableScope | 398 | style | The scope of the variable 'ssl_bytes_decoded' can be reduced. |
| gate/platform/android/gate_android_native_app_glue.c |
| 263 | variableScope | 398 | style | The scope of the variable 'exit_code' can be reduced. |
| 266 | unreadVariable | 563 | style | Variable 'exit_code' is assigned a value that is never used. |
| 283 | variableScope | 398 | style | The scope of the variable 'events_processed' can be reduced. |
| 311 | unreadVariable | 563 | style | Variable 'events_processed' is assigned a value that is never used. |
| 351 | variableScope | 398 | style | The scope of the variable 'motion_action' can be reduced. |
| 352 | variableScope | 398 | style | The scope of the variable 'x' can be reduced. |
| 352 | variableScope | 398 | style | The scope of the variable 'y' can be reduced. |
| 354 | variableScope | 398 | style | The scope of the variable 'key_flags' can be reduced. |
| 355 | variableScope | 398 | style | The scope of the variable 'key_code' can be reduced. |
| 356 | variableScope | 398 | style | The scope of the variable 'scan_code' can be reduced. |
| 749 | variableScope | 398 | style | The scope of the variable 'ident' can be reduced. |
| gate/platform/efi/cxx_gate_bridge.cpp |
| 76 | unusedStructMember | 563 | style | union member 'Anonymous0::Characteristics' is never used. |
| 78 | unusedStructMember | 563 | style | struct member 'Anonymous1::Reserved0' is never used. |
| 79 | unusedStructMember | 563 | style | struct member 'Anonymous1::Alignment' is never used. |
| 80 | unusedStructMember | 563 | style | struct member 'Anonymous1::Reserved1' is never used. |
| 405 | variableScope | 398 | style | The scope of the variable 'i' can be reduced. |
| 406 | variableScope | 398 | style | The scope of the variable 'Success' can be reduced. |
| 416 | unreadVariable | 563 | style | Variable 'Success' is assigned a value that is never used. |
| 426 | variableScope | 398 | style | The scope of the variable 'Success' can be reduced. |
| 440 | unreadVariable | 563 | style | Variable 'Success' is assigned a value that is never used. |
| gate/platform/efi/efi_gate.c |
| 1367 | variableScope | 398 | style | The scope of the variable 'ptr_entry' can be reduced. |
| 1382 | redundantAssignment | 563 | style | Variable 'status' is reassigned a value before the old one has been used. |
| 1754 | duplicateExpression | 398 | style | Same expression on both sides of '||'. |
| gate/platform/java/jni_gate.c |
| 322 | variableScope | 398 | style | The scope of the variable 'ptr_queue' can be reduced. |
| gate/platform/wasm/wasm_gate.c |
| 200 | shadowVar | 398 | style | Local variable new_worker shadows outer variable |
| 424 | variableScope | 398 | style | The scope of the variable 'args' can be reduced. |
| 562 | variableScope | 398 | style | The scope of the variable 'ndx' can be reduced. |
| 640 | unusedVariable | 563 | style | Unused variable: value |
| 948 | variableScope | 398 | style | The scope of the variable 'ndx' can be reduced. |
| 1158 | unusedVariable | 563 | style | Unused variable: value |
| 1314 | knownConditionTrueFalse | 398 | style | The expression 'ret != 0' is always false. |
| gate/platform/windows/win32com.c |
| 1366 | redundantAssignment | 563 | style | Variable 'ptr_entry' is reassigned a value before the old one has been used. |
| gate/platform/windows/win32registry.c |
| 41 | ConfigurationNotChecked | | information | Skipping 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. |
| 47 | ConfigurationNotChecked | | information | Skipping 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 |
| 96 | unreadVariable | 563 | style | Variable 'view' is assigned a value that is never used. |
| 142 | redundantAssignment | 563 | style | Variable 'res' is reassigned a value before the old one has been used. |
| 148 | redundantAssignment | 563 | style | Variable 'res' is reassigned a value before the old one has been used. |
| 154 | redundantAssignment | 563 | style | Variable 'res' is reassigned a value before the old one has been used. |
| 156 | redundantAssignment | 563 | style | Variable 'res' is reassigned a value before the old one has been used. |
| 169 | unreadVariable | 563 | style | Variable 'self' is assigned a value that is never used. |
| 489 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/platform_beos.c |
| 225 | nullPointerRedundantCheck | 476 | warning | Either the condition '!ptr_sem' is redundant or there is possible null pointer dereference: ptr_sem. |
| gate/platform_dos.c |
| 114 | ConfigurationNotChecked | | information | Skipping 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. |
| 124 | ConfigurationNotChecked | | information | Skipping 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. |
| 127 | ConfigurationNotChecked | | information | Skipping 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. |
| 142 | ConfigurationNotChecked | | information | Skipping 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. |
| 267 | unreadVariable | 563 | style | Variable 'result' is assigned a value that is never used. |
| 751 | unusedVariable | 563 | style | Unused variable: value |
| gate/platform_efi.c |
| 135 | syntaxError | | error | syntax error |
| gate/platform_winapi.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 26 configurations. Use --force to check all configurations. |
| 487 | variableScope | 398 | style | The scope of the variable 'utf16used' can be reduced. |
| 790 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 805 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 821 | unusedStructMember | 563 | style | struct member 'PROCESS_BASIC_INFO::Reserved1' is never used. |
| 822 | unusedStructMember | 563 | style | struct member 'PROCESS_BASIC_INFO::PebBaseAddress' is never used. |
| 823 | unusedStructMember | 563 | style | struct member 'PROCESS_BASIC_INFO::Reserved2' is never used. |
| 825 | unusedStructMember | 563 | style | struct member 'PROCESS_BASIC_INFO::Reserved3' is never used. |
| 909 | knownConditionTrueFalse | 570 | style | Condition 'hadvapi' is always false |
| 1446 | unusedStructMember | 563 | style | struct member '_GATE_THREAD_BASIC_INFORMATION::TebBaseAddress' is never used. |
| 2117 | unreadVariable | 563 | style | Variable 'tmp' is assigned a value that is never used. |
| gate/processes_posix.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 15 configurations. Use --force to check all configurations. |
| 180 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 285 | shadowVar | 398 | style | Local variable wait_result shadows outer variable |
| 310 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 768 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 936 | variableScope | 398 | style | The scope of the variable 'procs' can be reduced. |
| 937 | variableScope | 398 | style | The scope of the variable 'procs_count' can be reduced. |
| 1030 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1269 | variableScope | 398 | style | The scope of the variable 'cnf_open_max' can be reduced. |
| 1329 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 1577 | variableScope | 398 | style | The scope of the variable 'readlen' can be reduced. |
| 1578 | variableScope | 398 | style | The scope of the variable 'writelen' can be reduced. |
| 1785 | unusedVariable | 563 | style | Unused variable: status |
| gate/properties.c |
| 315 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 572 | variableScope | 398 | style | The scope of the variable 'member_name' can be reduced. |
| 575 | variableScope | 398 | style | The scope of the variable 'member_ptr' can be reduced. |
| 796 | variableScope | 398 | style | The scope of the variable 'arr_ptr' can be reduced. |
| 867 | unusedStructMember | 563 | style | union member 'local_generic_item::buffer' is never used. |
| 977 | variableScope | 398 | style | The scope of the variable 'member_name' can be reduced. |
| 979 | variableScope | 398 | style | The scope of the variable 'ptr_member' can be reduced. |
| 1057 | variableScope | 398 | style | The scope of the variable 'item' can be reduced. |
| 1282 | variableScope | 398 | style | The scope of the variable 'ptr_cols' can be reduced. |
| 1376 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1396 | variableScope | 398 | style | The scope of the variable 'ptr_columns' can be reduced. |
| 1420 | variableScope | 398 | style | The scope of the variable 'ptr_name' can be reduced. |
| 1453 | variableScope | 398 | style | The scope of the variable 'ptr_name' can be reduced. |
| 1524 | variableScope | 398 | style | The scope of the variable 'ptr_row' can be reduced. |
| 1539 | variableScope | 398 | style | The scope of the variable 'ptr_row' can be reduced. |
| 1582 | redundantAssignment | 563 | style | Variable 'ptr_cleanup' is reassigned a value before the old one has been used. |
| 1624 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1669 | variableScope | 398 | style | The scope of the variable 'ptr_row' can be reduced. |
| 1670 | variableScope | 398 | style | The scope of the variable 'ptr_prop' can be reduced. |
| gate/randomgen.c |
| 290 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 328 | AssignmentAddressToInteger | 758 | portability | Assigning a pointer to an integer is not portable. |
| 331 | variableScope | 398 | style | The scope of the variable 'readresult' can be reduced. |
| 347 | AssignmentAddressToInteger | 758 | portability | Assigning a pointer to an integer is not portable. |
| 350 | variableScope | 398 | style | The scope of the variable 'readresult' can be reduced. |
| 365 | AssignmentAddressToInteger | 758 | portability | Assigning a pointer to an integer is not portable. |
| 549 | variableScope | 398 | style | The scope of the variable 'ptr_impl' can be reduced. |
| gate/regexpressions.c |
| 58 | redundantCondition | 398 | style | Redundant condition: If 'EXPR == '-'', the comparison 'EXPR != '\0'' is always true. |
| 246 | variableScope | 398 | style | The scope of the variable 'ptr_compiled' can be reduced. |
| 434 | variableScope | 398 | style | The scope of the variable 'index' can be reduced. |
| gate/runnables.c |
| 44 | variableScope | 398 | style | The scope of the variable 'ptr_param' can be reduced. |
| 67 | variableScope | 398 | style | The scope of the variable 'src_param_ptr' can be reduced. |
| 68 | variableScope | 398 | style | The scope of the variable 'src_param_size' can be reduced. |
| 423 | variableScope | 398 | style | The scope of the variable 'param_store_address' can be reduced. |
| gate/scripting/luascripts.c |
| 193 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 363 | variableScope | 398 | style | The scope of the variable 'lstate' can be reduced. |
| 364 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 404 | variableScope | 398 | style | The scope of the variable 'lstate' can be reduced. |
| 420 | variableScope | 398 | style | The scope of the variable 'lstate' can be reduced. |
| 446 | variableScope | 398 | style | The scope of the variable 'lstate' can be reduced. |
| 1070 | variableScope | 398 | style | The scope of the variable 'lstate' can be reduced. |
| 1430 | variableScope | 398 | style | The scope of the variable 'lstate' can be reduced. |
| gate/scripting/pythonscripts.c |
| 115 | redundantAssignment | 563 | style | Variable 'close_library' is reassigned a value before the old one has been used. |
| gate/serializers.c |
| 285 | variableScope | 398 | style | The scope of the variable 'fnorm' can be reduced. |
| 286 | variableScope | 398 | style | The scope of the variable 'shift' can be reduced. |
| 287 | variableScope | 398 | style | The scope of the variable 'sign' can be reduced. |
| 287 | variableScope | 398 | style | The scope of the variable 'exp' can be reduced. |
| 287 | variableScope | 398 | style | The scope of the variable 'significand' can be reduced. |
| 288 | variableScope | 398 | style | The scope of the variable 'significandbits' can be reduced. |
| 320 | variableScope | 398 | style | The scope of the variable 'fnorm' can be reduced. |
| 402 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 403 | variableScope | 398 | style | The scope of the variable 'shift' can be reduced. |
| 429 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| gate/streams.c |
| 463 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 820 | knownConditionTrueFalse | 570 | style | Condition 'position<0' is always false |
| 1219 | knownConditionTrueFalse | 570 | style | Condition 'position<0' is always false |
| 1909 | variableScope | 398 | style | The scope of the variable 'print_type' can be reduced. |
| gate/strings.c |
| 1187 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1718 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1738 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1758 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1780 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1800 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1820 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1842 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1862 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 1882 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 2251 | variableScope | 398 | style | The scope of the variable 'print_type' can be reduced. |
| gate/structs.c |
| 364 | variableScope | 398 | style | The scope of the variable 'data_ptr' can be reduced. |
| gate/synchronization.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 15 configurations. Use --force to check all configurations. |
| 375 | nullPointerRedundantCheck | 476 | warning | Either the condition 'future?((struct gate_future_impl_t*)*future):NULL' is redundant or there is possible null pointer dereference: future. |
| 1206 | variableScope | 398 | style | The scope of the variable 'status' can be reduced. |
| 1236 | variableScope | 398 | style | The scope of the variable 'status' can be reduced. |
| 1608 | redundantAssignment | 563 | style | Variable 'is_last_wakeup' is reassigned a value before the old one has been used. |
| 1965 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 2061 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 2255 | variableScope | 398 | style | The scope of the variable 'failed' can be reduced. |
| 2302 | variableScope | 398 | style | The scope of the variable 'failed' can be reduced. |
| 2320 | variableScope | 398 | style | The scope of the variable 'failed' can be reduced. |
| gate/system/netconfigs.c |
| 1087 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 1523 | unusedVariable | 563 | style | Unused variable: ptr_mac_bytes |
| 1648 | variableScope | 398 | style | The scope of the variable 'ptr_ifr_end' can be reduced. |
| 1653 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 1809 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 1826 | redundantAssignment | 563 | style | Variable 'ptr_ifa' is reassigned a value before the old one has been used. |
| 1852 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| gate/system/os_posix.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 19 configurations. Use --force to check all configurations. |
| gate/system/os_winapi.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 33 configurations. Use --force to check all configurations. |
| gate/system/services.c |
| 1012 | variableScope | 398 | style | The scope of the variable 'pid_buffer' can be reduced. |
| 2027 | variableScope | 398 | style | The scope of the variable 'script_var' can be reduced. |
| 2028 | variableScope | 398 | style | The scope of the variable 'script_value' can be reduced. |
| 2057 | variableScope | 398 | style | The scope of the variable 'item' can be reduced. |
| gate/system/storagedrives.c |
| 1390 | variableScope | 398 | style | The scope of the variable 'type' can be reduced. |
| 1391 | variableScope | 398 | style | The scope of the variable 'blocks' can be reduced. |
| 1392 | variableScope | 398 | style | The scope of the variable 'removable' can be reduced. |
| 1393 | variableScope | 398 | style | The scope of the variable 'read_only' can be reduced. |
| 1437 | redundantAssignment | 563 | style | Variable 'name_len' is reassigned a value before the old one has been used. |
| 1437 | redundantAssignment | 563 | style | Variable 'name_len' is reassigned a value before the old one has been used. |
| 1961 | unreadVariable | 563 | style | Variable 'result' is assigned a value that is never used. |
| 2202 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/system/terminals.c |
| 593 | variableScope | 398 | style | The scope of the variable 'ptr_cell' can be reduced. |
| 686 | variableScope | 398 | style | The scope of the variable 'first_cell_ptr' can be reduced. |
| gate/system/tests/gatesystem_cpp_test/test_terminals.cpp |
| 13 | redundantAssignment | 563 | style | Variable 'bgcol' is reassigned a value before the old one has been used. |
| 14 | redundantAssignment | 563 | style | Variable 'txtcol' is reassigned a value before the old one has been used. |
| gate/tech/barcodes.c |
| 67 | variableScope | 398 | style | The scope of the variable 'width' can be reduced. |
| 68 | variableScope | 398 | style | The scope of the variable 'height' can be reduced. |
| 181 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 182 | variableScope | 398 | style | The scope of the variable 'width' can be reduced. |
| 182 | variableScope | 398 | style | The scope of the variable 'height' can be reduced. |
| 258 | variableScope | 398 | style | The scope of the variable 'result' can be reduced. |
| 262 | variableScope | 398 | style | The scope of the variable 'dst_pixel' can be reduced. |
| 266 | variableScope | 398 | style | The scope of the variable 'num_codes' can be reduced. |
| 412 | redundantAssignInSwitch | 563 | warning | Variable 'ret' is reassigned a value before the old one has been used. 'break;' missing? |
| 482 | variableScope | 398 | style | The scope of the variable 'status' can be reduced. |
| 670 | variableScope | 398 | style | The scope of the variable 'bit_length' can be reduced. |
| 846 | variableScope | 398 | style | The scope of the variable 'width' can be reduced. |
| 847 | variableScope | 398 | style | The scope of the variable 'height' can be reduced. |
| 931 | variableScope | 398 | style | The scope of the variable 'pattern_table' can be reduced. |
| gate/tech/copymachines.c |
| 200 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/tech/cxx_sessionhub.cpp |
| 63 | noExplicitConstructor | 398 | style | Class 'LockFileMutex' has a constructor with 1 argument that is not explicit. |
| gate/tech/cxx_tasks.cpp |
| 194 | noExplicitConstructor | 398 | style | Class 'RunnableManagedTask' has a constructor with 1 argument that is not explicit. |
| gate/tech/filesystems.c |
| 134 | variableScope | 398 | style | The scope of the variable 'ndx' can be reduced. |
| 134 | variableScope | 398 | style | The scope of the variable 'pos' can be reduced. |
| 206 | variableScope | 398 | style | The scope of the variable 'cluster_pos' can be reduced. |
| 207 | variableScope | 398 | style | The scope of the variable 'fat_offset' can be reduced. |
| 208 | variableScope | 398 | style | The scope of the variable 'sector_num' can be reduced. |
| 209 | variableScope | 398 | style | The scope of the variable 'sector_offset' can be reduced. |
| 213 | variableScope | 398 | style | The scope of the variable 'next_cluster' can be reduced. |
| 290 | variableScope | 398 | style | The scope of the variable 'total_clusters' can be reduced. |
| 291 | variableScope | 398 | style | The scope of the variable 'sector_num' can be reduced. |
| 292 | variableScope | 398 | style | The scope of the variable 'byte_count' can be reduced. |
| 338 | variableScope | 398 | style | The scope of the variable 'ptr_direntry' can be reduced. |
| gate/tech/gateservices.c |
| 1154 | variableScope | 398 | style | The scope of the variable 'ptr_map' can be reduced. |
| 1155 | variableScope | 398 | style | The scope of the variable 'ptr_value' can be reduced. |
| 1607 | multiCondition | 398 | style | Expression is always false because 'else if' condition matches previous condition at line 1597. |
| gate/tech/microservices.c |
| 332 | variableScope | 398 | style | The scope of the variable 'prop' can be reduced. |
| 357 | variableScope | 398 | style | The scope of the variable 'prop' can be reduced. |
| 386 | variableScope | 398 | style | The scope of the variable 'prop' can be reduced. |
| gate/tech/microservices/webcontent_service.cpp |
| 87 | noExplicitConstructor | 398 | style | Class 'WebServiceResponse' has a constructor with 1 argument that is not explicit. |
| gate/tech/microservices/webserver_service.c |
| 606 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/tech/portmapping.c |
| 59 | variableScope | 398 | style | The scope of the variable 'service' can be reduced. |
| gate/tech/tests/gatetech_cpp_test/test_portmapping.cpp |
| 24 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 51 | shadowVar | 398 | style | Local variable buffer shadows outer variable |
| gate/tech/texteditors.c |
| 227 | variableScope | 398 | style | The scope of the variable 'nextline' can be reduced. |
| 385 | variableScope | 398 | style | The scope of the variable 'next_line' can be reduced. |
| gate/tech/webapis_newsfeed.c |
| 266 | variableScope | 398 | style | The scope of the variable 'ptr_attrvalue' can be reduced. |
| 313 | variableScope | 398 | style | The scope of the variable 'subentry' can be reduced. |
| gate/tests.c |
| 120 | variableScope | 398 | style | The scope of the variable 'con' can be reduced. |
| 261 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 335 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 359 | unreadVariable | 563 | style | Variable 'ptr_case' is assigned a value that is never used. |
| gate/tests/gatecore_cpp_test/test_applications.cpp |
| 10 | redundantAssignment | 563 | style | Variable 'testDefAssigned' is reassigned a value before the old one has been used. |
| gate/tests/gatecore_cpp_test/test_arrays.cpp |
| 124 | postfixOperator | 398 | performance | Prefer prefix ++/-- operators for non-primitive types. |
| 126 | postfixOperator | 398 | performance | Prefer prefix ++/-- operators for non-primitive types. |
| 128 | postfixOperator | 398 | performance | Prefer prefix ++/-- operators for non-primitive types. |
| 130 | postfixOperator | 398 | performance | Prefer prefix ++/-- operators for non-primitive types. |
| 136 | postfixOperator | 398 | performance | Prefer prefix ++/-- operators for non-primitive types. |
| 138 | postfixOperator | 398 | performance | Prefer prefix ++/-- operators for non-primitive types. |
| 338 | postfixOperator | 398 | performance | Prefer prefix ++/-- operators for non-primitive types. |
| 381 | postfixOperator | 398 | performance | Prefer prefix ++/-- operators for non-primitive types. |
| gate/tests/gatecore_cpp_test/test_console.cpp |
| 30 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 38 | shadowVar | 398 | style | Local variable buffer shadows outer variable |
| gate/tests/gatecore_cpp_test/test_coroutines.cpp |
| 118 | noExplicitConstructor | 398 | style | Class 'Yielder' has a constructor with 1 argument that is not explicit. |
| gate/tests/gatecore_cpp_test/test_files.cpp |
| 14 | noExplicitConstructor | 398 | style | Class 'AutoRemoveDir' has a constructor with 1 argument that is not explicit. |
| gate/tests/gatecore_cpp_test/test_functions.cpp |
| 183 | noExplicitConstructor | 398 | style | Class 'GuardedCodeTarget' has a constructor with 1 argument that is not explicit. |
| gate/tests/gatecore_cpp_test/test_map.cpp |
| 34 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| gate/tests/gatecore_cpp_test/test_math.cpp |
| 53 | wrongmathcall | 758 | warning | Passing values 0.0 and 0.0 to atan2() leads to implementation-defined result. |
| 54 | wrongmathcall | 758 | warning | Passing values 0.0f and 0.0f to atan2() leads to implementation-defined result. |
| gate/tests/gatecore_cpp_test/test_threadpools.cpp |
| 42 | shadowVar | 398 | style | Local variable th shadows outer variable |
| 53 | shadowVar | 398 | style | Local variable th shadows outer variable |
| 54 | shadowVar | 398 | style | Local variable thid shadows outer variable |
| gate/tests/gatecore_cpp_test/test_wrappers.cpp |
| 142 | noExplicitConstructor | 398 | style | Struct 'Good' has a constructor with 1 argument that is not explicit. |
| 147 | noExplicitConstructor | 398 | style | Struct 'Bad' has a constructor with 1 argument that is not explicit. |
| gate/tests/gatecore_test/test_functions.c |
| 172 | zerodiv | 369 | error | Division by zero. |
| 172 | unreadVariable | 563 | style | Variable 'result' is assigned a value that is never used. |
| 182 | unreadVariable | 563 | style | Variable 'result' is assigned a value that is never used. |
| 188 | unassignedVariable | 665 | style | Variable 'ptr' is not assigned a value. |
| 188 | uninitvar | 908 | error | Uninitialized variable: ptr |
| 190 | uninitvar | 908 | error | Uninitialized variable: ptr |
| gate/tests/gatecore_test/test_math.c |
| 15 | ConfigurationNotChecked | | information | Skipping 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. |
| 15 | ConfigurationNotChecked | | information | Skipping 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. |
| 16 | ConfigurationNotChecked | | information | Skipping 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. |
| 16 | ConfigurationNotChecked | | information | Skipping 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. |
| 23 | ConfigurationNotChecked | | information | Skipping 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. |
| 23 | ConfigurationNotChecked | | information | Skipping 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. |
| 24 | ConfigurationNotChecked | | information | Skipping 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. |
| 24 | ConfigurationNotChecked | | information | Skipping 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 |
| 485 | variableScope | 398 | style | The scope of the variable 'handle' can be reduced. |
| 581 | variableScope | 398 | style | The scope of the variable 'thread' can be reduced. |
| 840 | variableScope | 398 | style | The scope of the variable 'handle' can be reduced. |
| 1269 | variableScope | 398 | style | The scope of the variable 'ptr_co_id' can be reduced. |
| 1291 | variableScope | 398 | style | The scope of the variable 'ptr_co_id' can be reduced. |
| gate/threadpools.c |
| 65 | variableScope | 398 | style | The scope of the variable 'task' can be reduced. |
| gate/times.c |
| 603 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 608 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 613 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 877 | variableScope | 398 | style | The scope of the variable 'loctime' can be reduced. |
| 881 | variableScope | 398 | style | The scope of the variable 'tmp' can be reduced. |
| 1045 | redundantAssignment | 563 | style | Variable 'now->timestamp' is reassigned a value before the old one has been used. |
| gate/ui/buttons.c |
| 41 | variableScope | 398 | style | The scope of the variable 'button' can be reduced. |
| 93 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| gate/ui/checkboxes.c |
| 40 | variableScope | 398 | style | The scope of the variable 'checkbox' can be reduced. |
| 189 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| gate/ui/comboboxes.c |
| 43 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 135 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 463 | unreadVariable | 563 | style | Variable 'store' is assigned a value that is never used. |
| 487 | variableScope | 398 | style | The scope of the variable 'text_buffer' can be reduced. |
| 575 | unreadVariable | 563 | style | Variable 'store' is assigned a value that is never used. |
| 578 | variableScope | 398 | style | The scope of the variable 'ptr_text' can be reduced. |
| 606 | unreadVariable | 563 | style | Variable 'store' is assigned a value that is never used. |
| gate/ui/cxx_graphics.cpp |
| 139 | unreadVariable | 563 | style | Variable 'index' is assigned a value that is never used. |
| 153 | unreadVariable | 563 | style | Variable 'index' is assigned a value that is never used. |
| gate/ui/cxx_listviews.cpp |
| 651 | variableScope | 398 | style | The scope of the variable 'ret' can be reduced. |
| 651 | shadowVar | 398 | style | Local variable ret shadows outer variable |
| 655 | unreadVariable | 563 | style | Variable 'ret' is assigned a value that is never used. |
| gate/ui/cxx_panels.cpp |
| 74 | unreadVariable | 563 | style | Variable 'funcName' is assigned a value that is never used. |
| 123 | unreadVariable | 563 | style | Variable 'funcName' is assigned a value that is never used. |
| gate/ui/dialogs.c |
| 129 | redundantAssignment | 563 | style | Variable 'ptr_frm_position' is reassigned a value before the old one has been used. |
| 130 | redundantAssignment | 563 | style | Variable 'owner_form' is reassigned a value before the old one has been used. |
| 1160 | variableScope | 398 | style | The scope of the variable 'chooser' can be reduced. |
| 1163 | variableScope | 398 | style | The scope of the variable 'ptr_filepath' can be reduced. |
| 1202 | variableScope | 398 | style | The scope of the variable 'chooser' can be reduced. |
| 1205 | variableScope | 398 | style | The scope of the variable 'ptr_filepath' can be reduced. |
| 1260 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| gate/ui/forms.c |
| 139 | variableScope | 398 | style | The scope of the variable 'ptr_child' can be reduced. |
| 217 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 236 | variableScope | 398 | style | The scope of the variable 'menu_result' can be reduced. |
| 239 | variableScope | 398 | style | The scope of the variable 'menuentry' can be reduced. |
| 252 | variableScope | 398 | style | The scope of the variable 'uah_menu' can be reduced. |
| 375 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 428 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 604 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 633 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 750 | ConfigurationNotChecked | | information | Skipping 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. |
| 840 | ConfigurationNotChecked | | information | Skipping 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. |
| 957 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 1080 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 1081 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 1083 | variableScope | 398 | style | The scope of the variable 'container' can be reduced. |
| 1090 | unreadVariable | 563 | style | Variable 'widget' is assigned a value that is never used. |
| 1152 | variableScope | 398 | style | The scope of the variable 'window' can be reduced. |
| 1258 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 1322 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 1393 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 1422 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1435 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1532 | unreadVariable | 563 | style | Variable 'host' is assigned a value that is never used. |
| 1778 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 1818 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 1924 | knownConditionTrueFalse | 570 | style | Condition 'w_owner' is always false |
| 1954 | knownConditionTrueFalse | 570 | style | Condition 'w_owner' is always false |
| gate/ui/gateui.c |
| 74 | variableScope | 398 | style | The scope of the variable 'collist' can be reduced. |
| 214 | variableScope | 398 | style | The scope of the variable 'currentcollist' can be reduced. |
| 466 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 863 | variableScope | 398 | style | The scope of the variable 'tmp' can be reduced. |
| 1203 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1639 | unreadVariable | 563 | style | Variable 'widget' is assigned a value that is never used. |
| 2041 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| gate/ui/gateui_gtk.c |
| 46 | unreadVariable | 563 | style | Variable 'program_path' is assigned a value that is never used. |
| 398 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 399 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 460 | variableScope | 398 | style | The scope of the variable 'parentContainer' can be reduced. |
| 600 | variableScope | 398 | style | The scope of the variable 'cont' can be reduced. |
| 601 | variableScope | 398 | style | The scope of the variable 'child_widget' can be reduced. |
| 604 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| gate/ui/gateui_wasmhtml.c |
| 172 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| gate/ui/gateui_winapi.c |
| 0 | toomanyconfigs | 398 | information | Too many #ifdef configurations - cppcheck only checks 12 of 16 configurations. Use --force to check all configurations. |
| 828 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 960 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 1066 | variableScope | 398 | style | The scope of the variable 'curvalue' can be reduced. |
| 1125 | variableScope | 398 | style | The scope of the variable 'evt' can be reduced. |
| 1284 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 1408 | variableScope | 398 | style | The scope of the variable 'txtlength' can be reduced. |
| 1429 | variableScope | 398 | style | The scope of the variable 'length' can be reduced. |
| 1696 | variableScope | 398 | style | The scope of the variable 'x' can be reduced. |
| 1696 | variableScope | 398 | style | The scope of the variable 'y' can be reduced. |
| 1696 | variableScope | 398 | style | The scope of the variable 'width' can be reduced. |
| 1696 | variableScope | 398 | style | The scope of the variable 'height' can be reduced. |
| 2376 | ConfigurationNotChecked | | information | Skipping 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. |
| 2419 | ConfigurationNotChecked | | information | Skipping 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. |
| 2551 | unreadVariable | 563 | style | Variable 'old_mode' is assigned a value that is never used. |
| gate/ui/graphics.c |
| 244 | variableScope | 398 | style | The scope of the variable 'ptrpixels' can be reduced. |
| 245 | variableScope | 398 | style | The scope of the variable 'ptrbytes' can be reduced. |
| 249 | variableScope | 398 | style | The scope of the variable 'line_patch' can be reduced. |
| 878 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 907 | variableScope | 398 | style | The scope of the variable 'ptrpixels' can be reduced. |
| 1079 | ConfigurationNotChecked | | information | Skipping 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. |
| 1398 | variableScope | 398 | style | The scope of the variable 'width' can be reduced. |
| 1398 | variableScope | 398 | style | The scope of the variable 'height' can be reduced. |
| 1535 | variableScope | 398 | style | The scope of the variable 'dst_pixels' can be reduced. |
| 2141 | variableScope | 398 | style | The scope of the variable 'display' can be reduced. |
| 2142 | variableScope | 398 | style | The scope of the variable 'screen' can be reduced. |
| 2143 | variableScope | 398 | style | The scope of the variable 'xdepth' can be reduced. |
| gate/ui/labels.c |
| 41 | variableScope | 398 | style | The scope of the variable 'label' can be reduced. |
| 45 | variableScope | 398 | style | The scope of the variable 'txtbufferused' can be reduced. |
| 65 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 153 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| gate/ui/listviews_gtk.c |
| 79 | unusedVariable | 563 | style | Unused variable: bin |
| 80 | variableScope | 398 | style | The scope of the variable 'scroll_widget' can be reduced. |
| 81 | variableScope | 398 | style | The scope of the variable 'view_port' can be reduced. |
| 243 | variableScope | 398 | style | The scope of the variable 'text_buffer' can be reduced. |
| 414 | variableScope | 398 | style | The scope of the variable 'item_data' can be reduced. |
| 439 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 440 | variableScope | 398 | style | The scope of the variable 'scroll_widget' can be reduced. |
| 607 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 620 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 722 | variableScope | 398 | style | The scope of the variable 'text_buffer' can be reduced. |
| 828 | variableScope | 398 | style | The scope of the variable 'str_buffer' can be reduced. |
| 1164 | variableScope | 398 | style | The scope of the variable 'item_param' can be reduced. |
| 1184 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 1185 | variableScope | 398 | style | The scope of the variable 'scroll_widget' can be reduced. |
| 1251 | variableScope | 398 | style | The scope of the variable 'ptr_pixbuf' can be reduced. |
| gate/ui/listviews_motif.c |
| 120 | variableScope | 398 | style | The scope of the variable 'insert_pos' can be reduced. |
| 207 | unusedVariable | 563 | style | Unused variable: ptr_data |
| 284 | variableScope | 398 | style | The scope of the variable 'ptr_pixmap' can be reduced. |
| 316 | variableScope | 398 | style | The scope of the variable 'ndx' can be reduced. |
| 578 | unusedVariable | 563 | style | Unused variable: ndx |
| gate/ui/listviews_winapi.c |
| 59 | variableScope | 398 | style | The scope of the variable 'lstbox' can be reduced. |
| 129 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 1171 | variableScope | 398 | style | The scope of the variable 'index' can be reduced. |
| 1173 | variableScope | 398 | style | The scope of the variable 'hmhdr' can be reduced. |
| 1174 | variableScope | 398 | style | The scope of the variable 'nmlv' can be reduced. |
| 1179 | variableScope | 398 | style | The scope of the variable 'item_data' can be reduced. |
| 1212 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 1264 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 1343 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 2207 | variableScope | 398 | style | The scope of the variable 'itemview' can be reduced. |
| 2294 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| gate/ui/paintsurfaces.c |
| 56 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 458 | variableScope | 398 | style | The scope of the variable 'width' can be reduced. |
| 458 | variableScope | 398 | style | The scope of the variable 'height' can be reduced. |
| gate/ui/panels.c |
| 45 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 71 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 116 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 136 | redundantAssignment | 563 | style | Variable 'host' is reassigned a value before the old one has been used. |
| 187 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 223 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 266 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 312 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 320 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 346 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 413 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 436 | redundantAssignment | 563 | style | Variable 'host' is reassigned a value before the old one has been used. |
| 498 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 575 | unreadVariable | 563 | style | Variable 'panel' is assigned a value that is never used. |
| 599 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 631 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 653 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 654 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 771 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 826 | unusedVariable | 563 | style | Unused variable: margin_w |
| 826 | unusedVariable | 563 | style | Unused variable: margin_h |
| 925 | unusedVariable | 563 | style | Unused variable: margin_w |
| 925 | unusedVariable | 563 | style | Unused variable: margin_h |
| 965 | variableScope | 398 | style | The scope of the variable 'args_count' can be reduced. |
| gate/ui/spinners.c |
| 153 | variableScope | 398 | style | The scope of the variable 'spinbox' can be reduced. |
| 154 | variableScope | 398 | style | The scope of the variable 'updown_width' can be reduced. |
| 176 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 375 | redundantAssignment | 563 | style | Variable 'result' is reassigned a value before the old one has been used. |
| gate/ui/splitters.c |
| 182 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 286 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 418 | redundantAssignment | 563 | style | Variable 'ret' is reassigned a value before the old one has been used. |
| 519 | unreadVariable | 563 | style | Variable 'container' is assigned a value that is never used. |
| 529 | unreadVariable | 563 | style | Variable 'container' is assigned a value that is never used. |
| 544 | unreadVariable | 563 | style | Variable 'container' is assigned a value that is never used. |
| 602 | variableScope | 398 | style | The scope of the variable 'ndx' can be reduced. |
| gate/ui/statusbars.c |
| 115 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 142 | variableScope | 398 | style | The scope of the variable 'statusbar' can be reduced. |
| 234 | variableScope | 398 | style | The scope of the variable 'txtlength' can be reduced. |
| 255 | variableScope | 398 | style | The scope of the variable 'length' can be reduced. |
| 345 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 369 | ConfigurationNotChecked | | information | Skipping 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. |
| 421 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 479 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 681 | unreadVariable | 563 | style | Variable 'parentContainer' is assigned a value that is never used. |
| gate/ui/tabs.c |
| 223 | variableScope | 398 | style | The scope of the variable 'hdr' can be reduced. |
| 224 | variableScope | 398 | style | The scope of the variable 'index' can be reduced. |
| 231 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 286 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 340 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 371 | duplicateExpression | 398 | style | Same expression on both sides of '|'. |
| 410 | variableScope | 398 | style | The scope of the variable 'ptr_ptr_panel' can be reduced. |
| 747 | unreadVariable | 563 | style | Variable 'widget' is assigned a value that is never used. |
| 772 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 891 | variableScope | 398 | style | The scope of the variable 'ptr' can be reduced. |
| 932 | variableScope | 398 | style | The scope of the variable 'ptr_panel' can be reduced. |
| 1014 | variableScope | 398 | style | The scope of the variable 'text_buffer' can be reduced. |
| 1086 | nullPointerRedundantCheck | 476 | warning | Either the condition 'ctrl!=NULL' is redundant or there is possible null pointer dereference: tc. |
| 1162 | variableScope | 398 | style | The scope of the variable 'page_num' can be reduced. |
| 1335 | variableScope | 398 | style | The scope of the variable 'ptr_w' can be reduced. |
| 1341 | nullPointerRedundantCheck | 476 | warning | Either the condition 'ctrl!=NULL' is redundant or there is possible null pointer dereference: tabctrl. |
| 1351 | nullPointerRedundantCheck | 476 | warning | Either the condition 'ctrl!=NULL' is redundant or there is possible null pointer dereference: tabctrl. |
| gate/ui/textboxes.c |
| 41 | variableScope | 398 | style | The scope of the variable 'txtbx' can be reduced. |
| 118 | knownConditionTrueFalse | 570 | style | Condition 'wParam==VK_TAB' is always false |
| 146 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 427 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 428 | variableScope | 398 | style | The scope of the variable 'scroll_window' can be reduced. |
| 429 | variableScope | 398 | style | The scope of the variable 'text_view' can be reduced. |
| 430 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 464 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 465 | variableScope | 398 | style | The scope of the variable 'scroll_window' can be reduced. |
| 466 | variableScope | 398 | style | The scope of the variable 'text_view' can be reduced. |
| 467 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 538 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 539 | variableScope | 398 | style | The scope of the variable 'scroll_window' can be reduced. |
| 540 | variableScope | 398 | style | The scope of the variable 'text_view' can be reduced. |
| 541 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 542 | variableScope | 398 | style | The scope of the variable 'text_buffer' can be reduced. |
| 594 | variableScope | 398 | style | The scope of the variable 'scroll_widget' can be reduced. |
| 596 | variableScope | 398 | style | The scope of the variable 'textbuffer' can be reduced. |
| 597 | variableScope | 398 | style | The scope of the variable 'entrybuffer' can be reduced. |
| 666 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 667 | variableScope | 398 | style | The scope of the variable 'scroll_window' can be reduced. |
| 668 | variableScope | 398 | style | The scope of the variable 'text_view' can be reduced. |
| 669 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 671 | variableScope | 398 | style | The scope of the variable 'mark' can be reduced. |
| 726 | variableScope | 398 | style | The scope of the variable 'scroll_window' can be reduced. |
| 727 | variableScope | 398 | style | The scope of the variable 'text_view' can be reduced. |
| 728 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 730 | variableScope | 398 | style | The scope of the variable 'mark' can be reduced. |
| 731 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| 773 | variableScope | 398 | style | The scope of the variable 'scroll_window' can be reduced. |
| 774 | variableScope | 398 | style | The scope of the variable 'text_view' can be reduced. |
| 775 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
| 778 | variableScope | 398 | style | The scope of the variable 'entry' can be reduced. |
| gate/ui/timers.c |
| 41 | variableScope | 398 | style | The scope of the variable 'timer' can be reduced. |
| 59 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 391 | variableScope | 398 | style | The scope of the variable 'ptr_host' can be reduced. |
| gate/ui/toolbars.c |
| 79 | unusedStructMember | 563 | style | struct member 'TBBUTTONINFO::iImage' is never used. |
| 85 | unusedStructMember | 563 | style | struct member 'TBBUTTONINFO::cchText' is never used. |
| 162 | variableScope | 398 | style | The scope of the variable 'nmhdr' can be reduced. |
| 165 | variableScope | 398 | style | The scope of the variable 'buttonindex' can be reduced. |
| 331 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 386 | ConfigurationNotChecked | | information | Skipping 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. |
| 510 | variableScope | 398 | style | The scope of the variable 'bitmap_id' can be reduced. |
| 510 | unreadVariable | 563 | style | Variable 'bitmap_id' is assigned a value that is never used. |
| 608 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 657 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 658 | variableScope | 398 | style | The scope of the variable 'item' can be reduced. |
| 659 | variableScope | 398 | style | The scope of the variable 'icon_widget' can be reduced. |
| 686 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 687 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 688 | variableScope | 398 | style | The scope of the variable 'item' can be reduced. |
| 690 | variableScope | 398 | style | The scope of the variable 'icon_widget' can be reduced. |
| 730 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 731 | variableScope | 398 | style | The scope of the variable 'item' can be reduced. |
| gate/ui/treeviews.c |
| 289 | variableScope | 398 | style | The scope of the variable 'hItem' can be reduced. |
| 290 | variableScope | 398 | style | The scope of the variable 'nmhdr' can be reduced. |
| 291 | variableScope | 398 | style | The scope of the variable 'nmtv' can be reduced. |
| 326 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| 401 | variableScope | 398 | style | The scope of the variable 'host' can be reduced. |
| 749 | variableScope | 398 | style | The scope of the variable 'widget' can be reduced. |
| 750 | variableScope | 398 | style | The scope of the variable 'col' can be reduced. |
| 751 | variableScope | 398 | style | The scope of the variable 'renderer' can be reduced. |
| 752 | variableScope | 398 | style | The scope of the variable 'model' can be reduced. |
| 754 | variableScope | 398 | style | The scope of the variable 'scroll_widget' can be reduced. |
| 1113 | variableScope | 398 | style | The scope of the variable 'path' can be reduced. |
| 1131 | variableScope | 398 | style | The scope of the variable 'path' can be reduced. |
| 1182 | variableScope | 398 | style | The scope of the variable 'path' can be reduced. |
| 1277 | variableScope | 398 | style | The scope of the variable 'ptr_node' can be reduced. |
| 1410 | duplicateBreak | 561 | style | Consecutive return, break, continue, goto or throw statements are unnecessary. |
| gate/utilities.c |
| 262 | variableScope | 398 | style | The scope of the variable 'key' can be reduced. |
| 291 | variableScope | 398 | style | The scope of the variable 'value' can be reduced. |
| 530 | uselessAssignmentPtrArg | 398 | warning | Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? |
| 632 | redundantAssignInSwitch | 563 | warning | Variable 'ret' is reassigned a value before the old one has been used. 'break;' missing? |
| 685 | variableScope | 398 | style | The scope of the variable 'name' can be reduced. |
| 686 | variableScope | 398 | style | The scope of the variable 'value' can be reduced. |
| gate/values.c |
| 186 | clarifyCalculation | 783 | style | Clarify calculation precedence for '*' and '?'. |
| 730 | variableScope | 398 | style | The scope of the variable 'strbuffer' can be reduced. |