From 761a00170b4a511e4dd615a208da1ee93a6b1a1e Mon Sep 17 00:00:00 2001 From: sqlprodev Date: Tue, 1 Mar 2011 19:38:23 +0000 Subject: fixed compiler warnings --- Source/SPGeometryDataView.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/SPGeometryDataView.m') diff --git a/Source/SPGeometryDataView.m b/Source/SPGeometryDataView.m index 10cf5b4a..d68bb57b 100644 --- a/Source/SPGeometryDataView.m +++ b/Source/SPGeometryDataView.m @@ -79,9 +79,8 @@ x_min*=zoom_factor; y_min*=zoom_factor; - if ( self = [super initWithFrame:NSMakeRect(0,0,width+margin_offset*2,height+margin_offset*2)] ) + if ( (self = [super initWithFrame:NSMakeRect(0,0,width+margin_offset*2,height+margin_offset*2)]) ) { - ; } lineColor = [NSColor blackColor]; @@ -263,7 +262,6 @@ { if(!type || ![type length] || !coordinates || ![coordinates count]) return nil; - NSSize mySize = self.bounds.size; NSRect myBounds = [self bounds]; return [self dataWithPDFInsideRect:myBounds]; -- cgit v1.2.3