Issues found by Cppcheck 1.68

src/base/i18n.cc:241: (style) Variable 'alt_str' is assigned a value that is never used.
src/base/md5.h:75: (warning) Member variable 'MD5Checksum::sum' is not initialized in the constructor.
src/economy/routeastar.cc:40: (warning) Non-pure function: 'cookie' is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.
src/logic/cookie_priority_queue.h:108: (style) Unused private function: 'CookiePriorityQueue<_T,_Cw,_CA>::selftest'
src/logic/widelands_geometry.h:152: (performance) Parameter 'other' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/logic/widelands_geometry.h:155: (performance) Parameter 'other' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/economy/trackptr.h:41: (style) 'class Trackable' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
src/economy/test/test_routing.cc:176: (style) 'struct TestingNodeDefaultNodesFixture' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
src/economy/test/test_routing.cc:222: (style) 'struct SimpleRouterFixture' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
src/economy/test/test_routing.cc:388: (style) 'struct ComplexRouterFixture' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
src/economy/test/test_routing.cc:408: (performance) Parameter 'pos' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/logic/field.h:58: (style) The struct 'Field' does not have a constructor although it has private member variables. Member variables of builtin types are left uninitialized when the class is instantiated. That may cause bugs or undefined behavior.
src/editor/tools/editor_tool_action.h:62: (style) Value of pointer 'args', which points to allocated memory, is copied in copy constructor instead of allocating new memory.
src/editor/tools/editor_tool.h:51: (performance) Parameter 'center' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/editor/tools/editor_tool.h:61: (performance) Parameter 'center' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/editor/tools/editor_history.h:46: (performance) Parameter 'center' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/io/fileread.h:56: (performance) Parameter 'other' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/graphic/color.cc:46: (warning) Member variable 'RGBAColor::r' is not initialized in the constructor.
src/graphic/color.cc:46: (warning) Member variable 'RGBAColor::g' is not initialized in the constructor.
src/graphic/color.cc:46: (warning) Member variable 'RGBAColor::b' is not initialized in the constructor.
src/graphic/color.cc:46: (warning) Member variable 'RGBAColor::a' is not initialized in the constructor.
src/graphic/gl/blit_program.cc:58: (style) struct or union member 'PerVertexData::gl_x' is never used.
src/graphic/gl/blit_program.cc:58: (style) struct or union member 'PerVertexData::gl_y' is never used.
src/graphic/image_io.cc:80: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
src/graphic/richtext.cc:210: (style) struct or union member 'TextBuilder::linespacing' is never used.
src/graphic/richtext.cc:456: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
src/graphic/texture_atlas.h:59: (warning) Member variable 'Block::node' is not initialized in the constructor.
src/io/dedicated_log.h:31: (style) 'struct DedicatedLog' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
src/io/filewrite.h:56: (performance) Parameter 'other' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/io/fileread.cc:60: (performance) Parameter 'pos' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/io/fileread.cc:80: (performance) Parameter 'pos' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/io/fileread.cc:92: (performance) Parameter 'pos' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/io/filesystem/disk_filesystem.cc:351: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
src/io/filesystem/disk_filesystem.cc:360: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
src/io/filesystem/filesystem.cc:65: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'm_root' a value by passing the value to the constructor in the initialization list.
src/io/filesystem/filesystem.cc:1: (information) Skipping configuration 'ELOOP' since the value of 'ELOOP' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
src/io/filesystem/zip_filesystem.cc:185: (warning) Non-pure function: 'file_exists' is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.
src/io/filesystem/zip_filesystem.cc:186: (warning) Non-pure function: 'is_directory' is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.
src/io/filesystem/zip_filesystem.cc:209: (warning) Non-pure function: 'file_exists' is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.
src/io/filesystem/zip_filesystem.cc:333: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
src/io/filewrite.cc:53: (performance) Parameter 'pos' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/logic/findimmovable.h:60: (style) Value of pointer 'capsule', which points to allocated memory, is copied in copy constructor instead of allocating new memory.
src/logic/message.h:70: (performance) Parameter 'c' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/logic/findnode.h:61: (style) Value of pointer 'capsule', which points to allocated memory, is copied in copy constructor instead of allocating new memory.
src/logic/map_revision.cc:31: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'm_map_creator_version' a value by passing the value to the constructor in the initialization list.
src/logic/mapastar.h:177: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/logic/maphollowregion.h:35: (performance) Parameter 'hollow_area' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/logic/widelands_geometry_io.h:109: (performance) Parameter 'area' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/logic/path.cc:123: (performance) Parameter 'c' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/logic/widelands_geometry_io.cc:97: (style) Redundant condition: If EXPR == -1, the comparison EXPR < 32768 is always true.
src/logic/widelands_geometry_io.cc:98: (style) Redundant condition: If EXPR == -1, the comparison EXPR < 32768 is always true.
src/logic/widelands_geometry_io.cc:103: (performance) Parameter 'area' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/network/internet_gaming.cc:187: (warning) Non-pure function: 'error' is called inside assert statement. Assert statements are removed from release builds so the code inside assert statement is not executed. If the code is needed also in release builds, this is a bug.
src/third_party/minizip/unzip.cc:699: (style) Variable 'lSeek' is assigned a value that is never used.
src/third_party/minizip/unzip.cc:2557: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/third_party/minizip/unzip.cc:2558: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/ui_basic/checkbox.cc:123: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/ui_basic/slider.cc:553: (performance) Parameter 'labels_in' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/ui_basic/textarea.cc:146: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/ui_basic/textarea.cc:147: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/ui_basic/textarea.cc:148: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/ui_basic/textarea.cc:149: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/ui_basic/table.h:147: (warning) Member variable '_data::d_picture' is not initialized in the constructor.
src/ui_fsmenu/load_map_or_game.h:53: (style) The struct 'MapAuthorData' does not have a constructor although it has private member variables. Member variables of builtin types are left uninitialized when the class is instantiated. That may cause bugs or undefined behavior.
src/ui_basic/table.h:125: (performance) Parameter 'c' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/ui_fsmenu/campaign_select.cc:204: (error) Division by zero.
src/ui_fsmenu/campaign_select.cc:488: (error) Division by zero.
src/ui_fsmenu/main_menu.cc:22: (warning) Member variable 'FullscreenMenuMainMenu::m_box_x' is not initialized in the constructor.
src/ui_fsmenu/main_menu.cc:22: (warning) Member variable 'FullscreenMenuMainMenu::m_box_y' is not initialized in the constructor.
src/ui_fsmenu/main_menu.cc:22: (warning) Member variable 'FullscreenMenuMainMenu::m_butw' is not initialized in the constructor.
src/ui_fsmenu/main_menu.cc:22: (warning) Member variable 'FullscreenMenuMainMenu::m_buth' is not initialized in the constructor.
src/ui_fsmenu/main_menu.cc:22: (warning) Member variable 'FullscreenMenuMainMenu::m_title_y' is not initialized in the constructor.
src/ui_fsmenu/main_menu.cc:22: (warning) Member variable 'FullscreenMenuMainMenu::m_padding' is not initialized in the constructor.
src/ui_fsmenu/suggested_teams_box.cc:31: (warning) Member variable 'SuggestedTeamsBox::m_lineup_box' is not initialized in the constructor.
src/wui/vector.h:42: (performance) Parameter 'other' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/wui/vector.h:47: (performance) Parameter 'other' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/wui/overlay_manager.cc:29: (warning) Member variable 'OverlayManager::m_buildhelp_infos' is not initialized in the constructor.
src/wui/overlay_manager.cc:109: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/wui/overlay_manager.cc:112: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/wui/overlay_manager.cc:120: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
src/wui/overlay_manager.h:122: (performance) Parameter 'c' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
src/graphic/gl/utils.cc:78: (style) The function '_handle_glerror' is never used.
src/ui_basic/tabpanel.cc:63: (style) The function 'active' is never used.
src/editor/tools/editor_draw_tool.cc:30: (style) The function 'add_action' is never used.
src/logic/road_textures.cc:36: (style) The function 'add_busy_road_texture' is never used.
src/logic/world/world.cc:97: (style) The function 'add_critter_type' is never used.
src/logic/world/world.cc:117: (style) The function 'add_editor_immovable_category' is never used.
src/logic/world/world.cc:109: (style) The function 'add_editor_terrain_category' is never used.
src/io/filesystem/layered_filesystem.cc:49: (style) The function 'add_file_system' is never used.
src/logic/world/world.cc:105: (style) The function 'add_immovable_type' is never used.
src/ui_basic/box.cc:299: (style) The function 'add_inf_space' is never used.
src/logic/road_textures.cc:32: (style) The function 'add_normal_road_texture' is never used.
src/logic/world/world.cc:89: (style) The function 'add_resource_type' is never used.
src/sound/songset.cc:52: (style) The function 'add_song' is never used.
src/economy/supply_list.cc:31: (style) The function 'add_supply' is never used.
src/logic/world/world.cc:93: (style) The function 'add_terrain_type' is never used.
src/graphic/text/rt_parse.cc:86: (style) The function 'attrs' is never used.
src/economy/test/test_routing.cc:54: (style) The function 'base_flag' is never used.
src/graphic/surface.cc:177: (style) The function 'blit_blended' is never used.
src/graphic/surface.cc:158: (style) The function 'blit_monochrome' is never used.
src/wui/mapviewpixelfunctions.cc:84: (style) The function 'calc_pix_difference' is never used.
src/graphic/graphic.cc:176: (style) The function 'change_resolution' is never used.
src/io/dedicated_log.cc:107: (style) The function 'chat_add_spacer' is never used.
src/graphic/text/rt_parse.cc:90: (style) The function 'childs' is never used.
src/io/filesystem/filesystem.cc:368: (style) The function 'create' is never used.
src/wui/game_chat_menu.cc:52: (style) The function 'create_chat_console' is never used.
src/map_io/one_world_legacy_lookup_table.cc:390: (style) The function 'create_one_world_legacy_lookup_table' is never used.
src/wui/game_chat_menu.cc:60: (style) The function 'create_script_console' is never used.
src/graphic/texture_cache.cc:133: (style) The function 'create_texture_cache' is never used.
src/ui_basic/unique_window.cc:43: (style) The function 'destroy' is never used.
src/logic/world/world.cc:121: (style) The function 'editor_immovable_categories' is never used.
src/logic/world/world.cc:113: (style) The function 'editor_terrain_categories' is never used.
src/network/network.cc:32: (style) The function 'execute' is never used.
src/network/network.cc:49: (style) The function 'fastforward' is never used.
src/logic/findimmovable.cc:34: (style) The function 'find_immovable_always_true' is never used.
src/io/filesystem/filesystem.cc:105: (style) The function 'fix_cross_file' is never used.
src/io/dedicated_log.cc:150: (style) The function 'game_end' is never used.
src/io/dedicated_log.cc:137: (style) The function 'game_start' is never used.
src/network/internet_gaming.cc:715: (style) The function 'games' is never used.
src/base/time_string.cc:180: (style) The function 'gametimestring' is never used.
src/wui/overlay_manager.cc:306: (style) The function 'get_a_job_id' is never used.
src/logic/backtrace.cc:30: (style) The function 'get_backtrace' is never used.
src/logic/walkingdir.cc:64: (style) The function 'get_backward_dir' is never used.
src/logic/world/world.cc:142: (style) The function 'get_bob' is never used.
src/logic/world/world.cc:146: (style) The function 'get_bob_descr' is never used.
src/logic/walkingdir.cc:45: (style) The function 'get_ccw_neighbour' is never used.
src/wui/debugconsole.cc:119: (style) The function 'get_chat_provider' is never used.
src/graphic/text/rt_parse.cc:58: (style) The function 'get_color' is never used.
src/logic/walkingdir.cc:25: (style) The function 'get_cw_neighbour' is never used.
src/io/filewrite.cc:83: (style) The function 'get_data' is never used.
src/graphic/font_handler.cc:125: (style) The function 'get_fontheight' is never used.
src/sound/fxset.cc:63: (style) The function 'get_fx' is never used.
src/ui_fsmenu/netsetup_lan.cc:136: (style) The function 'get_host_address' is never used.
src/logic/world/world.cc:166: (style) The function 'get_immovable_descr' is never used.
src/logic/world/world.cc:158: (style) The function 'get_immovable_index' is never used.
src/base/i18n.cc:318: (style) The function 'get_locale' is never used.
src/ui_fsmenu/campaign_select.cc:374: (style) The function 'get_map' is never used.
src/ui_basic/multilineeditbox.cc:182: (style) The function 'get_maximum_bytes' is never used.
src/logic/world/world.cc:154: (style) The function 'get_nr_bobs' is never used.
src/logic/world/world.cc:162: (style) The function 'get_nr_immovables' is never used.
src/logic/world/world.cc:179: (style) The function 'get_nr_resources' is never used.
src/graphic/texture.cc:221: (style) The function 'get_pixels' is never used.
src/ui_fsmenu/netsetup_lan.cc:162: (style) The function 'get_playername' is never used.
src/io/fileread.cc:67: (style) The function 'get_pos' is never used.
src/wui/unique_window_handler.cc:22: (style) The function 'get_registry' is never used.
src/graphic/graphic.cc:201: (style) The function 'get_render_target' is never used.
src/map_io/coords_profile.cc:73: (style) The function 'get_safe_coords' is never used.
src/sound/songset.cc:63: (style) The function 'get_song' is never used.
src/ui_basic/scrollbar.cc:89: (style) The function 'get_steps' is never used.
src/logic/world/world.cc:137: (style) The function 'get_ter' is never used.
src/ui_basic/multilineeditbox.cc:125: (style) The function 'get_text' is never used.
src/economy/test/test_routing.cc:56: (style) The function 'get_waitcost' is never used.
src/ui_basic/button.cc:346: (style) The function 'handle_mousemove' is never used.
src/ui_basic/button.cc:325: (style) The function 'handle_mouserelease' is never used.
src/ui_basic/scrollbar.cc:394: (style) The function 'handle_mousewheel' is never used.
src/ui_basic/multilineeditbox.cc:426: (style) The function 'handle_textinput' is never used.
src/economy/supply_list.cc:57: (style) The function 'have_supplies' is never used.
src/logic/world/world.cc:101: (style) The function 'immovables' is never used.
src/base/i18n.cc:130: (style) The function 'init_locale' is never used.
src/logic/world/world.cc:49: (style) The function 'load_graphics' is never used.
src/base/time_string.cc:88: (style) The function 'localize_month' is never used.
src/network/internet_gaming.cc:137: (style) The function 'login' is never used.
src/map_io/one_world_legacy_lookup_table.cc:46: (style) The function 'lookup_critter' is never used.
src/map_io/one_world_legacy_lookup_table.cc:51: (style) The function 'lookup_immovable' is never used.
src/map_io/one_world_legacy_lookup_table.cc:38: (style) The function 'lookup_resource' is never used.
src/map_io/one_world_legacy_lookup_table.cc:42: (style) The function 'lookup_terrain' is never used.
src/base/point.cc:22: (style) The function 'middle' is never used.
src/base/scoped_timer.cc:40: (style) The function 'ms_since_last_query' is never used.
src/graphic/graphic.cc:247: (style) The function 'need_update' is never used.
src/network/network.cc:97: (style) The function 'networktime' is never used.
src/helper.cc:43: (style) The function 'next_word' is never used.
src/logic/mapastar.cc:32: (style) The function 'pathto' is never used.
src/logic/widelands_geometry_io.cc:79: (style) The function 'read_area_48' is never used.
src/logic/widelands_geometry_io.cc:66: (style) The function 'read_coords_32_allow_null' is never used.
src/logic/widelands_geometry_io.cc:36: (style) The function 'read_direction_8_allow_null' is never used.
src/logic/widelands_geometry_io.cc:43: (style) The function 'read_map_index_32' is never used.
src/random/random.cc:122: (style) The function 'read_state' is never used.
src/graphic/graphic.cc:257: (style) The function 'refresh' is never used.
src/wui/overlay_manager.cc:298: (style) The function 'register_overlay_callback_function' is never used.
src/io/filesystem/layered_filesystem.cc:62: (style) The function 'remove_file_system' is never used.
src/wui/overlay_manager.cc:209: (style) The function 'remove_overlay' is never used.
src/wui/overlay_manager.cc:302: (style) The function 'remove_overlay_callback_function' is never used.
src/wui/overlay_manager.cc:249: (style) The function 'remove_road_overlay' is never used.
src/economy/supply_list.cc:39: (style) The function 'remove_supply' is never used.
src/logic/world/world.cc:125: (style) The function 'safe_resource_index' is never used.
src/logic/path.cc:66: (style) The function 'save' is never used.
src/graphic/graphic.cc:281: (style) The function 'save_png' is never used.
src/graphic/graphic.cc:288: (style) The function 'screenshot' is never used.
src/random/random.cc:31: (style) The function 'seed' is never used.
src/wui/debugconsole.cc:151: (style) The function 'setDefaultCommand' is never used.
src/graphic/richtext.cc:164: (style) The function 'set_background_color' is never used.
src/logic/field.cc:30: (style) The function 'set_brightness' is never used.
src/ui_fsmenu/campaign_select.cc:382: (style) The function 'set_campaign' is never used.
src/logic/campaign_visibility.cc:166: (style) The function 'set_campaign_visibility' is never used.
src/io/dedicated_log.cc:246: (style) The function 'set_chat_file_path' is never used.
src/map_io/coords_profile.cc:56: (style) The function 'set_coords' is never used.
src/ui_basic/button.cc:361: (style) The function 'set_draw_flat_background' is never used.
src/io/fileread.cc:60: (style) The function 'set_file_pos' is never used.
src/ui_basic/button.cc:357: (style) The function 'set_flat' is never used.
src/ui_basic/icon.cc:44: (style) The function 'set_frame' is never used.
src/network/internet_gaming.cc:688: (style) The function 'set_game_done' is never used.
src/io/filesystem/layered_filesystem.cc:53: (style) The function 'set_home_file_system' is never used.
src/io/dedicated_log.cc:275: (style) The function 'set_info_file_path' is never used.
src/base/i18n.cc:158: (style) The function 'set_locale' is never used.
src/base/i18n.cc:80: (style) The function 'set_localedir' is never used.
src/io/dedicated_log.cc:301: (style) The function 'set_log_file_path' is never used.
src/network/network_lan_promotion.cc:209: (style) The function 'set_map' is never used.
src/logic/campaign_visibility.cc:184: (style) The function 'set_map_visibility' is never used.
src/ui_basic/multilineeditbox.cc:169: (style) The function 'set_maximum_bytes' is never used.
src/ui_basic/box.cc:75: (style) The function 'set_min_desired_breadth' is never used.
src/ui_basic/slider.cc:127: (style) The function 'set_min_value' is never used.
src/ui_basic/button.cc:350: (style) The function 'set_perm_pressed' is never used.
src/ui_basic/button.cc:100: (style) The function 'set_pic' is never used.
src/graphic/texture.cc:244: (style) The function 'set_pixel' is never used.
src/ui_basic/box.cc:60: (style) The function 'set_scrolling' is never used.
src/io/dedicated_log.cc:118: (style) The function 'set_server_data' is never used.
src/io/dedicated_log.cc:128: (style) The function 'set_server_ip' is never used.
src/ui_basic/button.cc:116: (style) The function 'set_title' is never used.
src/ui_fsmenu/suggested_teams_box.cc:75: (style) The function 'show' is never used.
src/io/streamread.cc:70: (style) The function 'signed_16' is never used.
src/io/streamread.cc:58: (style) The function 'signed_8' is never used.
src/helper.cc:32: (style) The function 'split_string' is never used.
src/logic/warelist.cc:95: (style) The function 'stock' is never used.
src/ui_basic/tabpanel.cc:196: (style) The function 'tabs' is never used.
src/logic/world/world.cc:133: (style) The function 'terrain_descr' is never used.
src/graphic/text/textstream.cc:120: (style) The function 'till_any_or_end' is never used.
src/base/time_string.cc:35: (style) The function 'timestring' is never used.
src/ui_basic/unique_window.cc:52: (style) The function 'toggle' is never used.
src/logic/path.cc:165: (style) The function 'trim_start' is never used.
src/logic/path.cc:153: (style) The function 'truncate' is never used.
src/network/internet_gaming.cc:723: (style) The function 'update_for_clients' is never used.
src/network/internet_gaming.cc:706: (style) The function 'update_for_games' is never used.
src/logic/widelands_geometry_io.cc:103: (style) The function 'write_area_48' is never used.
src/logic/widelands_geometry_io.cc:91: (style) The function 'write_direction_8_allow_null' is never used.
src/random/random.cc:134: (style) The function 'write_state' is never used.
(information) Cppcheck cannot find all the include files. Cppcheck can check the code without the include files found. But the results will probably be more accurate if all the include files are found. Please check your project's include directories and add all of them as include directories for Cppcheck. To see what files Cppcheck cannot find use --check-config.