godot/modules
Crazy-P e6deba8d19 Fixes logically dead code (Coverity)
Fixes reported logically dead codes by Coverity

* image.cpp: Doesn't really need any modification. But to remove the bug
report then we have to move the MAX call away from the for loop
statement.

* rasterizer_gles3.cpp: Removes unnecessary elif condition since it is
checked earlier in the function

* collada.cpp: If stamement never reached due to macro ERR_CONTINUE does
the same.

* navigation_mesh.cpp: Variables should always be null - however, also
checked for the very same condition in their function call. Leaving this
for review (whether the function call is necessary or not)

* path_editor_plugin.cpp: If cancel is true, then it should restore the
edited value to the original provided.
http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle

* spatial_editor_gizmos.cpp: the very condition of i >= 3 is
predetermined in the if case right before it. Thus case 1 is always '1'
and case 2 is always '-1'

* grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp

* voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp

* visual_server.cpp: Same as above in spatial_editor_gizmos.cpp

* visual_script_expression.cpp: char '-' is already true in the switch
case mechanism. Thus it can never reach to default case.

* particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking
right before the switch execution.

* shader_language.cpp: Invalid index is handled in switch default case.
`type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`)
Fixes the "always false problem" in TODO comment.
2018-04-21 22:35:23 +08:00
..
bullet Merge pull request #18204 from tagcup/quat_scale 2018-04-18 13:55:35 +02:00
dds Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
enet Add DNS resolution in NetworkedMultiplayerEnet::create_client() 2018-04-13 22:31:01 +02:00
etc Properly resize textures so they can be ETC compressed, fixes #15139 2018-01-12 11:46:42 -03:00
freetype Disable FreeType SIMD in HTML5 builds 2018-03-06 21:43:44 +01:00
gdnative Merge pull request #18119 from sheepandshepherd/nativescript_property_list 2018-04-19 21:37:46 +02:00
gdscript Merge pull request #18040 from Paulb23/color_region_cache 2018-04-09 16:05:26 +02:00
gridmap Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
hdr Fixes importing hdr files with extra header info 2018-03-11 19:21:09 +01:00
jpg Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mbedtls Generalize SSL cert reading from file 2018-04-03 20:13:57 +02:00
mobile_vr add GLES 2 renderer for 2D 2018-03-01 15:12:30 +01:00
mono #18051: Fix indentation issues introduced during clean up 2018-04-17 07:53:27 +09:00
ogg Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
opus Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
pvr Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
recast Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
regex doc: Remove status from hardcoded version string 2018-02-27 13:40:49 +01:00
squish Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
stb_vorbis Fix silent failure of importing OGG Vorbis files 2018-03-06 21:48:30 +01:00
svg Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
tga Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
thekla_unwrap Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
theora Comment out some debugging messages when playing Theora files 2018-04-02 16:48:06 -04:00
tinyexr Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
visual_script Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
vorbis Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
webm Fix IPhone and OSX cross compilation 2018-03-28 19:08:20 +02:00
webp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
websocket Implement get_peer_[address|port] in ENet/WSServer 2018-04-12 12:30:51 +02:00
SCsub - Improves portability in joystick buttons enum 2018-01-24 19:12:54 -03:00
register_module_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00