From bb290f9fecc48d407c2bc75a64b0e8a94bc3aeba Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 28 Dec 2021 22:30:12 +0100 Subject: Fix more warnings and remove dead code --- src/ui/UserProfile.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ui/UserProfile.cpp') diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp index 72b1d8e6..6179ba01 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp @@ -175,8 +175,6 @@ UserProfile::refreshDevices() void UserProfile::fetchDeviceList(const QString &userID) { - auto localUser = utils::localUser(); - if (!cache::client() || !cache::client()->isDatabaseReady()) return; -- cgit 1.5.1