aboutsummaryrefslogtreecommitdiffstats
path: root/Source/NoodleLineNumberView.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2013-05-21 22:53:10 +0000
committerrowanbeentje <rowan@beent.je>2013-05-21 22:53:10 +0000
commit2737ac00c38513d976fda08104a5014221b0c99c (patch)
tree38829f7d5d9982b9648259cae0a269ef1640dd18 /Source/NoodleLineNumberView.m
parent9432986de1d25527b133715ab12a8dffc2c5f6b6 (diff)
downloadsequelpro-2737ac00c38513d976fda08104a5014221b0c99c.tar.gz
sequelpro-2737ac00c38513d976fda08104a5014221b0c99c.tar.bz2
sequelpro-2737ac00c38513d976fda08104a5014221b0c99c.zip
- Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to enable some more
Diffstat (limited to 'Source/NoodleLineNumberView.m')
-rw-r--r--Source/NoodleLineNumberView.m13
1 files changed, 1 insertions, 12 deletions
diff --git a/Source/NoodleLineNumberView.m b/Source/NoodleLineNumberView.m
index 007e5f0b..8307367f 100644
--- a/Source/NoodleLineNumberView.m
+++ b/Source/NoodleLineNumberView.m
@@ -79,11 +79,8 @@ typedef NSRange (*RangeOfLineIMP)(id object, SEL selector, NSRange range);
[self font], NSFontAttributeName,
[self textColor], NSForegroundColorAttributeName,
nil] retain];
-#ifndef SP_CODA
- NSSize s = [[NSString stringWithString:@"8"] sizeWithAttributes:textAttributes];
-#else
+
NSSize s = [@"8" sizeWithAttributes:textAttributes];
-#endif
maxWidthOfGlyph = s.width;
maxHeightOfGlyph = s.height;
[self updateGutterThicknessConstants];
@@ -135,11 +132,7 @@ typedef NSRange (*RangeOfLineIMP)(id object, SEL selector, NSRange range);
font, NSFontAttributeName,
[self textColor], NSForegroundColorAttributeName,
nil] retain];
-#ifndef SP_CODA
- NSSize s = [[NSString stringWithString:@"8"] sizeWithAttributes:textAttributes];
-#else
NSSize s = [@"8" sizeWithAttributes:textAttributes];
-#endif
maxWidthOfGlyph = s.width;
maxHeightOfGlyph = s.height;
[self updateGutterThicknessConstants];
@@ -165,11 +158,7 @@ typedef NSRange (*RangeOfLineIMP)(id object, SEL selector, NSRange range);
[self font], NSFontAttributeName,
textColor, NSForegroundColorAttributeName,
nil] retain];
-#ifndef SP_CODA
- NSSize s = [[NSString stringWithString:@"8"] sizeWithAttributes:textAttributes];
-#else
NSSize s = [@"8" sizeWithAttributes:textAttributes];
-#endif
maxWidthOfGlyph = s.width;
maxHeightOfGlyph = s.height;
[self updateGutterThicknessConstants];