Codechange: Use null pointer literal instead of the NULL macro
commit7c8e7c6b6e16d4a26259a676db32d8776b99817e
authorHenry Wilson <m3henry@googlemail.com>
Wed, 10 Apr 2019 21:07:06 +0000 (10 22:07 +0100)
committerMichael Lutz <michi@icosahedron.de>
Wed, 10 Apr 2019 21:22:20 +0000 (10 23:22 +0200)
tree99f134b7e66367cf11e10bc5061896eab4a3264f
parent3b4f224c0bc50e7248050d4bcbb6d83fd510c1cc
Codechange: Use null pointer literal instead of the NULL macro
463 files changed:
src/ai/ai_config.cpp
src/ai/ai_core.cpp
src/ai/ai_gui.cpp
src/ai/ai_info.cpp
src/ai/ai_info.hpp
src/ai/ai_instance.cpp
src/ai/ai_scanner.cpp
src/ai/ai_scanner.hpp
src/aircraft_cmd.cpp
src/aircraft_gui.cpp
src/airport.cpp
src/airport_gui.cpp
src/articulated_vehicles.cpp
src/autoreplace.cpp
src/autoreplace_cmd.cpp
src/autoreplace_func.h
src/base_consist.cpp
src/base_consist.h
src/base_media_base.h
src/base_media_func.h
src/base_station_base.h
src/blitter/32bpp_anim.cpp
src/blitter/32bpp_anim.hpp
src/blitter/8bpp_optimized.cpp
src/blitter/factory.hpp
src/blitter/null.hpp
src/bmp.cpp
src/bootstrap_gui.cpp
src/bridge_gui.cpp
src/build_vehicle_gui.cpp
src/cargoaction.cpp
src/cargopacket.cpp
src/cargopacket.h
src/cargotype.h
src/cheat_gui.cpp
src/clear_cmd.cpp
src/command.cpp
src/command_func.h
src/command_type.h
src/company_base.h
src/company_cmd.cpp
src/company_gui.cpp
src/console.cpp
src/console_cmds.cpp
src/console_gui.cpp
src/console_internal.h
src/core/alloc_func.hpp
src/core/alloc_type.hpp
src/core/kdtree.hpp
src/core/mem_func.hpp
src/core/pool_func.hpp
src/core/pool_type.hpp
src/core/smallmatrix_type.hpp
src/core/sort_func.hpp
src/crashlog.cpp
src/crashlog.h
src/date_gui.cpp
src/debug.cpp
src/dedicated.cpp
src/depend/depend.cpp
src/depot_cmd.cpp
src/depot_gui.cpp
src/disaster_vehicle.cpp
src/dock_gui.cpp
src/driver.cpp
src/driver.h
src/economy.cpp
src/effectvehicle.cpp
src/elrail.cpp
src/engine.cpp
src/engine_base.h
src/error.h
src/error_gui.cpp
src/fileio.cpp
src/fileio_func.h
src/fios.cpp
src/fios.h
src/fios_gui.cpp
src/fontcache.cpp
src/fontcache.h
src/fontdetection.cpp
src/game/game_config.cpp
src/game/game_core.cpp
src/game/game_info.cpp
src/game/game_info.hpp
src/game/game_instance.cpp
src/game/game_scanner.cpp
src/game/game_scanner.hpp
src/game/game_text.cpp
src/game/game_text.hpp
src/gamelog.cpp
src/genworld.cpp
src/genworld.h
src/genworld_gui.cpp
src/gfx.cpp
src/gfx_func.h
src/gfx_layout.cpp
src/gfx_layout.h
src/gfxinit.cpp
src/goal.cpp
src/goal_base.h
src/goal_gui.cpp
src/graph_gui.cpp
src/ground_vehicle.cpp
src/ground_vehicle.hpp
src/group_cmd.cpp
src/group_gui.cpp
src/heightmap.cpp
src/highscore.cpp
src/highscore_gui.cpp
src/hotkeys.cpp
src/hotkeys.h
src/industry_cmd.cpp
src/industry_gui.cpp
src/ini.cpp
src/ini_load.cpp
src/ini_type.h
src/intro_gui.cpp
src/landscape.cpp
src/landscape.h
src/linkgraph/linkgraph_gui.cpp
src/linkgraph/linkgraphjob.cpp
src/linkgraph/linkgraphjob.h
src/linkgraph/mcf.cpp
src/linkgraph/refresh.cpp
src/main_gui.cpp
src/map.cpp
src/misc/binaryheap.hpp
src/misc/blob.hpp
src/misc/countedptr.hpp
src/misc/dbg_helpers.h
src/misc/fixedsizearray.hpp
src/misc/getoptdata.cpp
src/misc/getoptdata.h
src/misc/hashtable.hpp
src/misc_cmd.cpp
src/misc_gui.cpp
src/mixer.cpp
src/music.cpp
src/music/allegro_m.cpp
src/music/bemidi.cpp
src/music/cocoa_m.cpp
src/music/dmusic.cpp
src/music/extmidi.cpp
src/music/fluidsynth.cpp
src/music/midifile.cpp
src/music/null_m.h
src/music/os2_m.cpp
src/music/qtmidi.cpp
src/music/win32_m.cpp
src/network/core/address.cpp
src/network/core/address.h
src/network/core/host.cpp
src/network/core/packet.cpp
src/network/core/tcp.cpp
src/network/core/tcp.h
src/network/core/tcp_admin.cpp
src/network/core/tcp_connect.cpp
src/network/core/tcp_content.cpp
src/network/core/tcp_game.cpp
src/network/core/tcp_game.h
src/network/core/tcp_http.cpp
src/network/core/tcp_http.h
src/network/core/tcp_listen.h
src/network/core/udp.cpp
src/network/core/udp.h
src/network/network.cpp
src/network/network_admin.cpp
src/network/network_chat_gui.cpp
src/network/network_client.cpp
src/network/network_command.cpp
src/network/network_content.cpp
src/network/network_content.h
src/network/network_content_gui.cpp
src/network/network_func.h
src/network/network_gamelist.cpp
src/network/network_gui.cpp
src/network/network_internal.h
src/network/network_server.cpp
src/network/network_udp.cpp
src/newgrf.cpp
src/newgrf_airport.cpp
src/newgrf_airporttiles.cpp
src/newgrf_airporttiles.h
src/newgrf_animation_base.h
src/newgrf_canal.cpp
src/newgrf_cargo.cpp
src/newgrf_class_func.h
src/newgrf_commons.cpp
src/newgrf_commons.h
src/newgrf_config.cpp
src/newgrf_config.h
src/newgrf_debug_gui.cpp
src/newgrf_engine.cpp
src/newgrf_engine.h
src/newgrf_generic.cpp
src/newgrf_gui.cpp
src/newgrf_house.cpp
src/newgrf_industries.cpp
src/newgrf_industries.h
src/newgrf_industrytiles.cpp
src/newgrf_object.cpp
src/newgrf_object.h
src/newgrf_railtype.cpp
src/newgrf_railtype.h
src/newgrf_sound.cpp
src/newgrf_spritegroup.cpp
src/newgrf_spritegroup.h
src/newgrf_station.cpp
src/newgrf_station.h
src/newgrf_storage.h
src/newgrf_text.cpp
src/newgrf_text.h
src/newgrf_town.cpp
src/newgrf_townname.cpp
src/news_func.h
src/news_gui.cpp
src/news_type.h
src/object.h
src/object_cmd.cpp
src/object_gui.cpp
src/openttd.cpp
src/order_backup.cpp
src/order_base.h
src/order_cmd.cpp
src/order_gui.cpp
src/os/macosx/crashlog_osx.cpp
src/os/macosx/splash.cpp
src/os/macosx/string_osx.cpp
src/os/os2/os2.cpp
src/os/unix/crashlog_unix.cpp
src/os/unix/unix.cpp
src/os/windows/crashlog_win.cpp
src/os/windows/string_uniscribe.cpp
src/os/windows/win32.cpp
src/osk_gui.cpp
src/pathfinder/follow_track.hpp
src/pathfinder/npf/aystar.cpp
src/pathfinder/npf/npf.cpp
src/pathfinder/npf/queue.cpp
src/pathfinder/pf_performance_timer.hpp
src/pathfinder/yapf/nodelist.hpp
src/pathfinder/yapf/yapf_base.hpp
src/pathfinder/yapf/yapf_common.hpp
src/pathfinder/yapf/yapf_costcache.hpp
src/pathfinder/yapf/yapf_costrail.hpp
src/pathfinder/yapf/yapf_node.hpp
src/pathfinder/yapf/yapf_node_rail.hpp
src/pathfinder/yapf/yapf_rail.cpp
src/pathfinder/yapf/yapf_road.cpp
src/pathfinder/yapf/yapf_ship.cpp
src/pbs.cpp
src/pbs.h
src/querystring_gui.h
src/rail.h
src/rail_cmd.cpp
src/rail_gui.cpp
src/road.cpp
src/road_cmd.cpp
src/road_gui.cpp
src/roadstop.cpp
src/roadveh.h
src/roadveh_cmd.cpp
src/roadveh_gui.cpp
src/safeguards.h
src/saveload/afterload.cpp
src/saveload/ai_sl.cpp
src/saveload/airport_sl.cpp
src/saveload/animated_tile_sl.cpp
src/saveload/autoreplace_sl.cpp
src/saveload/cargomonitor_sl.cpp
src/saveload/cargopacket_sl.cpp
src/saveload/cheat_sl.cpp
src/saveload/company_sl.cpp
src/saveload/depot_sl.cpp
src/saveload/economy_sl.cpp
src/saveload/engine_sl.cpp
src/saveload/game_sl.cpp
src/saveload/gamelog_sl.cpp
src/saveload/goal_sl.cpp
src/saveload/group_sl.cpp
src/saveload/industry_sl.cpp
src/saveload/labelmaps_sl.cpp
src/saveload/linkgraph_sl.cpp
src/saveload/map_sl.cpp
src/saveload/misc_sl.cpp
src/saveload/newgrf_sl.cpp
src/saveload/object_sl.cpp
src/saveload/oldloader.cpp
src/saveload/oldloader.h
src/saveload/oldloader_sl.cpp
src/saveload/order_sl.cpp
src/saveload/saveload.cpp
src/saveload/saveload.h
src/saveload/saveload_filter.h
src/saveload/signs_sl.cpp
src/saveload/station_sl.cpp
src/saveload/storage_sl.cpp
src/saveload/story_sl.cpp
src/saveload/strings_sl.cpp
src/saveload/subsidy_sl.cpp
src/saveload/town_sl.cpp
src/saveload/vehicle_sl.cpp
src/saveload/waypoint_sl.cpp
src/screenshot.cpp
src/script/api/script_basestation.cpp
src/script/api/script_basestation.hpp
src/script/api/script_bridge.cpp
src/script/api/script_cargo.cpp
src/script/api/script_client.cpp
src/script/api/script_company.cpp
src/script/api/script_company.hpp
src/script/api/script_controller.cpp
src/script/api/script_engine.cpp
src/script/api/script_error.hpp
src/script/api/script_event.cpp
src/script/api/script_event_types.cpp
src/script/api/script_gamesettings.cpp
src/script/api/script_goal.cpp
src/script/api/script_goal.hpp
src/script/api/script_group.cpp
src/script/api/script_group.hpp
src/script/api/script_industry.cpp
src/script/api/script_industrytype.cpp
src/script/api/script_list.cpp
src/script/api/script_list.hpp
src/script/api/script_log.cpp
src/script/api/script_marine.cpp
src/script/api/script_news.cpp
src/script/api/script_news.hpp
src/script/api/script_object.cpp
src/script/api/script_object.hpp
src/script/api/script_order.cpp
src/script/api/script_rail.cpp
src/script/api/script_road.cpp
src/script/api/script_sign.cpp
src/script/api/script_sign.hpp
src/script/api/script_station.cpp
src/script/api/script_stationlist.cpp
src/script/api/script_story_page.cpp
src/script/api/script_story_page.hpp
src/script/api/script_text.cpp
src/script/api/script_text.hpp
src/script/api/script_tile.cpp
src/script/api/script_town.cpp
src/script/api/script_town.hpp
src/script/api/script_tunnel.cpp
src/script/api/script_vehicle.cpp
src/script/api/script_vehicle.hpp
src/script/api/script_vehiclelist.cpp
src/script/api/script_waypoint.cpp
src/script/api/script_waypointlist.cpp
src/script/api/script_window.cpp
src/script/script_config.cpp
src/script/script_config.hpp
src/script/script_info.cpp
src/script/script_info.hpp
src/script/script_info_dummy.cpp
src/script/script_instance.cpp
src/script/script_instance.hpp
src/script/script_scanner.cpp
src/script/script_scanner.hpp
src/script/script_storage.hpp
src/script/squirrel.cpp
src/script/squirrel.hpp
src/script/squirrel_class.hpp
src/script/squirrel_helper.hpp
src/script/squirrel_std.cpp
src/settings.cpp
src/settings_gui.cpp
src/settingsgen/settingsgen.cpp
src/ship_cmd.cpp
src/signal.cpp
src/signs_cmd.cpp
src/signs_gui.cpp
src/smallmap_gui.cpp
src/sortlist_type.h
src/sound.cpp
src/sound/allegro_s.cpp
src/sound/cocoa_s.cpp
src/sound/null_s.h
src/sound/sdl_s.cpp
src/sound/win32_s.cpp
src/sound/xaudio2_s.cpp
src/sprite.cpp
src/spritecache.cpp
src/spritecache.h
src/station.cpp
src/station_cmd.cpp
src/station_func.h
src/station_gui.cpp
src/statusbar_gui.cpp
src/story.cpp
src/story_base.h
src/story_gui.cpp
src/strgen/strgen.cpp
src/strgen/strgen.h
src/strgen/strgen_base.cpp
src/string.cpp
src/string_func.h
src/stringfilter.cpp
src/stringfilter_type.h
src/strings.cpp
src/strings_func.h
src/subsidy.cpp
src/subsidy_base.h
src/table/airport_defaults.h
src/table/bridge_land.h
src/table/build_industry.h
src/table/cargo_const.h
src/table/newgrf_debug_data.h
src/table/railtypes.h
src/table/roadveh_movement.h
src/table/station_land.h
src/tar_type.h
src/terraform_cmd.cpp
src/terraform_gui.cpp
src/terraform_gui.h
src/textbuf.cpp
src/textbuf_type.h
src/textfile_gui.cpp
src/tgp.cpp
src/thread.h
src/tile_cmd.h
src/tile_map.cpp
src/tile_map.h
src/tilematrix_type.hpp
src/timetable_cmd.cpp
src/timetable_gui.cpp
src/toolbar_gui.cpp
src/town.h
src/town_cmd.cpp
src/town_gui.cpp
src/townname.cpp
src/townname_func.h
src/train.h
src/train_cmd.cpp
src/train_gui.cpp
src/tree_cmd.cpp
src/tunnelbridge_cmd.cpp
src/vehicle.cpp
src/vehicle_base.h
src/vehicle_cmd.cpp
src/vehicle_func.h
src/vehicle_gui.cpp
src/vehiclelist.cpp
src/video/allegro_v.cpp
src/video/dedicated_v.cpp
src/video/null_v.cpp
src/video/sdl_v.cpp
src/video/win32_v.cpp
src/viewport.cpp
src/viewport_func.h
src/viewport_gui.cpp
src/void_cmd.cpp
src/water_cmd.cpp
src/waypoint_cmd.cpp
src/waypoint_gui.cpp
src/widget.cpp
src/widget_type.h
src/widgets/dropdown.cpp
src/window.cpp
src/window_gui.h