diff options
author | Abhi Beckert <abhi@abhibeckert.com> | 2016-04-10 14:13:33 +1000 |
---|---|---|
committer | Abhi Beckert <abhi@abhibeckert.com> | 2016-04-10 14:13:33 +1000 |
commit | 099ea061262413118f81cf9e3aff30bd2b568597 (patch) | |
tree | f7d0a49c6e00eb48b38603269bb9aaa24181fcdf /Source | |
parent | b7875e8fdbdc5980c12a847997cc9631979dd4d3 (diff) | |
download | sequelpro-099ea061262413118f81cf9e3aff30bd2b568597.tar.gz sequelpro-099ea061262413118f81cf9e3aff30bd2b568597.tar.bz2 sequelpro-099ea061262413118f81cf9e3aff30bd2b568597.zip |
fix warnings
Diffstat (limited to 'Source')
-rw-r--r-- | Source/BGHUDButtonCell.m | 4 | ||||
-rw-r--r-- | Source/SPTreeNode.m | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Source/BGHUDButtonCell.m b/Source/BGHUDButtonCell.m index fac1dc4a..01881805 100644 --- a/Source/BGHUDButtonCell.m +++ b/Source/BGHUDButtonCell.m @@ -928,6 +928,10 @@ case NSImageOverlaps: break; + + case NSNoImage: + + break; } // Create Rounded Rect Path diff --git a/Source/SPTreeNode.m b/Source/SPTreeNode.m index f6d419d8..90ef0832 100644 --- a/Source/SPTreeNode.m +++ b/Source/SPTreeNode.m @@ -295,7 +295,10 @@ static NSString *SPTreeNodeIsGroupKey = @"SPTreeNodeIsGroup"; - (id)initWithCoder:(NSCoder *)coder { -#warning This is not a valid initializer. + if (!(self = [super init])) { + return nil; + } + [self setIsGroup:[[coder decodeObjectForKey:SPTreeNodeIsGroupKey] boolValue]]; return self; |