GRAPHICS: Initialize potentially uninitialized variables

This commit is contained in:
Filippos Karapetis 2019-05-27 14:52:37 +03:00
parent 80f773c915
commit 7346b69d88

View file

@ -190,7 +190,7 @@ void MacTextWindow::drawSelection() {
end = MIN((int)getInnerDimensions().height(), end);
int numLines = 0;
int x1, x2;
int x1 = 0, x2 = 0;
for (int y = start; y < end; y++) {
if (!numLines) {