--warning: Remove unused local variable

This commit is contained in:
Aleix Pol 2022-03-28 03:42:04 +02:00 committed by Vlad Zahorodnii
parent e293972eaa
commit fd1dd4f915

View file

@ -2495,7 +2495,6 @@ QPoint Workspace::adjustClientPosition(AbstractClient *c, QPoint pos, bool unres
const int snapX = borderSnapZone.width() * snapAdjust; // snap trigger
const int snapY = borderSnapZone.height() * snapAdjust;
if (snapX || snapY) {
QRect geo = c->frameGeometry();
if ((sOWO ? (cx < xmin) : true) && (qAbs(xmin - cx) < snapX)) {
deltaX = xmin - cx;
nx = xmin;