godot/platform/android
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
..
export Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
globals Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
java Add clipboard operation for android OS 2018-09-05 17:27:45 -04:00
AndroidManifest.xml.template Write new permissions to the AndroidManifest.xml 2018-07-08 14:58:15 +02:00
SCsub add support libc++_shared stl on android 2018-08-23 05:02:47 +07:00
android_native_app_glue.c GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
android_native_app_glue.h Add missing license headers in our source files (#5255) 2016-06-18 14:46:12 +02:00
audio_driver_jandroid.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
audio_driver_jandroid.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
audio_driver_opensl.cpp Removed unnecessary assignments 2018-07-24 09:51:03 +02:00
audio_driver_opensl.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
build.gradle.template Remove android compatibility under API 16 2018-05-09 06:01:33 +09:00
cpu-features.c ran cppcheck, found unused variables 2015-09-16 15:35:30 -05:00
cpu-features.h 3D Physics Rework, Other Stuff 2014-09-15 11:33:30 -03:00
detect.py No need to link with libandroid_support in NDK 17 2018-08-28 02:34:59 +02:00
dir_access_android.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dir_access_android.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dir_access_jandroid.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dir_access_jandroid.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
file_access_android.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
file_access_android.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
file_access_jandroid.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
file_access_jandroid.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
godot_android.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
ifaddrs_android.cpp Minor code formatting in platform/android 2016-07-21 12:07:01 +02:00
ifaddrs_android.h Making Godot Easier to Use.. 2014-05-24 01:35:47 -03:00
java_class_wrapper.cpp Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
java_class_wrapper.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
java_glue.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
java_glue.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
logo.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2018-06-28 19:17:41 +02:00
os_android.cpp Add clipboard operation for android OS 2018-09-05 17:27:45 -04:00
os_android.h Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
platform_config.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
power_android.cpp Update copyright statements to 2018 2018-01-01 14:40:47 +01:00
power_android.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
run_icon.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2018-06-28 19:17:41 +02:00
sign.sh Making Godot Easier to Use.. 2014-05-24 01:35:47 -03:00
thread_jandroid.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
thread_jandroid.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00