From e35b3bdd0a74464e4b4d3b931ca416f0c7864ba6 Mon Sep 17 00:00:00 2001 From: Blue Sans Douze Date: Tue, 22 Mar 2011 20:48:52 +0100 Subject: Fix a warning on serverdialog --- src/gui/serverdialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index b3311f55..cd09a50e 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -621,8 +621,7 @@ bool ServerDialog::sortByLastUsage(const ServerInfo& serv1, const ServerInfo& se if (rank2 > rank1) return false; - if (rank1 == rank2) - return ServerDialog::sortByName(serv1, serv2); + return ServerDialog::sortByName(serv1, serv2); } /** -- cgit v1.2.3-70-g09d2