remove compiler warnings
This commit is contained in:
parent
b3c3157354
commit
4abbbd9f84
1 changed files with 24 additions and 22 deletions
|
@ -3113,6 +3113,7 @@ void BlackboxWindow::beginResize(int x_root, int y_root, Corner dir) {
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assert(false); // unhandled Corner
|
assert(false); // unhandled Corner
|
||||||
|
return; // unreachable, for the compiler
|
||||||
}
|
}
|
||||||
|
|
||||||
XGrabServer(blackbox->getXDisplay());
|
XGrabServer(blackbox->getXDisplay());
|
||||||
|
@ -3174,6 +3175,7 @@ void BlackboxWindow::doResize(int x_root, int y_root) {
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assert(false); // unhandled Corner
|
assert(false); // unhandled Corner
|
||||||
|
return; // unreachable, for the compiler
|
||||||
}
|
}
|
||||||
|
|
||||||
constrain(anchor, &gw, &gh);
|
constrain(anchor, &gw, &gh);
|
||||||
|
|
Loading…
Reference in a new issue