godot/editor/plugins
Rémi Verschelde f48ee838e7 Fix GCC 8 warnings about potentially unitialized variables
Fixes the following GCC 8 warnings:
```
core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized]

core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
```
2018-10-04 13:08:41 +02:00
..
abstract_polygon_2d_editor.cpp Merge pull request #22225 from groud/fix_draw_on_viewport 2018-09-20 21:45:16 +02:00
abstract_polygon_2d_editor.h Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
animation_blend_space_1d_editor.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
animation_blend_space_1d_editor.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
animation_blend_space_2d_editor.cpp Fix GCC 8 warnings about potentially unitialized variables 2018-10-04 13:08:41 +02:00
animation_blend_space_2d_editor.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
animation_blend_tree_editor_plugin.cpp Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
animation_blend_tree_editor_plugin.h Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
animation_player_editor_plugin.cpp Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
animation_player_editor_plugin.h Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
animation_state_machine_editor.cpp Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
animation_state_machine_editor.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
animation_tree_editor_plugin.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
animation_tree_editor_plugin.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
animation_tree_player_editor_plugin.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
animation_tree_player_editor_plugin.h Massive rewrite to AnimationTree. Many APIs changed in order to: 2018-08-20 13:39:16 -03:00
asset_library_editor_plugin.cpp Fix occasional crash when downloading assets from the Asset Library 2018-08-20 20:21:56 +02:00
asset_library_editor_plugin.h Fix Coverity reports of uninitialized scalar variable 2018-04-19 15:20:45 +02:00
audio_stream_editor_plugin.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
audio_stream_editor_plugin.h Add audio stream preview to Inspector dock 2018-07-17 22:11:35 +09:00
baked_lightmap_editor_plugin.cpp Fix warnings about unhandled enum value in switch [-Wswitch] 2018-09-27 18:34:30 +02:00
baked_lightmap_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
camera_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
camera_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
canvas_item_editor_plugin.cpp Merge pull request #22329 from DualMatrix/no_select 2018-10-02 16:39:00 +02:00
canvas_item_editor_plugin.h Merge pull request #22329 from DualMatrix/no_select 2018-10-02 16:39:00 +02:00
collision_polygon_2d_editor_plugin.cpp -Ability to open resources in the same window 2018-05-17 18:03:05 -03:00
collision_polygon_2d_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
collision_polygon_editor_plugin.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
collision_polygon_editor_plugin.h Fix how snapping is applied to 3D polygon editing, make it more friendly. 2018-04-28 11:22:22 -03:00
collision_shape_2d_editor_plugin.cpp Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
collision_shape_2d_editor_plugin.h Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
cpu_particles_editor_plugin.cpp Move ParticlesMaterial code to its own resource file 2018-09-04 11:32:56 +02:00
cpu_particles_editor_plugin.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
curve_editor_plugin.cpp Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor] 2018-10-02 13:40:17 +02:00
curve_editor_plugin.h Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor] 2018-10-02 13:40:17 +02:00
editor_preview_plugins.cpp Add thumnails to the tree view 2018-09-14 10:14:33 +02:00
editor_preview_plugins.h Add thumnails to the tree view 2018-09-14 10:14:33 +02:00
gi_probe_editor_plugin.cpp -Remove color operator clamping, which is unnecesary. Fixes #15184, fixes #14686. 2018-01-12 00:08:32 -03:00
gi_probe_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gradient_editor_plugin.cpp -Ability to open resources in the same window 2018-05-17 18:03:05 -03:00
gradient_editor_plugin.h -Ability to open resources in the same window 2018-05-17 18:03:05 -03:00
item_list_editor_plugin.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
item_list_editor_plugin.h Replace last occurrences of PropertyEditor by EditorInspector 2018-09-11 16:09:19 +02:00
light_occluder_2d_editor_plugin.cpp Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
light_occluder_2d_editor_plugin.h Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
line_2d_editor_plugin.cpp -Ability to open resources in the same window 2018-05-17 18:03:05 -03:00
line_2d_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
material_editor_plugin.cpp Move ParticlesMaterial code to its own resource file 2018-09-04 11:32:56 +02:00
material_editor_plugin.h Move ParticlesMaterial code to its own resource file 2018-09-04 11:32:56 +02:00
mesh_editor_plugin.cpp Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
mesh_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_instance_editor_plugin.cpp Change ".." punctuation for "..." in editor strings (#16507) 2018-04-22 19:36:01 +02:00
mesh_instance_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_library_editor_plugin.cpp Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
mesh_library_editor_plugin.h Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors 2018-08-22 16:52:38 -03:00
multimesh_editor_plugin.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
multimesh_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
navigation_polygon_editor_plugin.cpp -Ability to open resources in the same window 2018-05-17 18:03:05 -03:00
navigation_polygon_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
particles_2d_editor_plugin.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
particles_2d_editor_plugin.h Move ParticlesMaterial code to its own resource file 2018-09-04 11:32:56 +02:00
particles_editor_plugin.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
particles_editor_plugin.h Move ParticlesMaterial code to its own resource file 2018-09-04 11:32:56 +02:00
path_2d_editor_plugin.cpp Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
path_2d_editor_plugin.h Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
path_editor_plugin.cpp Merge pull request #21707 from JFonS/fix_instanced_selection 2018-09-05 18:11:56 +02:00
path_editor_plugin.h Fix regression #21262 in Path Gizmo 2018-08-30 14:24:24 +02:00
physical_bone_plugin.cpp Correctly freed PhysicalBoneEditor 2018-09-22 11:27:30 +02:00
physical_bone_plugin.h Correctly freed PhysicalBoneEditor 2018-09-22 11:27:30 +02:00
polygon_2d_editor_plugin.cpp Fix warnings about unhandled enum value in switch [-Wswitch] 2018-09-27 18:34:30 +02:00
polygon_2d_editor_plugin.h Skeletal deform working 2018-05-04 11:54:21 -03:00
resource_preloader_editor_plugin.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
resource_preloader_editor_plugin.h Display path to preloaded res + button to open it 2018-01-15 07:49:29 +01:00
root_motion_editor_plugin.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
root_motion_editor_plugin.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
script_editor_plugin.cpp Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor] 2018-10-02 13:40:17 +02:00
script_editor_plugin.h Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor] 2018-10-02 13:40:17 +02:00
script_text_editor.cpp Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor] 2018-10-02 13:40:17 +02:00
script_text_editor.h Added system for GDScript warnings 2018-08-10 16:00:47 -03:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
shader_editor_plugin.cpp Fix warning about functions defined but not used [-Wunused-function] 2018-09-29 22:26:12 +02:00
shader_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
skeleton_2d_editor_plugin.cpp Add missing copyright headers 2018-05-16 14:50:44 -03:00
skeleton_2d_editor_plugin.h Add missing copyright headers 2018-05-16 14:50:44 -03:00
skeleton_editor_plugin.cpp Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more 2018-09-27 16:33:52 +02:00
skeleton_editor_plugin.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
skeleton_ik_editor_plugin.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
skeleton_ik_editor_plugin.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
spatial_editor_plugin.cpp Merge pull request #22568 from dlasalle/#14959 2018-10-02 11:26:29 +02:00
spatial_editor_plugin.h Merge pull request #21679 from pgruenbacher/spatial_editor_viewport_get_camera 2018-10-02 11:23:14 +02:00
sprite_editor_plugin.cpp Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
sprite_editor_plugin.h Add missing copyright headers 2018-05-16 14:50:44 -03:00
sprite_frames_editor_plugin.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
sprite_frames_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
style_box_editor_plugin.cpp -Ability to open resources in the same window 2018-05-17 18:03:05 -03:00
style_box_editor_plugin.h -Ability to open resources in the same window 2018-05-17 18:03:05 -03:00
text_editor.cpp Fixed syntax highlighting setting not being saved 2018-09-20 11:31:53 +02:00
text_editor.h Allow opening and editing of any utf_8 file in script editor 2018-07-22 11:55:56 +01:00
texture_editor_plugin.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
texture_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
texture_region_editor_plugin.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
texture_region_editor_plugin.h Texture Region: Cache auto-slice information into the texture. Fixes #11503 2018-08-25 09:02:05 -03:00
theme_editor_plugin.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
theme_editor_plugin.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
tile_map_editor_plugin.cpp Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
tile_map_editor_plugin.h Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
tile_set_editor_plugin.cpp Fix warnings about unhandled enum value in switch [-Wswitch] 2018-09-27 18:34:30 +02:00
tile_set_editor_plugin.h Changes to the TileSet and TextureRegion editors 2018-08-14 14:02:47 -03:00
visual_shader_editor_plugin.cpp Merge pull request #22239 from Chaosus/fix_vs_connection 2018-09-20 18:46:02 +02:00
visual_shader_editor_plugin.h Add missing copyright headers 2018-08-29 22:41:17 +02:00