Skip to content

Commit

Permalink
Split variable declaration to separate lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg committed May 31, 2019
1 parent ede5e42 commit 5ad0d42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/invlet_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ static void invlet_test( player &dummy, const inventory_location from, const inv
// assign invlet to the second item
assign_invlet( dummy, item_at( dummy, 0, to ), invlet, second_invlet_state );

item *final_first = nullptr, *final_second = nullptr;
item *final_first = nullptr;
item *final_second = nullptr;
switch( action ) {
case REMOVE_1ST_REMOVE_2ND_ADD_1ST_ADD_2ND:
move_item( dummy, 0, to, from );
Expand Down

0 comments on commit 5ad0d42

Please sign in to comment.