aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2014-12-13 02:45:23 +0100
committerMax <post@wickenrode.com>2014-12-13 02:45:23 +0100
commit33fd38501be11213968536a0c540cee7061e42a9 (patch)
treede83a5713f16922c5431ed46dad245eae1336500
parent00d1e5aee581ff413ded538a470ade2073bb6a43 (diff)
downloadsequelpro-33fd38501be11213968536a0c540cee7061e42a9.tar.gz
sequelpro-33fd38501be11213968536a0c540cee7061e42a9.tar.bz2
sequelpro-33fd38501be11213968536a0c540cee7061e42a9.zip
Mark issue for s.o. to look at
-rw-r--r--Source/SPTableContentDelegate.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPTableContentDelegate.m b/Source/SPTableContentDelegate.m
index f6b933f7..2f78a120 100644
--- a/Source/SPTableContentDelegate.m
+++ b/Source/SPTableContentDelegate.m
@@ -367,10 +367,11 @@
else {
tmp = [tableContentView draggedRowsAsTabString];
}
-
+
+#warning code inside "if" is unreachable
if (!tmp && [tmp length])
{
- [pboard declareTypes:[NSArray arrayWithObjects: NSTabularTextPboardType, NSStringPboardType, nil] owner:nil];
+ [pboard declareTypes:@[NSTabularTextPboardType, NSStringPboardType] owner:nil];
[pboard setString:tmp forType:NSStringPboardType];
[pboard setString:tmp forType:NSTabularTextPboardType];