godot/drivers
Rémi Verschelde 95131e6f23 Fix warnings on release builds (not DEBUG_ENABLED)
Fixes the following Clang 5 warnings:
```
modules/bmp/image_loader_bmp.cpp:46:60: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
modules/bmp/image_loader_bmp.cpp:48:61: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
drivers/png/image_loader_png.cpp:231:20: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
scene/gui/graph_edit.cpp:1045:8: warning: comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare]

core/class_db.cpp:812:13: warning: unused variable 'check' [-Wunused-variable]
core/io/file_access_pack.cpp:172:11: warning: unused variable 'ver_rev' [-Wunused-variable]
core/math/bsp_tree.cpp:195:13: warning: unused variable 'plane' [-Wunused-variable]
core/math/bsp_tree.cpp:168:6: warning: unused variable 'plane_count' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:685:10: warning: unused variable 'ok' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:706:10: warning: unused variable 'ok' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:755:19: warning: unused variable 'var_type' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:1306:12: warning: unused variable 'err' [-Wunused-variable]

modules/gdscript/gdscript_function.cpp:158:15: warning: unused function '_get_var_type' [-Wunused-function]
modules/gdscript/gdscript_parser.cpp:750:20: warning: unused variable 'lv' [-Wunused-variable]
modules/gdscript/gdscript_parser.cpp:59:15: warning: unused function '_find_function_name' [-Wunused-function]
scene/main/node.cpp:2489:13: warning: unused function '_Node_debug_sn' [-Wunused-function]
```
2018-10-03 17:34:55 +02:00
..
alsa SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
alsamidi SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
convex_decomp SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
coreaudio SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
coremidi SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
dummy Moving lens distortion shader into drivers and adding GLES2 support 2018-10-02 17:14:43 +10:00
gl_context SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
gles2 vertex lit optimization for fog. 2018-10-02 19:08:33 -03:00
gles3 Fix some more warnings reported by CI 2018-10-03 14:13:42 +02:00
png Fix warnings on release builds (not DEBUG_ENABLED) 2018-10-03 17:34:55 +02:00
pulseaudio SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
rtaudio SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
unix Fix warnings in Android platform 2018-10-03 15:17:00 +02:00
wasapi SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
windows SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
winmidi SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
xaudio2 SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
register_driver_types.cpp SCons: Remove avoidable defines from main env's CPPPATH 2018-10-01 11:59:22 +02:00
register_driver_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub SCons: Build core's thirdparty code in own environment 2018-09-28 11:40:41 +02:00