Skip to content

Commit

Permalink
netplay: make upnp_status variable static
Browse files Browse the repository at this point in the history
It's not used outside of `netplay.cpp`, so can be made `static`.

Signed-off-by: Pavel Solodovnikov <[email protected]>
  • Loading branch information
ManManson authored and past-due committed Mar 26, 2024
1 parent 63f29d8 commit 492a222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/netplay/netplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ SYNC_COUNTER sync_counter; // keeps track on how well we are in sync
// ////////////////////////////////////////////////////////////////////////
// Types

std::atomic_int upnp_status;
static std::atomic_int upnp_status;

struct Statistic
{
Expand Down

0 comments on commit 492a222

Please sign in to comment.