From af25843d7bf4583d5ef17134ed311b1ec77f7cd2 Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Fri, 20 Dec 2024 12:17:02 +0100 Subject: [PATCH] get rid of unused variable --- src/clzones.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/clzones.cpp b/src/clzones.cpp index 90bcb1edba89e..086521830420b 100644 --- a/src/clzones.cpp +++ b/src/clzones.cpp @@ -1464,7 +1464,6 @@ void zone_manager::add( const std::string &name, const zone_type_id &type, const const tripoint_rel_ms &end, const shared_ptr_fast &options, bool silent, map *pmap ) { - map &here = pmap == nullptr ? get_map() : *pmap; zone_data new_zone = zone_data( name, type, fac, invert, enabled, start, end, options ); //Create a regular zone