Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
osuphobia committed Jun 8, 2024
1 parent cb9bf5e commit ce5bb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/magic_enchantment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ void enchant_cache::serialize( JsonOut &jsout ) const

jsout.member( "prof_boost" );
jsout.start_array();
for( const proficiency_category prof_cat : proficiency_category::get_all() ) {
for( const proficiency_category &prof_cat : proficiency_category::get_all() ) {

Check failure on line 630 in src/magic_enchantment.cpp

View workflow job for this annotation

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

unused variable 'prof_cat' [-Werror,-Wunused-variable]
proficiency_category_id prof_cat_id;
jsout.start_object();
jsout.member( "value", prof_cat_id );
Expand Down

0 comments on commit ce5bb7f

Please sign in to comment.