Remove unused variables

This commit is contained in:
Twinaphex 2021-01-17 00:12:29 +01:00
parent 93b1fbbcdc
commit f6833cf595

View File

@ -200,7 +200,7 @@ void *glkitview_init(void);
- (void)viewWillLayoutSubviews
{
float width = 0.0f, height = 0.0f, tenpctw, tenpcth;
float width = 0.0f, height = 0.0f;
RAScreen *screen = (BRIDGE RAScreen*)get_chosen_screen();
UIInterfaceOrientation orientation = self.interfaceOrientation;
CGRect screenSize = [screen bounds];
@ -222,9 +222,6 @@ void *glkitview_init(void);
: CGRectGetWidth(screenSize);
}
tenpctw = width / 10.0f;
tenpcth = height / 10.0f;
[self adjustViewFrameForSafeArea];
}