mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:30:48 +00:00
reduce scope of _imageRep from ivar to local to init
This commit is contained in:
parent
f2b79365f4
commit
0b9924e094
2 changed files with 1 additions and 1 deletions
|
@ -46,6 +46,7 @@
|
|||
self = [super init];
|
||||
if (self != nil)
|
||||
{
|
||||
NSImageRep *_imageRep;
|
||||
GSDisplayServer *server = GSCurrentServer();
|
||||
NSSize size = [server iconSize];
|
||||
NSRect rect = NSMakeRect(0, 0, size.width, size.height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue