godot/editor/plugins
Rémi Verschelde d95bbb8922 Fix warnings about set but unused variables [-Wunused-but-set-variable]
Fixes the following GCC 5 warnings:
```
drivers/gles2/rasterizer_canvas_gles2.cpp:814:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2270:11: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2673:22: warning: variable 'e' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:715:7: warning: variable 'no_cull' set but not used [-Wunused-but-set-variable]
drivers/gles2/shader_gles2.cpp:693:14: warning: variable 'cc' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_canvas_gles3.cpp:1226:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:3039:10: warning: variable 'contrib' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:4504:32: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
editor/editor_inspector.cpp:272:9: warning: variable 'guide_color' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:1067:14: warning: variable 'alpha3' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:263:8: warning: variable 'script_bg_color' set but not used [-Wunused-but-set-variable]
editor/plugins/collision_shape_2d_editor_plugin.cpp:326:11: warning: variable 'cpoint' set but not used [-Wunused-but-set-variable]
editor/plugins/mesh_editor_plugin.cpp:72:9: warning: variable 'size' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:471:12: warning: variable 'mpos' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:89:8: warning: variable 'basetype_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:90:8: warning: variable 'type_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:92:8: warning: variable 'string_color' set but not used [-Wunused-but-set-variable]
modules/visual_script/visual_script_editor.cpp:2521:7: warning: variable 'seq_connect' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:580:12: warning: variable 'styles_count' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:584:12: warning: variable 'styles_offset' set but not used [-Wunused-but-set-variable]
platform/osx/export/export.cpp:464:9: warning: variable 'zerr' set but not used [-Wunused-but-set-variable]
scene/2d/tile_map.cpp:260:10: warning: variable 'tcenter' set but not used [-Wunused-but-set-variable]
scene/3d/light.cpp:166:7: warning: variable 'editor_ok' set but not used [-Wunused-but-set-variable]
scene/3d/navigation.cpp:566:11: warning: variable 'closest_navmesh' set but not used [-Wunused-but-set-variable]
scene/gui/rich_text_label.cpp:869:8: warning: variable 'size' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:705:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:706:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:726:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:727:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/resources/material.cpp:430:7: warning: variable 'using_world' set but not used [-Wunused-but-set-variable]
servers/visual/shader_language.cpp:2026:7: warning: variable 'all_const' set but not used [-Wunused-but-set-variable]
servers/visual/visual_server_scene.cpp:1383:28: warning: variable 'z_max_cam' set but not used [-Wunused-but-set-variable]
```

Also fixes two [-Wunused-value] warnings:
```
scene/gui/text_edit.cpp:4405:20: warning: statement has no effect [-Wunused-value]
servers/visual/visual_server_scene.cpp:905:48: warning: value computed is not used [-Wunused-value]
```

Some of those are bugs and need further work, they are identified with
`// FIXME` comments.
2018-09-27 16:25:24 +02:00
..
SCsub Refactoring: rename tools/editor/ to editor/ 2017-03-05 14:21:25 +01: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 Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +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 -Remove color operator clamping, which is unnecesary. Fixes #15184, fixes #14686. 2018-01-12 00:08:32 -03: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 #22290 from groud/add_2dimensional_scale 2018-09-25 10:25:13 +02:00
canvas_item_editor_plugin.h Add both X and Y scale in the scale editor 2018-09-25 09:50:25 +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 Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
curve_editor_plugin.h -Ability to open resources in the same window 2018-05-17 18:03:05 -03: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 Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +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 Tweak some editor texts' capitalization, use "Go to" instead of "Goto" 2018-09-25 22:51:13 +02:00
script_editor_plugin.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
script_text_editor.cpp Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
script_text_editor.h Added system for GDScript warnings 2018-08-10 16:00:47 -03:00
shader_editor_plugin.cpp Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +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 Add missing copyright headers 2018-08-29 22:41:17 +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 Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
spatial_editor_plugin.h Fix warnings on non-static data member initializers (C++11 feature) 2018-09-27 10:29:48 +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 vformat(), minor typos and word puzzles 2018-08-29 11:50:39 +03: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