virtualx-engine/servers
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
..
arvr Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
audio Fix compressor audio effect sidechain selection 2018-03-21 22:45:30 +01:00
physics Merge pull request #17594 from ivodopiviz/float-overflow 2018-04-08 09:14:29 -03:00
physics_2d Merge pull request #17151 from ShyRed/disabled_shapes_2d 2018-04-08 11:16:55 -03:00
visual Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
arvr_server.cpp Update classref and docs, fix missing parameters' name 2018-04-11 10:20:22 +07:00
arvr_server.h A few fixes on the ARVR Server 2018-03-15 23:31:02 +11:00
audio_server.cpp Added new audio device functions to set/get the audio device 2018-03-26 17:41:05 -03:00
audio_server.h Added new audio device functions to set/get the audio device 2018-03-26 17:41:05 -03:00
physics_2d_server.cpp Improved kinematic body 2D and 3D, Now can move rigid body 2018-02-20 12:43:47 +01:00
physics_2d_server.h Improved kinematic body 2D and 3D, Now can move rigid body 2018-02-20 12:43:47 +01:00
physics_server.cpp Fixed physics server typo 2018-02-27 08:42:09 +01:00
physics_server.h Merge pull request #16757 from AndreaCatania/kinpush 2018-02-20 15:41:10 +01:00
register_server_types.cpp Deprecated Godot 3D physics engine 2018-02-26 12:51:30 +01:00
register_server_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00
server_wrap_mt_common.h Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
visual_server.cpp Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
visual_server.h 2D Skeletons WORK IN PROGRESS 2018-02-21 17:24:00 -03:00