aboutsummaryrefslogtreecommitdiffstats
path: root/core/helpers.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-04-28 09:02:37 -0700
committerChris Robinson <[email protected]>2021-05-13 01:44:06 -0700
commitbab6e929801e5f620c624430ec1ac6213e265995 (patch)
treea3b1683877f95d16c63a3bcab06bf0f91be98015 /core/helpers.cpp
parent6aff0715a100ebabb5811615888519482575d090 (diff)
Avoid shadowing a variable name
Diffstat (limited to 'core/helpers.cpp')
-rw-r--r--core/helpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers.cpp b/core/helpers.cpp
index 94219544..dcb785c9 100644
--- a/core/helpers.cpp
+++ b/core/helpers.cpp
@@ -437,9 +437,9 @@ void SetRTPriority()
if(dbus::ConnectionPtr conn{(*pdbus_bus_get)(DBUS_BUS_SYSTEM, &error.get())})
{
using ulonglong = unsigned long long;
- auto limit_rttime = [](DBusConnection *conn) -> int
+ auto limit_rttime = [](DBusConnection *c) -> int
{
- long long maxrttime{rtkit_get_rttime_usec_max(conn)};
+ long long maxrttime{rtkit_get_rttime_usec_max(c)};
if(maxrttime <= 0) return static_cast<int>(std::abs(maxrttime));
const ulonglong umaxtime{static_cast<ulonglong>(maxrttime)};