From 30894f250a7b6027ab4f3295e24d07dc7250c22c Mon Sep 17 00:00:00 2001 From: Pavel Solodovnikov Date: Thu, 21 Mar 2024 19:52:45 +0300 Subject: [PATCH] netplay: make `upnp_status` variable static It's not used outside of `netplay.cpp`, so can be made `static`. Signed-off-by: Pavel Solodovnikov --- lib/netplay/netplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netplay/netplay.cpp b/lib/netplay/netplay.cpp index ba8f64ba208..ffd732fc9b3 100644 --- a/lib/netplay/netplay.cpp +++ b/lib/netplay/netplay.cpp @@ -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 {