Fixes the following GCC 5 warnings: ``` core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function] core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function] editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function] editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function] modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function] scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] ``` Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword. Not fixed yet (static definition in header used in some files but not all): ``` modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function] ``` Also fixed a couple other warnings missed in previous commits.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
bind | Loading commit data... | |
io | Loading commit data... | |
math | Loading commit data... | |
os | Loading commit data... | |
SCsub | Loading commit data... | |
allocators.h | Loading commit data... | |
array.cpp | Loading commit data... | |
array.h | Loading commit data... | |
class_db.cpp | Loading commit data... | |
class_db.h | Loading commit data... | |
color.cpp | Loading commit data... | |
color.h | Loading commit data... | |
color_names.inc | Loading commit data... | |
command_queue_mt.cpp | Loading commit data... | |
command_queue_mt.h | Loading commit data... | |
compressed_translation.cpp | Loading commit data... | |
compressed_translation.h | Loading commit data... | |
core_builders.py | Loading commit data... | |
core_string_names.cpp | Loading commit data... | |
core_string_names.h | Loading commit data... | |
cowdata.h | Loading commit data... | |
dictionary.cpp | Loading commit data... | |
dictionary.h | Loading commit data... | |
dvector.cpp | Loading commit data... | |
dvector.h | Loading commit data... | |
engine.cpp | Loading commit data... | |
engine.h | Loading commit data... | |
error_list.h | Loading commit data... | |
error_macros.cpp | Loading commit data... | |
error_macros.h | Loading commit data... | |
func_ref.cpp | Loading commit data... | |
func_ref.h | Loading commit data... | |
global_constants.cpp | Loading commit data... | |
global_constants.h | Loading commit data... | |
hash_map.h | Loading commit data... | |
hashfuncs.h | Loading commit data... | |
image.cpp | Loading commit data... | |
image.h | Loading commit data... | |
input_map.cpp | Loading commit data... | |
input_map.h | Loading commit data... | |
int_types.h | Loading commit data... | |
list.h | Loading commit data... | |
make_binders.py | Loading commit data... | |
map.h | Loading commit data... | |
message_queue.cpp | Loading commit data... | |
message_queue.h | Loading commit data... | |
method_bind.cpp | Loading commit data... | |
method_bind.h | Loading commit data... | |
method_ptrcall.h | Loading commit data... | |
node_path.cpp | Loading commit data... | |
node_path.h | Loading commit data... | |
oa_hash_map.h | Loading commit data... | |
object.cpp | Loading commit data... | |
object.h | Loading commit data... | |
ordered_hash_map.h | Loading commit data... | |
packed_data_container.cpp | Loading commit data... | |
packed_data_container.h | Loading commit data... | |
pair.h | Loading commit data... | |
path_remap.cpp | Loading commit data... | |
path_remap.h | Loading commit data... | |
pool_allocator.cpp | Loading commit data... | |
pool_allocator.h | Loading commit data... | |
print_string.cpp | Loading commit data... | |
print_string.h | Loading commit data... | |
project_settings.cpp | Loading commit data... | |
project_settings.h | Loading commit data... | |
ref_ptr.cpp | Loading commit data... | |
ref_ptr.h | Loading commit data... | |
reference.cpp | Loading commit data... | |
reference.h | Loading commit data... | |
register_core_types.cpp | Loading commit data... | |
register_core_types.h | Loading commit data... | |
resource.cpp | Loading commit data... | |
resource.h | Loading commit data... | |
rid.cpp | Loading commit data... | |
rid.h | Loading commit data... | |
ring_buffer.h | Loading commit data... | |
safe_refcount.cpp | Loading commit data... | |
safe_refcount.h | Loading commit data... | |
script_debugger_local.cpp | Loading commit data... | |
script_debugger_local.h | Loading commit data... | |
script_debugger_remote.cpp | Loading commit data... | |
script_debugger_remote.h | Loading commit data... | |
script_language.cpp | Loading commit data... | |
script_language.h | Loading commit data... | |
self_list.h | Loading commit data... | |
set.h | Loading commit data... | |
simple_type.h | Loading commit data... | |
sort.h | Loading commit data... | |
string_buffer.h | Loading commit data... | |
string_builder.cpp | Loading commit data... | |
string_builder.h | Loading commit data... | |
string_db.cpp | Loading commit data... | |
string_db.h | Loading commit data... | |
translation.cpp | Loading commit data... | |
translation.h | Loading commit data... | |
type_info.h | Loading commit data... | |
typedefs.h | Loading commit data... | |
ucaps.h | Loading commit data... | |
undo_redo.cpp | Loading commit data... | |
undo_redo.h | Loading commit data... | |
ustring.cpp | Loading commit data... | |
ustring.h | Loading commit data... | |
variant.cpp | Loading commit data... | |
variant.h | Loading commit data... | |
variant_call.cpp | Loading commit data... | |
variant_construct_string.cpp | Loading commit data... | |
variant_op.cpp | Loading commit data... | |
variant_parser.cpp | Loading commit data... | |
variant_parser.h | Loading commit data... | |
vector.h | Loading commit data... | |
version.h | Loading commit data... | |
vmap.h | Loading commit data... | |
vset.h | Loading commit data... |