godot/modules/gdscript
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
..
doc_classes Add support for tutorial links to makerst.py 2018-06-12 17:40:24 +02:00
editor Fix warning about functions defined but not used [-Wunused-function] 2018-09-29 22:26:12 +02:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
config.py SCons: Pass env to modules can_build method 2018-05-30 19:11:36 +02:00
gdscript.cpp Fix warnings about unhandled enum value in switch [-Wswitch] 2018-09-27 18:34:30 +02:00
gdscript.h Fix warnings about wrong member initialization order [-Wreorder] 2018-09-28 17:30:28 +02:00
gdscript_compiler.cpp GDScript: Fix stack address test in compiler 2018-09-19 11:17:45 -03:00
gdscript_compiler.h Use type information to enable GDScript introspection 2018-07-20 21:55:17 -03:00
gdscript_editor.cpp Fix warning about functions defined but not used [-Wunused-function] 2018-09-29 22:26:12 +02:00
gdscript_function.cpp Fix warnings on release builds (not DEBUG_ENABLED) 2018-10-03 17:34:55 +02:00
gdscript_function.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
gdscript_functions.cpp Fixed argument names being swapped for atan2 2018-09-16 21:27:54 +02:00
gdscript_functions.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
gdscript_parser.cpp Fix warnings on release builds (not DEBUG_ENABLED) 2018-10-03 17:34:55 +02:00
gdscript_parser.h Fix various Clang 7 warnings about unused stuff 2018-10-01 17:32:12 +02:00
gdscript_tokenizer.cpp Rename slave keyword to puppet 2018-09-15 00:06:03 +02:00
gdscript_tokenizer.h Rename slave keyword to puppet 2018-09-15 00:06:03 +02:00
register_types.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
register_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00