From 6d94e02868b654eaa194a15420cece282222279c Mon Sep 17 00:00:00 2001 From: Nicky Date: Thu, 10 Feb 2022 22:03:56 +0100 Subject: [PATCH] Rewmove some unused variables. --- indra/newview/llappviewerlinux.cpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/indra/newview/llappviewerlinux.cpp b/indra/newview/llappviewerlinux.cpp index 5bdfa0725e..16a181d002 100644 --- a/indra/newview/llappviewerlinux.cpp +++ b/indra/newview/llappviewerlinux.cpp @@ -247,14 +247,14 @@ void viewerappapi_init(ViewerAppAPI *server) gBusNodeInfo = g_dbus_node_info_new_for_xml (DBUS_SERVER, NULL); g_assert (gBusNodeInfo != NULL); - auto owner_id = g_bus_own_name(G_BUS_TYPE_SESSION, - VIEWERAPI_SERVICE, - G_BUS_NAME_OWNER_FLAGS_NONE, - busAcquired, - nameAcquired, - nameLost, - NULL, - NULL); + g_bus_own_name(G_BUS_TYPE_SESSION, + VIEWERAPI_SERVICE, + G_BUS_NAME_OWNER_FLAGS_NONE, + busAcquired, + nameAcquired, + nameLost, + NULL, + NULL); } @@ -272,8 +272,6 @@ bool LLAppViewerLinux::initSLURLHandler() //virtual bool LLAppViewerLinux::sendURLToOtherInstance(const std::string& url) { - bool success = false; - auto *pBus = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, nullptr); if( !pBus )