From e7b4a38e69d5c95ac036f5ed93371aa119caf4da Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sat, 24 Jan 2015 22:40:58 -0600 Subject: [PATCH] Remove redundant MySQL error message in ClearAllRaidLeaders --- common/database.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/common/database.cpp b/common/database.cpp index 4cdcc2d91..a73ad4938 100644 --- a/common/database.cpp +++ b/common/database.cpp @@ -3556,11 +3556,7 @@ void Database::SetRaidGroupLeaderInfo(uint32 gid, uint32 rid) void Database::ClearAllRaidLeaders(void) { std::string query("DELETE from raid_leaders"); - auto results = QueryDatabase(query); - - if (!results.Success()) - std::cout << "Unable to clear raid leaders: " << results.ErrorMessage() << std::endl; - + QueryDatabase(query); return; }