Skip to content

Commit

Permalink
fix clang 9 from CleverRaven#73400
Browse files Browse the repository at this point in the history
  • Loading branch information
Brambor committed May 3, 2024
1 parent d3b1698 commit a2ed405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8598,10 +8598,10 @@ game::vmenu_ret game::list_items( const std::vector<map_item_stack> &item_list )
col = iter->example->color_in_inventory();
}
bool print_new = highlight_unread_items;
const std::string *new_str;
const std::string *new_str = nullptr;
// 1 make space between item description and right padding (distance)
int new_width = 1;
const nc_color *new_col;
const nc_color *new_col = nullptr;
if( print_new ) {
switch( check_items_newness( iter->example ) ) {
case content_newness::NEW:
Expand Down

0 comments on commit a2ed405

Please sign in to comment.