* Source/NSSplitView.m: In mouseDown: initialize p and op to

NSZeroPoint to prevent compiler warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30475 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2010-05-29 15:52:29 +00:00
parent 513ebb1947
commit 8f800dd3ed
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-05-29 12:00-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSSplitView.m: In mouseDown: initialize p and op to
NSZeroPoint to prevent compiler warning.
2010-05-29 11:35-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSBitmapImageRep+PNG.m: Reverting change which removed

View file

@ -402,7 +402,8 @@ static NSNotificationCenter *nc = nil;
- (void) mouseDown: (NSEvent*)theEvent
{
NSApplication *app = [NSApplication sharedApplication];
NSPoint p, op;
NSPoint p = NSZeroPoint,
op = NSZeroPoint;
NSEvent *e;
NSRect r, r1, bigRect, vis;
id v = nil, prev = nil;