From a9732d3ad6115ad7d590e819631dfbd764d13d3e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Apr 2013 21:01:35 +0300 Subject: remove useless checks. --- src/gui/socialwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/socialwindow.cpp') diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index 10eb2596e..3c65358ea 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -876,7 +876,7 @@ public: if (!ava) break; - if (ava && ava->getX() == x && ava->getY() == y) + if (ava->getX() == x && ava->getY() == y) { delete ava; avatars->erase(i); -- cgit v1.2.3-70-g09d2