Skip to content

Commit

Permalink
get rid of unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell committed Dec 20, 2024
1 parent 1bdfcd0 commit af25843
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/clzones.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<zone_options> &options,
bool silent, map *pmap )

Check failure on line 1465 in src/clzones.cpp

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

unused parameter 'silent' [-Werror,-Wunused-parameter]

Check failure on line 1465 in src/clzones.cpp

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

unused parameter 'pmap' [-Werror,-Wunused-parameter]

Check failure on line 1465 in src/clzones.cpp

View workflow job for this annotation

GitHub Actions / build (src)

unused parameter 'silent' [clang-diagnostic-unused-parameter,-warnings-as-errors]

Check failure on line 1465 in src/clzones.cpp

View workflow job for this annotation

GitHub Actions / build (src)

parameter 'silent' is unused [misc-unused-parameters,-warnings-as-errors]

Check failure on line 1465 in src/clzones.cpp

View workflow job for this annotation

GitHub Actions / build (src)

unused parameter 'pmap' [clang-diagnostic-unused-parameter,-warnings-as-errors]

Check failure on line 1465 in src/clzones.cpp

View workflow job for this annotation

GitHub Actions / build (src)

parameter 'pmap' is unused [misc-unused-parameters,-warnings-as-errors]
{
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
Expand Down

0 comments on commit af25843

Please sign in to comment.