godot/modules
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
..
bmp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
bullet Corrected cast_motion query behaviour 2018-09-22 11:17:31 +02:00
csg Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
cvtt Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
dds Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
enet ENet: Remove redundant if condition 2018-09-26 10:53:45 +02:00
etc Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
freetype Misc. typos 2018-09-12 21:39:17 -04:00
gdnative Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
gdscript Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
gridmap Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
hdr Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
jpg Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
mbedtls Fix invalid comparison warnings: [-Wbool-compare] and [-Wenum-compare] 2018-09-27 16:25:24 +02:00
mobile_vr Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
mono Mono: Fix not creating generic Array or Dictionary where expected 2018-09-27 00:11:31 +02:00
ogg SCons: Pass env to modules can_build method 2018-05-30 19:11:36 +02:00
opensimplex Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
opus Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
pvr Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
recast Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
regex Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
squish Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
stb_vorbis Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
svg Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
tga Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
thekla_unwrap Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
theora Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
tinyexr Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
upnp Misc. typos 2018-09-12 21:39:17 -04:00
visual_script Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
vorbis Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
webm SCons: Fix checks for clang in env['CXX'] 2018-09-25 11:15:25 +02:00
webp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
websocket Fix warnings about unused variables [-Wunused-variable] 2018-09-27 16:25:24 +02:00
register_module_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub - Improves portability in joystick buttons enum 2018-01-24 19:12:54 -03:00