godot/editor
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
..
collada Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
doc Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
fileserver Unify StreamPeerTCP/TCP_Server with NetSocket API 2018-09-12 15:56:20 +02:00
icons Icon for TextFiles 2018-09-22 15:17:17 +01:00
import Check for absolute paths in OBJ loader 2018-09-16 22:23:40 -04:00
plugins Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
translations Misc. typos 2018-09-12 21:39:17 -04:00
SCsub Bundle SSL certs with the templates. 2018-09-15 10:54:00 +02:00
animation_bezier_editor.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
animation_bezier_editor.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
animation_track_editor.cpp Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
animation_track_editor.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
animation_track_editor_plugins.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
animation_track_editor_plugins.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
array_property_edit.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
array_property_edit.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
audio_stream_preview.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
audio_stream_preview.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
code_editor.cpp Fixed clicking on Find/Replace doesn't set the focus on the text field 2018-09-18 00:10:23 +02:00
code_editor.h Added system for GDScript warnings 2018-08-10 16:00:47 -03:00
connections_dialog.cpp Automatically add extra args to func when creating it from create signal window 2018-09-16 21:01:17 +02:00
connections_dialog.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
create_dialog.cpp Fixed favorite nodes list not being saved 2018-09-19 00:30:01 +02:00
create_dialog.h Add toggle for favorites in create_root_dialog. 2018-08-08 12:15:42 -05:00
dependency_editor.cpp Merge pull request #21426 from groud/add_files_to_tree_view 2018-09-20 18:32:13 +02:00
dependency_editor.h remove favorited dirs if original dir deleted 2018-05-02 08:57:56 +08:00
dictionary_property_edit.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
dictionary_property_edit.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_about.cpp Remove unnecessary "OK"s text settings 2018-09-15 21:40:50 -03:00
editor_about.h GDScript access to copyright, license, author and donor information. 2018-05-19 00:40:16 +01:00
editor_asset_installer.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_asset_installer.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_audio_buses.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
editor_audio_buses.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_autoload_settings.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_autoload_settings.h Only add autoloads in editor if they have tool scripts 2018-05-22 13:26:13 -03:00
editor_builders.py Bundle SSL certs with the templates. 2018-09-15 10:54:00 +02:00
editor_data.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
editor_data.h Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
editor_dir_dialog.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_dir_dialog.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_export.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_export.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_file_dialog.cpp Make EditorFileDialog be able to pick a folder when entering it 2018-09-21 19:42:06 -03:00
editor_file_dialog.h Add thumnails to the tree view 2018-09-14 10:14:33 +02:00
editor_file_system.cpp Fix EditorSettings saving on draw calls 2018-09-19 21:37:55 -05:00
editor_file_system.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_fonts.cpp Add Hindi font for editor 2018-08-30 05:11:09 +09:00
editor_fonts.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_help.cpp Fixed empty item slipping into Search Classes dialog 2018-09-17 12:41:47 +02:00
editor_help.h display some constants as hex 2018-08-21 17:13:16 -03:00
editor_inspector.cpp Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
editor_inspector.h Replace last occurrences of PropertyEditor by EditorInspector 2018-09-11 16:09:19 +02:00
editor_log.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_log.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_name_dialog.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_name_dialog.h Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
editor_node.cpp Merge pull request #22225 from groud/fix_draw_on_viewport 2018-09-20 21:45:16 +02:00
editor_node.h Merge pull request #22225 from groud/fix_draw_on_viewport 2018-09-20 21:45:16 +02:00
editor_path.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
editor_path.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_plugin.cpp Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
editor_plugin.h Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
editor_plugin_settings.cpp Add EditorPlugin descriptions to their tooltip 2018-09-14 12:21:09 -05:00
editor_plugin_settings.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_profiler.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_profiler.h Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
editor_properties.cpp Inspector: Enable wrap for multiline text widget 2018-09-27 09:09:47 +02:00
editor_properties.h Change how path properties are presented, so they can be edited. Fixes #20709 2018-08-23 11:45:54 -03:00
editor_properties_array_dict.cpp Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
editor_properties_array_dict.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
editor_resource_preview.cpp Bugfixes on the filesystem dock 2018-09-14 13:59:19 +02:00
editor_resource_preview.h Add thumnails to the tree view 2018-09-14 10:14:33 +02:00
editor_run.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_run.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_run_native.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_run_native.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_run_script.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_run_script.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_scale.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
editor_scale.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
editor_sectioned_inspector.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
editor_sectioned_inspector.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
editor_settings.cpp Added viewport border color setting for canvas item editor 2018-09-24 16:16:40 +03:00
editor_settings.h Fixes favorites not updating and rename favorite_dirs to favorites 2018-09-18 14:02:59 +02:00
editor_spin_slider.cpp Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
editor_spin_slider.h -Add Expression class, used to evaluate expressions 2018-08-08 17:35:23 -03:00
editor_sub_scene.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
editor_sub_scene.h Fix inconsistencies and typos in argument names 2018-02-01 16:47:20 +01:00
editor_themes.cpp Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
editor_themes.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
export_template_manager.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
export_template_manager.h Remove cached .tpz archive after templates download and install 2018-08-13 12:46:02 +02:00
file_type_cache.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
file_type_cache.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
filesystem_dock.cpp Merge pull request #22398 from groud/fix_import_tab_update 2018-09-24 15:26:23 +02:00
filesystem_dock.h Fixes favorites not updating and rename favorite_dirs to favorites 2018-09-18 14:02:59 +02:00
find_in_files.cpp Tweak some editor texts' capitalization, use "Go to" instead of "Goto" 2018-09-25 22:51:13 +02:00
find_in_files.h Find in Files improvements 2018-08-19 19:24:39 +01:00
groups_editor.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
groups_editor.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
import_dock.cpp Port ImportDock and ProjectExport to new property editor (2nd try) 2018-08-20 10:07:06 +02:00
import_dock.h Port ImportDock and ProjectExport to new property editor (2nd try) 2018-08-20 10:07:06 +02:00
inspector_dock.cpp Merge pull request #22131 from DualMatrix/unique_res 2018-09-20 15:35:23 +02:00
inspector_dock.h Massive rewrite to AnimationTree. Many APIs changed in order to: 2018-08-20 13:39:16 -03:00
multi_node_edit.cpp Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/ 2018-09-23 14:58:15 +02:00
multi_node_edit.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
node_dock.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
node_dock.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
output_strings.cpp Perfect FreeType-based outlines for DynamicFonts 2018-05-08 13:45:24 +07:00
output_strings.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
pane_drag.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
pane_drag.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
plugin_config_dialog.cpp Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
plugin_config_dialog.h Add PluginConfigDialog, EditorPluginSettings GUI 2018-07-26 10:12:05 -05:00
progress_dialog.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
progress_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
project_export.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
project_export.h ExportDialog: Validate path before allowing export 2018-08-31 11:19:13 +02:00
project_manager.cpp Bundle SSL certs with the templates. 2018-09-15 10:54:00 +02:00
project_manager.h Add clear text button to LineEdit 2018-08-11 12:04:26 +02:00
project_settings_editor.cpp ProjectSettings: Fix InputMap editor on HiDPI 2018-09-14 18:11:55 +02:00
project_settings_editor.h Merge pull request #19837 from willnationsdev/plugin-utilities 2018-08-15 11:42:51 +02:00
property_editor.cpp Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/ 2018-09-23 14:58:15 +02:00
property_editor.h Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/ 2018-09-23 14:58:15 +02:00
property_selector.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
property_selector.h Entirely new (and much improved) animation editor. 2018-06-07 12:52:00 -03:00
pvrtc_compress.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
pvrtc_compress.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
quick_open.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
quick_open.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
register_exporters.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rename_dialog.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
rename_dialog.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
reparent_dialog.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
reparent_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
run_settings_dialog.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
run_settings_dialog.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
scene_tree_dock.cpp Change viewport type after using create root menu 2018-09-20 10:44:58 +02:00
scene_tree_dock.h Add toggle for favorites in create_root_dialog. 2018-08-08 12:15:42 -05:00
scene_tree_editor.cpp Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
scene_tree_editor.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
script_create_dialog.cpp Prevent built-in-scripts from being made from FileSystem dock 2018-09-23 17:38:59 +02:00
script_create_dialog.h Prevent built-in-scripts from being made from FileSystem dock 2018-09-23 17:38:59 +02:00
script_editor_debugger.cpp Merge pull request #22201 from DualMatrix/error_spam_2_electric_boogaloo 2018-09-20 14:45:21 +02:00
script_editor_debugger.h Add expand/collapse all buttons for the "Errors" tab 2018-09-12 23:53:10 -03:00
settings_config_dialog.cpp Fix crash on colour theme change, issue 21715 2018-09-15 19:22:20 +01:00
settings_config_dialog.h Add clear text button to LineEdit 2018-08-11 12:04:26 +02:00
spatial_editor_gizmos.cpp Fix warnings on non-static data member initializers (C++11 feature) 2018-09-27 10:29:48 +02:00
spatial_editor_gizmos.h Move ParticlesMaterial code to its own resource file 2018-09-04 11:32:56 +02:00