godot/drivers
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
..
alsa Added new audio device functions to set/get the audio device 2018-03-26 17:41:05 -03:00
convex_decomp Fix typos with codespell 2018-02-21 19:46:06 +01:00
coreaudio CoreAudio: Fix iphone build after audio device refactor (#17742) 2018-04-10 13:04:30 +02:00
dummy Add missing return statements (iOS and server). 2018-02-25 01:11:03 +02:00
gl_context Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gles2 Merge pull request #17421 from Chaosus/fixshaderbugs 2018-04-08 09:33:12 -03:00
gles3 Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
png Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
pulseaudio Fixed high cpu usage with PulseAudio 2018-04-15 11:29:16 -03:00
rtaudio Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
unix [DOCS] add HTTPRequest.request return values 2018-04-20 16:34:30 +07:00
wasapi WASAPI audio driver compile fix on mingw 2018-04-09 23:29:25 -03:00
windows Fix case mismatch check on Windows 2018-04-18 14:52:05 +02:00
xaudio2 Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
zlib style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
SCsub add GLES 2 renderer for 2D 2018-03-01 15:12:30 +01:00
register_driver_types.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
register_driver_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00